Post Top Ad

Thursday, November 30, 2023

on video Amazing Sound Activated switch Using LM386


 Amazing Sound Activated switch Using LM386

The LM555 generates an electronic horn signal which is amplified by an LM386. The tone and volume of the horn can be easily varied. The horn can be used in a car, scooter, cycle, and motorbike.


Don't forget to Subscribe for more projects: YouTube


PCB Design Contest: The Circuit and PCB were designed using Autodesk Eagle. The schematic and board layout files can be found in Steps 5 & 6 respectively.

The 555 is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. For stable operation as an oscillator, the free running frequency and duty cycle are accurately controlled with two external resistors and one capacitor. The circuit may be triggered and reset on falling waveforms, and the output circuit can source or sink up to 200mA or drive TTL circuits.

The LM386 is a power amplifier designed for use in low voltage consumer applications. The gain is internally set to 20 to keep external part count low, but the addition of an external resistor and capacitor between pins 1 and 8 will increase the gain to any value from 20 to 200.


The inputs are ground referenced while the output automatically biases to one-half the supply voltage.

An LM555 is used to generate the horn signal. The LM555 is connected such that it will trigger itself and free run as an stable multivibrator. The external capacitor charges through Ra+Rb and discharges through Rb. Thus the duty cycle may be precisely set by the ratio of these two resistors.


In this mode of operation, the capacitor charges and discharges between 1/3 VCC and 2/3 VCC. Hence the charge and discharge times, and therefore the frequency is independent of the supply voltage.


A momentary switch acts as an input trigger that enables the stable multivibrator to generate a signal of variable frequency. This signal is then sent to an amplification unit before it is played through a speaker. The frequency and volume of the horn sound can be varied as shown.

A potentiometer R3 (Rb) is varied in order to change the frequency of the signal generated by the LM555. The signal is then passed to the LM386 for amplification.


The input signal is passed through another potentiometer R4 before it reaches the LM386. This pot is used to change the amplitude (volume) of the input signal before amplification.


The LM386 has a 10uF capacitor and 10K potentiometer R5 connected between pins 1 and 8.


By varying this pot, we can change the gain of the amplifier and thus the volume of the amplified signal.


A push-button/ momentary switch is used to turn on the circuit thereby producing a loud horn sound.


Capacitors connected across the supply terminals are used to minimize any noise signals.

Place and solder all the components onto the PCB. Double-check components with polarities. Lastly, solder the Power adapter and speaker to the PCB.


You can vary the tone and volume of the horn by changing the position of the potentiometers using a screwdriver.


Potentiometer R3 is varied to change the tone(frequency) of the horn. Potentiometer R4 is used to change the volume (amplifier gain) of the horn

Are you an engineer or hobbyist who has a great idea for a new feature in this project? Maybe you have a good idea for a bug fix? Feel free to grab the schematics from GitHub and tinker with it.


If you have any questions/doubts related to this project, leave them in the comments section and I will try my best to answer them.


 Amazing Sound Activated switch Using LM386

The LM555 generates an electronic horn signal which is amplified by an LM386. The tone and volume of the horn can be easily varied. The horn can be used in a car, scooter, cycle, and motorbike.


Don't forget to Subscribe for more projects: YouTube


PCB Design Contest: The Circuit and PCB were designed using Autodesk Eagle. The schematic and board layout files can be found in Steps 5 & 6 respectively.

The 555 is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. For stable operation as an oscillator, the free running frequency and duty cycle are accurately controlled with two external resistors and one capacitor. The circuit may be triggered and reset on falling waveforms, and the output circuit can source or sink up to 200mA or drive TTL circuits.

The LM386 is a power amplifier designed for use in low voltage consumer applications. The gain is internally set to 20 to keep external part count low, but the addition of an external resistor and capacitor between pins 1 and 8 will increase the gain to any value from 20 to 200.


The inputs are ground referenced while the output automatically biases to one-half the supply voltage.

An LM555 is used to generate the horn signal. The LM555 is connected such that it will trigger itself and free run as an stable multivibrator. The external capacitor charges through Ra+Rb and discharges through Rb. Thus the duty cycle may be precisely set by the ratio of these two resistors.


In this mode of operation, the capacitor charges and discharges between 1/3 VCC and 2/3 VCC. Hence the charge and discharge times, and therefore the frequency is independent of the supply voltage.


A momentary switch acts as an input trigger that enables the stable multivibrator to generate a signal of variable frequency. This signal is then sent to an amplification unit before it is played through a speaker. The frequency and volume of the horn sound can be varied as shown.

A potentiometer R3 (Rb) is varied in order to change the frequency of the signal generated by the LM555. The signal is then passed to the LM386 for amplification.


The input signal is passed through another potentiometer R4 before it reaches the LM386. This pot is used to change the amplitude (volume) of the input signal before amplification.


The LM386 has a 10uF capacitor and 10K potentiometer R5 connected between pins 1 and 8.


By varying this pot, we can change the gain of the amplifier and thus the volume of the amplified signal.


A push-button/ momentary switch is used to turn on the circuit thereby producing a loud horn sound.


Capacitors connected across the supply terminals are used to minimize any noise signals.

Place and solder all the components onto the PCB. Double-check components with polarities. Lastly, solder the Power adapter and speaker to the PCB.


You can vary the tone and volume of the horn by changing the position of the potentiometers using a screwdriver.


Potentiometer R3 is varied to change the tone(frequency) of the horn. Potentiometer R4 is used to change the volume (amplifier gain) of the horn

Are you an engineer or hobbyist who has a great idea for a new feature in this project? Maybe you have a good idea for a bug fix? Feel free to grab the schematics from GitHub and tinker with it.


If you have any questions/doubts related to this project, leave them in the comments section and I will try my best to answer them.

No comments:

Post a Comment

Post Top Ad

Pages