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Ω=45MΩBy choosing higher value of Clet C = 100µFR=51.1×100×10−6=45.454KΩ

Differentiator -> HPF Circuit

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

Design

We Know

R1C1≤0.0016Tt

let C1=0.01μF

∴R1×0.01×10−6≤0.0016Tt

We know Tt=1.74ms

R1=0.0016×1.74×10−30.01×10−6=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(1−e−tRC)

According to Equation 1 if we take

Vc=Vin(1−e−tRC)=5×(1−e−1.74×10−31×103×10×10−6)(2.0)=0.7985155117 volts
Designing Comparator

ckt_1.png

Pasted image 20241016212724.png

Designing A Astable Multi-Vibrator