Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

AVR Light Controller for LiPo or LiIon-Powered Halogen Bike Lights

AVR Light Controller for LiPo or LiIon-Powered Halogen Bike Lights

This project is about building a power controller based on a small microcontroller, here the ATtiny45 was used. The desired output power can be achieved using Pulse-Width Modulation (PWM) of a power source LiPo battery in this case .The duty cycle of the PWM determines the amount of power sent to a load that is the halogen light.
The resulting effective power of the halogen light is calculated by integrating the applied power over time. With on/off modulation, this results in:

duty cycle = Veff2 / Vbat2

In this project, a microcontroller continuously measures the battery voltage level and calculates the duty cycle to achieve a desired output power.

Features
Beside controlling the output power, the use of a microcontroller allows for other goodies:

Smooth transition between power levels.
A remote control with a single button and an LED that can be attached for example to the strap of a bike pack.
The button on the remote allows to turn the light on. It further allows to toggle between BRIGHT and DIMMED power mode. Holding the button for a second turns the light off.
The control LED warns about low battery or when the light is not connected. Also, holding the input button when the light is off triggers the LED to show the battery voltage level.

Visit Here for more.

 

More Articles to Read

Estimating Power for ADSP-BF561 Blackfin® Processors
Estimating Power for ADSP-BF561 Blackfin® Processors
Teach Your Arduino to Switch Itself Off!
Teach Your Arduino to Switch Itself Off!
Control a tracked robot with your mind (or joystick)
Control a tracked robot with your mind (or joystick)
A 400W (1kW Peak) 100A electronic load using linear MOSFETs
A 400W (1kW Peak) 100A electronic load using linear MOSFETs
Shirt Pocket Transceiver with the Si5351 and OLED
Shirt Pocket Transceiver with the Si5351 and OLED
All metal C930e webcam
All metal C930e webcam
The Soldering Tools That Make Your Life Easier
The Soldering Tools That Make Your Life Easier
App note: Operation evaluation of ultra low ON resistance MOSFET supporting quick charge for 1 c ...
App note: Operation evaluation of ultra low ON resistance MOSFET supporting quick charge for 1 cell Lithium ion battery protection
Synthesized Sidetone
Synthesized Sidetone
App note: Application precautions: Power MOSFET application notes
App note: Application precautions: Power MOSFET application notes

Top




Shares