Adding The Apple ‘breathing LED’ To A Motorcycle

[spiralbrain] has a beautiful KTM Duke 200 motorcycle, but he’s found the factory configuration is a little bit plain. Wanting to add his own unique touch to his bike, he decided to add a ‘breathing LED’ to the parking light that slowly changes its brightness much like the LED on recent Macs.

From the factory, [spiralbrain]’s bike uses extremely inefficient (and somewhat ugly) T10 lamps for the parking light. This was changed over to a 12 Volt white SMD light bulb, but what really makes this build special is the way [spiralbrain] is controlling this lamp.

[spiralbrain] added a very tiny circuit consisting of an 8-pin microcontroller (a PIC12F683) that slowly dims the new SMD light bulb using the built-in PWM module. When the bike is taken out of neutral, the microcontroller stops at the highest PWM setting so the ‘breathing’ LED function is only engaged when not moving.

It’s an interesting mod that’s sure to draw some attention when [spiralbrain] is showing off his bike. As a bonus, the mod is completely reversible, so the bike’s warranty is still good.

32 thoughts on “Adding The Apple ‘breathing LED’ To A Motorcycle

    1. Apple patented a breathing LED that has the same same repeat rate and fading function as a resting human’s breathing.

      IAMA an engineer who had to rip off the Apple breathing LED for the indicator LED on an iPod dock. So you know what I did? made it a little faster…

    1. Your comment does have a little merit but it also seems a bit asinine. Most of these hacks are not just for “showing off”(nothing wrong with that either). It is having an idea no matter how trivial and the need to just build it and share with the community.
      I enjoy just tinkering with all my consumer goods and making them truly mine. Hey, if it does somehow get you laid then definitely nothing wrong with that too.

      1. I agree, I could have been more gentle.

        But I can not stand people who want to mod their motorbike to make it looks “cooler” by hacking into the safety organs, or adding gizmo that gives little infos and distract them from the road (gear indicator anyone?).
        You want a cool bike, you add a wicked paint job or modify the cowling design.
        But when it comes to being seen by careless drivers, your life can depend on a light being too dim…

    2. You’re right about being more gentle about a comment (I should proof read more). In all fairness though the hacker did mention it only functions while parked. I agree about safety of others especially myself.

  1. Besides being in violation of the breathing of apple this mod is also in violation of US Federal Law.

    Just a tip…

    Title 49 – Transportation

    (c) A motorcycle headlamp may be wired to allow either its upper beam or its lower beam, but not both, to modulate from a higher intensity to a lower intensity in accordance with section S5.6;

    (d) All other lamps shall be wired to be steady-burning.

    Additionally see
    “240 40 cycles per minute”

    Code of Federal Regulations
    Title 49, Volume 5, Parts 400 to 999
    Revised as of October 1, 2000
    From the U.S. Government Printing Office via GPO Access [CITE: 49CFR571.108] [Page 236-307]

    1. A violation?
      Vehicle and traffic regulations (usually) make sense since it’s about safety but it’s sad to hear that not only is the US patent office a joke, it also takes away peoples ability of critical thinking.

      1. The affect is……It is against the law and patent infringement. That in itself should be enough of a deterrent. If it isn’t here is something else to chew on. A light that flashes often gets left on. (See old people and turn signals) What happens if he forgets to switch it off and rides down the road distracting other drivers? Please understand I like the hack but it is illegal.

      2. “When the bike is taken out of neutral, the microcontroller stops at the highest PWM setting…” — Nothing to forget — The light brightens to full brightness when the motorcycle is in gear. Guess some people missed that part.

    2. I highly doubt this violates Apple’s patents: the “breathing” effect by itself isn’t covered by the patent — it’s also the rate, intensity, color, etc. Furthermore, I highly doubt Apple cares, so long as he doesn’t sell it (motorcycle headlights aren’t a threat to profits or brand image.)

      In regards to the law: who cares? This device isn’t creating a hazard — so it follows the spirit of the law, if not the word.

    1. I wish they’d get off their butts and put the Freeride 350 for sale in the US. It’s EXACTLY what I’ve been waiting for (if it’s street legal here, that is, otherwise, pfffffffffftt.)

  2. He could just have exchanged it with me.

    My 82 Honda does not need a battery for much besides the headlight and spark, so the battery is negligible and the alternator gives out all the juice.

    That means, full headlight when moving, and totally random pattern when idle :)

    1. That’s what my last Italian bike did too…I even got a ticket for driving at night without a headlight, and there was no way to turn the headlight off. I brought the wiring diagram to court along with proof the bike was under a year old and got it dropped to defective equipment…the best description that bike ever had other than “p**sy magnet”

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.