Intruder Alert System
> Exec_Summary
> Transmission_Logic
Ultrasonic sensors detect proximity by measuring the time it takes for a transmitted signal to reflect off an object and return, calculating the distance based on the speed of sound. The module consists of a transmitter, a receiver, and a control circuit.
The system works by transmitting eight 40kHz pulses and monitoring for a reflection. In the circuit, the microcontroller directly drives the ultrasonic transmitter.
> Receive_Chain_&_Amplification
The receiver's output must be carefully conditioned. The signal is isolated and amplified using an LM324 op-amp configured with an inverted gain of 9. This output passes through a bandpass filter to isolate the target 40kHz frequency. Finally, it is amplified once more with an inverted gain of ~16, yielding a theoretical total system gain of ~144.