DIY Emergency Vehicle Flasher Part 3

I left off last week with a few problems. The second LED array would not go all the way off and after some troubleshooting this week I realized that the circuit was not working properly due to a faulty n-channel MOSFET. This was probably caused by the odd way I was powering up the third 555 in the circuit.

After abandoning the idea of using a small switching transistor to turn on the third 555 an idea hit me. Why not use a p-channel MOSFET? When pin 3 of the first 555 goes low I could utilize the ground signal from that pin to pull the gate of the p-channel MOSFET (Q3) to ground thus turning it on which would allow voltage to flow from the positive rail through the MOSFET to pin 8 of the third 555. I tested it out first on a breadboard and it worked fine so I added it to the schematic and installed it on the perfboard.

The operation of the circuit is as follows. All three 555s are configured as astable oscillators. The first 555 is set to cycle high for .1 to 1 second depending on the position of R2 potentiometer. The positive output from pin 3 goes to the second 555 which powers it up. It then oscillates at approximately 40 21 hz on pin 3 and feeds a positive voltage to the gate of the n-channel MOSFET (Q1) which turns it on and off rapidly thus supplying a ground to the first LED array. When pin 3 goes low on the first 555 the ground signal pulls the gate of the p-channel MOSFET (Q3) to ground and turns it on which feeds a positive voltage to the third 555. This 555 then oscillates a 40 21 hz on pin 3 and feeds a positive voltage to the gate of the second n-channel MOSFET (Q2) which turns it on and off rapidly thus supplying a ground to a second LED array. The result is an alternate rapid flashing of two LED arrays with adjustability in the rate via the R2 20K potentiometer.

This circuit could also drive other lights providing the load does not exceed the amperage rating of the n-channel MOSFETS. It could also be modified to run other devices such as relays or stepper motors. Of course, all of this could be done with a micro controller but I chose the 555 because the design and build of the circuit is a good teaching tool for those wanting to learn beginning electronics.

Below you’ll find a parts list, link to parts suppliers, a PCB layout, the schematic and the final build video.

UPDATE: See Timo’s comment below for an alternative circuit.

Keep on hackin!

Parts list:
2 – 20 ohm 1/4 watt resistors – R8, R9
7 – 1K 1/4 watt resistors – R1, R3, R4, R6, R10, R11, R13
2 – 3K 1/4 watt resistors – R5, R7
1 – 20K 1/4 watt resistor – R12
1 – 20K potentiometer – R2
3 – 0.1 uF ceramic capacitors – C1, C3, C5
2 – 1 uF 25V electrolytic capacitors – C4, C6
1 – 100 uF 25V electrolytic capacitor – C2
2 – N-channel MOSFET transistors – Q1, Q2
1 – P-channel MOSFET transistor – Q3
1 – 1N4004 rectifier diode – D1
1 – 1N4742 xener diode – D2
3 – NE555 timer dip chips – IC1, IC2, IC3
1 – SPST switch – SW1
1 – Knob for the potentiometer
1 – Perfboard or PCB
2 – LED light arrays
1 – Project enclosure
Several feet of 16 gauge two strand wire

Parts suppliers
Tayda Electronics
Allied Electronics
DigiKey
Radio Shack

PCB Layout
Adjustable speed 555 dual alternating light flasher pcb layout

ExpressPCB file
flasher pcb layout.pcb

Schematic
Adjustable speed 555 dual alternating light flasher schematic

diy 555 flasher circuit board installed

About Dino

Self taught electronics and hardware hacker.
This entry was posted in Weekly Hacks. Bookmark the permalink.

7 Responses to DIY Emergency Vehicle Flasher Part 3

  1. Simpson says:

    Amazing project. Built my own and tried following the gremlins myself. could you do us a favor and post your trace layout as well? Love the videos, Keep on hackin!

  2. exekutive says:

    Was that black&white schematic created in ExpressPCB? Looks very clean. I like it.

    In the photo of your perfboard, it looks like a few copper strands of the wire (with the clear insulation) at the bottom are wandering over to the blue resistor. Maybe it isn’t an issue, but I thought I’d point it out. Your board might benefit from some connectors.
    http://www.taydaelectronics.com/connectors-sockets/wafer-housing-crimp-terminal/serie-2500-2-54mm.html
    http://www.taydaelectronics.com/connectors-sockets/terminal-blocks/pcb-mount.html
    http://www.taydaelectronics.com/connectors-sockets/terminal-blocks/pluggable.html

  3. Timo says:

    First of all, please DON’T LEAVE THE !RESET FLOATING! 😀 It’s like driving around in a car in which you connect the battery by winding the wire around it. You have to connect it to Vcc. Even better, start and stop the 555 with the reset line and leave the Vcc of the 555 connected. That’s the correct way to start/stop a 555. This way the power supply for the IC stay’s clean. But never ever leave a reset (of !reset) pin floating!

    You use a zener diode but you can use a normal cheap 1n4148 as wel. You only use the zener effect if you connect the anode to the negative side and the kathode to the positive side. To use the zener effect you connect a zener the other way around then a normale diode. This way it’s just a diode.

    The square on top of the output without diode is because the 555 will source current to the PMOS. And the output of the 555 isn’t very stable under load. Because of the diode you force the PMOS to get all of the current needed to shut off by R13. If you want to use this schematic I would swap the PMOS with a PNP. You don’t need a bit and expensive PMOS.

    By the way, the second and third 555 oscillate at 21,5Hz, not 40Hz…

    And like I said, because of the charging the C with R1 + R2 + R3 and discharging with only R2 + R3 you don’t have 50% duty cycle. When turned up to the highest frequency, R2 = 0 and the duty cycle is 66%. I can see the difference of the two flashers on camera. That’s why I made a different circuit, the 555 with fixed 50% duty. That’s done by charging and discharging the C with the output instead of Vcc and the discharge pin.
    https://drive.google.com/file/d/0B0VTMBMOLEBdRVI4MzdBNjFVa1k/edit?usp=sharing

    I also made a alternative circuit based on Dino’s which combines the second and third 555. Because why make the same thing twice when you just use one at a time? You need a lot less components this way.
    https://drive.google.com/?tab=mo&authuser=0#folders/0B0VTMBMOLEBdak1ZZ0Y3SDVlM00
    With R1 you can change the rate at which flasher 1 and flasher 2 alternate and with R2 you change the fast flash rate of both flasher. You can use a pot + resistor and make it variable. If you use a 22k pot and a 1k8 resistor in series for R1 you can change the alternating rate between 0,3Hz and 4Hz. And for R2, if you use a 33k pot with a 33k resistor in series, you can change the flash rate between 10,9Hz and 21,9Hz. This way you have two variables!

    • Dino says:

      Thanks Timo. I made a notation above to check out your comment for this alternate circuit. 🙂

Comments are closed.