I was recently attempting to upgrade the parking light on my KTM Duke 200, so I bought a pair of T10 led lamps. These lamps are a cluster of SMD white LED’s. They are designed to operate on 12v to are a direct replacement for inefficient T10 lamps.
However this is still very normal. Throwing in a microcontroller will make it a lot more appealing. The Idea is to make a breathing lamp like they put on laptops and gadgets these days. The light starts ‘breathing’ when the bike is in neutral and returns to full intensity while it is in gear.
The circuit is powered from the same line as the existing lamp, what is does is that it Pulse width modulates the ground supply to the LED lamp cluster, sweeps the PWM but stops at the highest intensity when the bike is removed from neutral gear. The neutral position is detected using the line that activates the Neutral light on the cluster.
The program is coded in C and is just 59 instructions, an under-kill for a powerful microcontroller. This is because the 12F683 microcontroller has an on board PWM module.There are various examples of a breathing light on the internet, this is however the simplest possible breathing light.
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Alibaba to invest $15b in tech, set up research labs around the world
Wearables — Special servo movement
Electronics — Trigger happy oscilloscope?
Biohacking — Biohacking: Visioneer – AI Glasses to Assist the Visually Impaired
No comments yet.
Sorry, the comment form is closed at this time.