LED Bike Light Circuit Project

21,898

LED Bike Light Project
LED Bike Light Project

A front wheel with a built-in dynamo was purchased, providing a sine wave output of 30 Vpp at no load. Based on this, a simple power supply was designed using BD911 transistors, which are somewhat oversized for the application, but were readily available. A smaller transistor could also suffice. The power supply is linked to an astable multivibrator that alternately activates the front and rear lights. The frequency is set by the RC time-constant of R3 and C3, as well as R2 and C4, calculated using the formula: t = R3 * C3 = 20 * 10^3 * 10^(-6) = 0.2 s. A common value of 22k can be used for R2 and R3 without significant impact. A small prototyping board hosts six LEDs with a series voltage dropping resistor for each pair. This PCB is utilized for both front and rear lights, employing white LEDs for the front and red for the rear. The main circuit PCB is mounted under the seat for protection and has functioned reliably for over a year. Future revisions may include an on/off switch, and utilizing SMD components could allow for mounting closer to the front light, simplifying wiring, as the current setup requires a long cable from the dynamo to the seat and then to the lights.

The circuit operates by converting the alternating current generated by the dynamo into a usable voltage for powering LEDs. The BD911 transistors serve as the main switching elements in the power supply circuit, allowing for efficient control of the LED lighting system. The astable multivibrator configuration ensures that the lights alternate, enhancing visibility for safety while cycling. The RC timing components (R2, R3, C3, and C4) are critical in determining the blink rate of the LEDs, which can be adjusted by modifying the resistor or capacitor values.

The prototyping board design includes six LEDs arranged in pairs, with each pair connected to a resistor to limit current and prevent damage to the LEDs. The choice of white LEDs for the front and red for the rear is standard practice in bicycle lighting to ensure proper visibility and compliance with safety regulations. The placement of the PCB under the seat not only protects it from environmental factors but also helps in maintaining a clean wiring layout.

For future iterations, the addition of an on/off switch would enhance usability, allowing the user to control the lighting system more conveniently. Transitioning to surface-mount devices (SMD) could significantly reduce the size of the circuit, allowing for more flexible placement options and reducing the amount of wiring needed, which could improve the overall reliability and aesthetics of the installation.First I bought another front wheel, one which has a dynamo already built in the hub. This supplied a nice sine wave of 30 Vpp (at no load). With this knowledge I designed a simple power supply. The transistors that are used are type BD911. These are a bit of an over-kill, but there were plenty of these at my school, so that is why I used them. Something a little smaller will also work. The power supply is connected to an astable multi-vibrator. This alternately drives the front light and the rear light. The frequency is determined by the RC time-constant of R3 and C3, and R2 and C4. This time can be calculated with the formula: t = R3G—C3 = 20G—103G—10G—10-6 = 0. 2 s You can use a 22k (common value) for R2 and R3, that doesn`t make much difference. On a small piece of prototyping board are six LEDs with a voltage dropping resistor in series with each pair of LEDs. Such a PCB is used for both the front and the rear of the bike. Of course, you use white LEDs for the front and red ones for the rear. The PCB with the main circuit is mounted under the seat, where it is safe and has been working for more than a year now.

There are a few things I would change for the next revision. An on/off switch would be nice. And if the whole circuit was built with SMD parts it could be mounted near the front light. This would also be more convenient when routing the wiring. Now the cable from the dynamo goes all the way to the seat and from there to the front and rear lights. 🔗 External reference