Maker Pro
Arduino

DIY Electronic Horn for a Bicycle or Car

May 15, 2019 by Electro Guruji
Share
banner

Learn step by step how you can build a bicycle horn with variable tone and volume.

Hardware

Tools

1 BP865CEU
1 24-7068-7603
1 843996-3

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

Step 1: Parts and Tools

IMG_1019.jpg

Electronic Components

  • 1x IC 555 
  • 1x IC LM386 
  • 2x IC Holder 
  • 1x 10Ω Resistor 
  • 1x 1KΩ Resistor 
  • 1x 2KΩ Resistor 
  • 3x 10KΩ Potentiometer 
  • 1x Tactile Momentary Push Buttons
  • 1x 5mm LED 
  • 1x 0.1uF Capacitor 
  • 1x 10uF Capacitor 
  • 1x 100uF Capacitor 
  • 1x 220uF Capacitor 
  • 1x 10nF Capacitor 
  • 1x 47nF Capacitor 
  • 1x 100nF Capacitor 
  • 1x Speaker 
  • 1x 9V Battery Holder 
  • 1x 9V Battery 
  • 1x PCB 

Tools

  • Soldering Iron 
  • Soldering Wire 
  • Mini PCB Hand Drill + Bits 
  • You can also Buy the PCB

Step 2: LM555 Explained

IMG_1088.jpg

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.

Step 3: LM386 Explained

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.

Step 4: Working & Calculations

BD.png

An LM555 is used to generate the horn signal. The LM555 is connected such that it will trigger itself and free run as an astable 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 astable 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.

Step 5: Circuit Schematic

Asset 2sda.png

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.

Eagle Schematic: GitHub

Step 6: PCB Fabrication

IMG_1054.jpg

I fabricated the board using the Iron Method.

I drilled four mounting holes in each corner with a diameter of 3mm.

The PCB size is 7.5cm X 5cm .

Step 7: Circuit Assembly

IMG_1162.jpg

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

Step 8: Adjust the Tone and Volume

IMG_1177.jpg

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.

Share Your Experience!

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.

Author

Avatar
Electro Guruji

Electronics | Arduino | Robotics

Related Content

Comments


You May Also Like