0

Breathing LED Bike – iNecklace for a Motorcycle!

breathingmotorcycleheadlight

Breathing LED motorcycle headlight via Hackaday:

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.

Here’s a little video introduction to the iNecklace— The default pattern is reverse engineered from the Apple “breathing” LED on Macs, MacBooks, iMacs, etc.


Join 4,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

Learn “How Computers Work” with Bill Gates, Ladyada and more – From Code.org !

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Pololu’s New Machines

Wearables — Mystical elements

Electronics — Disable unused channels!

Biohacking — Two Blood Meters to Start Your Biohacking Adventure

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.