|
Agreed! Yes, the microcontroller can do much more, but when you only need a pulse that goes on and off at a relatively stable rate, and you're not tying other devices to it, why waste the time programming and buying expensive parts for a circuit that, in my case, is gonna be stuffed into a box on the back of my bike?
The way I see it is this: If it can be done cheaply and relatively easily by a simple circuit, do so. If it will either be too costly or too difficult to do so with simpler, cheaper components, step to the microcontrollers.
My brake light circuit will consist of a 6v battery pack (rechargeable, of course), a set of wires going to both brakes wired in Parallel (either handle squeezed, lights go on), and the returns from both the positive side of the battery and the negative leads from the switches go to the LED's.
My turn signal kit consists of 2 boards (premade by a company but assembled as a solder practice kit by me) using a 555 timer each to pulse 2 LED's. I intend to separate the LED's that are on the board currently from the system, and replace them both with wires to either the signal in back, or a status indicator on the handlebars (so I remember to toggle my switch to neutral)
Power will be supplied by a 9 volt battery pack (again, rechargeable) to the 3 position center off switch, through there, and light the 555 boards. The neutral wire, again, will go straight from battery to boards.
I've thought it all out, just got to do it.
Oh, and before someone freaks about me not using resistors, they're factored in on the timer boards because they're already installed. As for the brake lights, I'll make sure to add some 220 Ohm resistors on the hot side.
|