Warning strobe light controller for car
This car has been scrapped.
Strobe light controller, using the AVR ATtiny2313 microcontroller. Meant for cars; with front, side and rear warning lights.
On my old car, a Subaru Legacy, I built and installed warning lights on all sides. Never really used them, but it was a fun build. I had a total of 8 LED warning lights, all around the car. The lights on the side was used as side markers when not flashing. I originally used the red break light as the rear warning light, but later replaced it with two self-built warning lights.
I used self-built LED warning lights in the front and rear, while the side lights were regular side markers. When the warning lights were not flashing; the side markers lit continuously at 10% duty cycle. And then the car started the front side markers would fade in, then the rear, it looked kind of cool from the side :)
The front warning lights split the patterns between them, so alternating from side to side. While the side and rear lights flashed together. The module was originally designed to use the cars additional break light, that is why the rear output is a bit different from the rest. It has two transistors and gives out 12V, while the rest are open collector.
The signal to activate the warning lights came from another microcontroller module I built for the car; a controller for the additional headlights I installed.
- PD6 - Flash signal (Optoisolator)
- PB0 + Red light
- PB1 - Aux 1
- PB2 - Aux 2
- PB3 - Yellow light 1 (PWM)
- PB4 - Yellow light 2 (PWM)