Question 1

Your friend needs some help from you for creating a circuit without the use of any micro-controllers (can use simple ICs and basic electronic components).

Method 1

Possible steps

  1. Find a way to measure distance using HC-SR04 sensor from it datasheet
  2. make a circuit that can replicate the process without using a micro-controller like Arduino

Actual Step

  1. Make a triggering circtuit that will trigger the HC-SR04
  1. Make a Mono-Stable Multi-Vibrator using SE555 timer

    Requirements

Astable Multi-Vibrator Design

Design

Mono-Stable Multi-Vibrator Design

Requirements:
Ton=5sec

We knowT=1.1RC5=1.1RCR=51.1Clet C = 0.1µFR=45454545=45MBy choosing higher value of Clet C = 100µFR=51.1×100×106=45.454K

Differentiator -> HPF Circuit

Requirements: The HC-SR04 produces a 1.740ms pulse when the target is near 30cm

Design

We Know

R1C10.0016Tt

let C1=0.01μF

R1×0.01×1060.0016Tt

We know Tt=1.74ms

R1=0.0016×1.74×1030.01×106=278.4

Designing a Duty Cycle Detector

In this i will use the theory that capacitor will take some time to charge which can be utilized get to the Ton of a certain frequency

(1.0)Vc=Vin(1etRC)

According to Equation 1 if we take

Vc=Vin(1etRC)=5×(1e1.74×1031×103×10×106)(2.0)=0.7985155117 volts
Designing Comparator

ckt_1.png

Pasted image 20241016212724.png

Designing A Astable Multi-Vibrator