3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Bike taillight with a twist

Bike taillight with a twist
«
  • 4200210653_2566014f63.jpg
  • 4171744141_7d76941ab3.jpg
  • 4171744139_6a138b7202.jpg
Let's face it. Taillights are boring.

At best they go 'blink blink - look at me! I'm blinking - woohoo' all the time. And they're always red. Very creative. We can do better than that, maybe not much, but still better than just 'blink blink'. I was riding my bike during new year celebrations and people liked it, and not all of them were drunk ;-)

The rest is pretty straight forward: 2x AA cells, boost converter for 5V, some RGB LEDs, the obligatory micro controller, custom printed circuit boards from BatchPCB, perfboard and the usual soldering gear.

 
Remove these adsRemove these ads by Signing Up
 

Step 1Main schematic

Main schematic
Really nothing special. If you know how to wire up an AVR chip on a breadboard or an Arduino on a breadboard, if you like that better, you won't have any problems with this one. I used KICAD for designing the schematic and the printed circuit boards. KICAD is open source and as opposed to eagle, which has a free (as in free of charge) version as well, there are absolutely no limitations in the size of boards you can make. You too get gerber files that work with any fab house you want. E.g. BatchPCB had no problems with them.

In the schematic you'll just find the cpu, the LEDs, a few resistors and capacitors. That's all. There's a few headers too. The boards have an ICSP header for flashing a bootloader and a 6pin header for convenient serial upload. The last 2 headers are mirrored and contain power, I2C and two more GPIO/ADC pins.

3 GPIO pins with 3 current limiting resistors are used to supply current to all 8 anodes of a single color. Individual LEDs are turned on or off using 8 GPIO pins to drive the cathodes. Depending on the type of operation the LEDs are either multiplexed (PWM for more colors) or fully on (higher brightness).

Some info on the packages I used for this board:

- ATmega168-20AU: TQFP32 SMD
- LED: PLCC6 5050 SMD
- Resistors: 0805 SMD
- Capacitors: 0805 SMD, 1206 SMD
« Previous StepDownload PDFView All StepsNext Step »
40 comments
Oct 25, 2010. 6:40 PMjexter says:

Great 'structable - thanks!

Regarding the Legal vs. Illegal debate: Car versus Car is a fair fight. Car versus Bike is not. Without drinking a drop, a large percentage of drivers currently drive "impaired" - texting, talking on cell phones, Googling movie start times on their iPhones, trying to fish a Big Mac out of a bag on the passenger seat, etc.

When I questioned a Belgian friend of mine living in New York about the massive dual headlight setup on his bike, he said "Drivers don't think about bikes, and consequently end up hitting bicyclists, because they're not perceived as dangerous. When they see me coming, I want them to believe they're looking at the landing lights of a Boeing 747.  I want them to FEAR me."

When sharing the road with cars, bicyclists NEED to be noticed to stay alive.  If the choice comes down to "living within the law" and "staying alive", I'll always choose the latter.  And if the law is forcing you to make that choice, the law needs to be changed.

Cheers.

Sep 7, 2010. 9:10 AMAnalogMan says:
>> BTW, it's the same thing as staring into rear fog lights. You get blinded as well.

Like driving with rear fog lights on isn't illegal too in every civilized country. :^)

Anyway, since you haven't updated this in ~7mo, you're either dead (bummer!) or distracted, hopefully with interesting things. But if you do get around to that next prototype, just wanted to say, we're still tagged up and lurking.

Who knows? Maybe take a pin off an AVR and interface that mag sensor from your cyclocomputer so that when the bike is moving, it makes all LEDs a boring, ISO-certified vehicle tail light red? Then instead of getting schooled on worldwide laws regarding bike lights the comments would be just about praising your geekness. (shh! keep the secret override switch wiring off the instructable.)
Feb 24, 2010. 9:34 AMWKD_Side says:
dude i've been staring at the third video for so long now i'm so mesmerized lol 
Mar 26, 2010. 7:20 AMkee gee says:
you crazy and thats stupid hard men..........
Feb 10, 2010. 5:50 PMJohnMichael says:
Tail lights are red for a variety of reasons.  one of which is the red indicates that they are tail lights.  Headlights are white.  With white tail lights  you are going to have confused drivers thinking you going opposite directions.  It will also make it difficult for drivers to see other things around you (not behind you.)  In most places white headlights and red tail lights are required by law.   If there is ever an incident between your bicycle and a car  you will probably be found at fault for having misleading lights.
Tail lights are not meant to be exiting, they are meant to be safe.  For that matter, the same could be said for anything related to driving or riding in traffic.
You have a nice set up with the lights, but you need to take legal codes into consideration.
I am also wondering how well that rides in the snow?  Have you found a way to keep it from slipping?
Jan 7, 2010. 2:01 PMricky97red says:
hey whats up im really intrested in science and building stuff but i don't have access to all of the right materials cause im just a child and i spent all my money on christmas stuff but i really like your creation and would like on ... do you know of any where i can get it with alll the settings and stuff ordered to me on the cheap?
Jan 7, 2010. 1:44 PMAlpvax says:
nice. just got a new bike for xmas as well :P
Jan 4, 2010. 12:55 PMdchall8 says:
The color issues seems to be well covered in the comments so I'll pass on that specifically. 

THIS IS GREAT!  Good job!!  I like the rotating ZOWIE look as an attention grabber.  I was sort of yawning until that came on.  Could make those counter rotating and then reversing?  Are there other patterns available? 

If you did away with the multi colors, would that simplify the electronics? 
Jan 5, 2010. 11:43 PMnybras66 says:
YEAH! This is a good regular back-light! :D I want one for my jackets and two for the shoes!!! Stunning! :D
Jan 4, 2010. 9:43 PMRob K says:
With this how could others not notice you.
Jan 4, 2010. 8:40 AMCount Drunkula says:
Leaving aside local laws, red light does less damage to the eye's ability to see in low light situations due to afterimages.  Red lights on the rear allow for visibility to other drivers without making it harder to see when they look away.  White/blue light is very powerful and is used in headlights and reverse lights so that the vehicle operator can see well.  You'll be extra visible but the driver in the car behind you will have a harder time seeing anything else until about a minute after you two part ways.
Jan 4, 2010. 8:53 AMand-reas says:
Same here, only red at the back.
However, I do know I got a lot of attention with my christmas lights: http://www.youtube.com/watch?v=_LazEwufvX4
They were shining downwards so no blinding other people. They got really distracted by it instead =p
Jan 3, 2010. 3:52 AMnybras66 says:
Here in Italy (but I thik all over Europe, whit few excetions, like France and Britain - and only God Know why...) is the same of Canada. The standard communication signals must be observed. Red is "no, stop, don't go, stay away, danger" in every corner of the world. "Hey! I'm here! Pay attention, Don't pass over this poor biker!" is a good message to be send to cars. Red color is the appropriate choice for this.
White on the front is (obviousy) to give you a better view light. Yellow color is for lateral side and direction segnalations. This color code must be respected, imho, so you can know what is the direction/condition of a far veicle, even in bad view situation. Maybe It's boring, but it's safer.
After this, every idea to catch more attention from drivers maybe a good upgrade. Blinking is a first simple step: here we have the so-called "third eye", a blink red (led) super light in the top central rear glass of the car, that pulse directly in driver's eyes on brake use.
Your light show is a wonderful work, but what if anyone do the same? The road is not a dancehall. Oh... well, ok... new year celebrations excluded. :)
Jan 3, 2010. 8:50 AMstephenniall says:
Same in the uk .

I got pulled over by the police the other week for having blue leds on my bike their reserved for goverment vehicles apparently!
Jan 5, 2010. 6:30 PMnybras66 says:
Hmmm... this could be regular, if yellow! :D
Jan 2, 2010. 4:43 PMsml156 says:
I looked up the law for bycyle lights in canada and here is what I found
62(17) - Lights
a bike must have a white front light and a red rear light or reflector if you ride between 1/2 hour before sunset and 1/2 hour after sunrise and white reflective tape on the front forks and red reflective tape on rear forks.
Jan 3, 2010. 1:21 AMits2l8men says:
in my country there's no law for bicycles a bike with no lights are ok the police won't care
 
Jan 2, 2010. 6:23 PMsml156 says:
the way I read it I think the law states you have to have either or both. On my bike I have whats called tire fyls they are led's that screw onto my tire valve stem and blinks when there is movement of the tire. they also fit on motorcycles and cars
Jan 2, 2010. 11:18 PMwupme says:
A friend of mine had his whole bike (custom build for him) painted in special a light reflection paint.
The wheels are also reflective, there's just no way for any vehicle with lights to oversee him.

But besides that, it just looks awesome by night :)
I never asked him how much that bike was tho... i dont think i want to know that anyway.
Jan 2, 2010. 3:19 PMKiteman says:
That's probably illegal in the UK, but very cool.

Nice job.
Jan 2, 2010. 11:15 PMwupme says:
 In germany they are illegal too.

You'r supposed to have a white frontlight and a red backlight. And if the backlight aint always turned on (if you got a dynamo and no "standing light") you need a backreflector too.
Oh and your suposed to have 2 reflectors in each wheel or an equal alternative (like reflecting wheels).
Battery powered light are ok, as long as they battery has enough power ;)

Only situation this would be legal is if you drive backwards but uhm.. yeah i guess its illegal to drive backwards all the time, not to mention pretty hard to do too lol
Jan 2, 2010. 3:24 PMlemonie says:
On public roads these are probably illegal most places. However, you'll have the red-only option? Nice device.

L
Jan 2, 2010. 4:06 PMlemonie says:
The cops might "have a word with you", but if you can flip them to red I'd think you'd be OK.

L
Jan 2, 2010. 3:43 PMProject_Nightmare says:
 Great project. Could you please post the Eagle files for the LED Boards?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
26
Followers
2
Author:madworm
Slightly Dorky High Nerd