RGBike POV - Open project

RGBike POV - Open project
RGBike POV also known as RGB POV for beginners to make at home

This i'ble is in constant update. If you're planning on doing something don't be afraid to drop a question.

I've always wanted a POV for my bicycle, specially a full colour POV capable of displaying text, images and small animations!

There are some cool POVs commercially available.
- SpokePOV from adafruit industries (and its i'ble)
- Monkeylectric's m132s
- Monkeylectric's recentely announced m464q

Unfortunately, the SpokePOV is only one colour, and the m132s, as I understand, doesn't have the ability to display images. Besides, I think these are a little too expensive for something that I will not use often.

So I though I would try to make my own with components I already had around. This way I don't have to spend any more money to try and play with a bicycle POV.

This project features:
  • 16 RGB (Red+Green+Blue) Light Emitting Diodes;
  • Arduino compatibility (Suposedely, I'll have to check that later);
  • Single layer printed circuit board, suitable for home fab;
  • All through hole componentes, suitable for beginners;
  • Hall effect sensor, for image synchronization;
  • Least number of componentes possible;
  • Unfortunately, only one side of the wheel is illuminated (check update).
  • Fits 26" wheels, I haven't had opportunity to try it in 20" and 24" wheels.

This project is also a open project. Anyone who wishes to participate is welcome. The contributions will be added to this instructable and published.

Update: I updated the board, so you can use only one board for lighting both sides of the wheel! But it won't work correctly in both sides for text...


 
Remove these adsRemove these ads by Signing Up
 

Step 1Before starting

Before starting
To follow this instructable you must already know how to:
  • Solder electronics
  • Make printed circuits boards
  • Understand basic principles of electronics
  • Know a little about microcontrollers

If you don't know any, or all, of the above, this instructable can a motivation for learning.

Tools
You'll need the basic tools to:
  • Make PCB
  • Work with and solder electronics
  • Hardware and software to program the microcontroller

Electronic Components
  • 1x ATMega328p / ATMega168 microcontroller - ~4.3$
  • 1x TLC5940 / TLC5941, 16 PWM Ouput LED driver - ~4.29$
  • 16x Superflux common cathode RGB LEDs - ~13$
  • 1x A3213 - 1.5$
  • 3x PN2222, NPN transistors - cents
  • Assorted resistors, capacitors, tact switches and connectors (check schematic and board layout) - another few cents

Rough estimate of the cost, since I'm building the circuit boards at home: ~35$

Download all the resources
Don't forget to download the schematic and board layout for Eagle CAD, and the source code for the firmware.

attention: TobyTetzi noticed that he download '.tmp' files instead of the .brd and .sch files. It also happened to me. I don't understand why.
I changed back to the original name and it seems to solve it.
« Previous StepDownload PDFView All StepsNext Step »
137 comments
1-40 of 137next »
Dec 10, 2011. 7:59 PMdconnolley says:
nice idea. way out of my range of capabilites, I thought of maybe one improvement. have some sensor like with a magnet. (just like how a speedometor works on a push bike) the whole induction loop thingy.
in order of keeping the image upright perhaps at any given speed. or to adjust image with speed.

Althought I have no idea how that would be accomplished :P
Nov 18, 2011. 9:09 AMT_T_ says:
I realize this would require another led driver, but how would someone go about making this for a 48 inch wheel?
Jul 10, 2011. 9:09 PMledartist says:
I wish you can provide the schematic in PDF or other image format.
I don't have Eagle.

Aug 16, 2011. 12:56 PMqwertyboy says:
Here you go.
rgb_pov_single.png
Aug 16, 2011. 1:23 PMledartist says:

Great! Thanks!

Aug 16, 2011. 3:57 PMqwertyboy says:
No problem
Sep 25, 2011. 5:23 PMtechxpert says:
do you have the board layout in pdf and is there a sub for A3213
Jul 26, 2011. 6:34 PMskirmish666 says:
Hey there, first of all I love the project - thanks for the hard work. I'm wondering if it is possible to modify this project to have multiple synchronised units on each wheel?
Thanks again!
Jul 25, 2011. 9:19 PMsuwarnoh says:
Dear Mr.Hazard,

I truly like to make POV as you did.
I already have AVR ATM8535. But I still don't understand the concept of using sensor in POV circuit. On your project what is the function of hall sensor and to what uC pin do feed it. Please email to: suwarnokaraba@gmail.com.

I am from Indonesia.
Jul 16, 2011. 12:19 PMdsandu says:
Mr. Hazard,
Please tell me what program you use to compose and generate color image file. Hex you register in microcontroller ATMega328p / ATMEGA168 microcontroller from RGBike POV project.
D. Sandu by comraex@yahoo.com
Thanks!
Jun 21, 2011. 9:19 AMkiler01 says:
just to ask, do i have to own the arduino board to do this project? and if yes what is the exact part that i have to have? (i mean there are a few variations of it as i presume)
May 26, 2011. 12:13 PMoaky8 says:
Im really interested in doing this, but not for a bicycle
I want to mount these to the rim of a car wheel
Would the much high RPM's of the car rim cause problems?

Im not sure if the processor and hall sensor would be able to function fast enough to properly control the LEDs when the car is doing 30 mph or faster.
Maybe some how dividing the input variable of the hall by half would give the microprocessor more breathing room?

i know little about the microprocessor, would it be capable of keeping up with a car travelling 50 - 70 mph?

thanks!
any help would be highly appreciated
May 25, 2011. 1:50 AMDAVID_A says:
did you develop the software?
May 24, 2011. 4:53 AMpuenktchen says:
Did yout start to programm a piece of software to convert normal bitmap images into the radial c-code format?
Mar 5, 2011. 12:19 PMshifty says:
Heya I think this project is great. Would you mind uploading the eagle library that contains the TLC5094? I've tried searching around the web and can't find one. Or is there some way to extract the eagle part from the .brd and .sch files? Thank you!!!

-Noah
Feb 7, 2011. 6:17 AM02JanDal says:
Two questions:

1. What are the values for R5-R7?
2. Can you use 2N2222 instead of PN2222?

JanD
Dec 28, 2010. 7:32 AMSladex says:
How to define R5-R7?
Dec 20, 2010. 3:14 PMrkt88edmo says:
Has anyone successfully built the 2-sided version yet? Going to start the project but if only the single side has been successfully assembled I'd rather go that route and try building a 2-sided version later.
Sep 17, 2010. 7:30 PMbruce323 says:
Hi Hazard & others -- When I wrote my long Aug 29 comment, I had formatted it to be much friendlier. But apparently the Instructables editor removes white-spaces etc, so now it looks like a jumbled mess. Let me know if you would like me to write it out more clearly in some way. I'm looking forward to hearing from you about any one or more of the topics I raised. -- Bruce P.
Sep 21, 2010. 11:09 PMbruce323 says:

Hello Hazard,

 

I agree with the others, good project!  It's clear that your experience extends well beyond this work, so whatever time you can spare here, I'm hoping to get your valuable input.  If it's easier, bruce323g@gmail.com, USA 541-231-1101.

 

My niece and her boyfriend are doing this to learn some electronics, and I'm helping.  This isn't 100% up-to-date but close: http://home.comcast.net/~bruce323/spokes/ .  To keep costs low and to get low-level experience, they actually hand-wired onto a 100mil plated proto board that I had available.  Lots of work, may turn out to have been a mistake, maybe next time we'll learn to do some etching at home, but anyway they're near hardware completion.

 

I'm sorry this is so long but I have the following ....(drum roll) ...

 

"TOP TEN LIST OF QUESTIONS ABOUT RGBIKE":

 

#10.  Can we eliminate the JP3 RXD/TXD connector.  Or if you used it productively, how; and is there any issue with it loading RST# at the wrong time and causing debugwire to fail. 

 

#9.  Briefly, what's the purpose for switches U$17 and U$24. 

 

#8.  For T1-3 we went with P-channel FETs, so we'll modify the code to invert drive polarity.  But do you know, when the 328P comes out of reset, are its IO's (hopefully) still tri-state, or are they driven (I hope not low) until programmed otherwise. 

 

#7.  We're using 32 LEDs and two cascaded TLC drivers but we haven't analyzed processor bandwidth .... do you know whether your 16 LED design has much bandwidth to spare, or are we almost certainly hosed? We're running ATMega328 also at 20MHz.

 

#6.  For U$18 we went with a crystal, and the external caps as shown on the schematic, but I'm nervous about mechanical, and from the .brd file it looks like you went with a resonator.  Is the resonator tolerance adequate and are you inclined to think we should change to the resonator?

 

#5.  When we bought the TLC parts, 5940's weren't available so we're using 5941's.  Two differences I remember about 5941's: a) lower current drive, we'll deal with it; b) they don't have EEPROM for dot correction.  Did you use the 5940 EEPROM for dot correction and would you expect we MIGHT see problems if we don't? Or maybe we'll make it happen with the 328P's EEPROM somehow. 

 

#4.  Do you have experience w/ how low a supply voltage your design can typically handle? (We're using 4 series NiMH's and we have more current load with our 32 LEDs). 

 

#3.  Your 16 LEDs are on 350 mil centers; our 32 LEDs (co-linear, same side of the board) are on 300 mil centers to fit the 100 mil proto board.  How did you decide on the image's "aspect ratio", so to speak -- (1) distance between the LEDs, vs (2) rotational angle for updating the array.  This may not be a clear question but if you have comments (are we hosed?), pls let us know. 

 

#2.  If we decided to go with your design as it is, would you ever consider supplying bare boards to folks like us for $$?

 

AND .......  (drum roll.... ) ...... the #1 question on the TOP TEN LIST ......... Yow, should we be paying you a consulting fee for all this?

 

Thanks for some or all answers!!!!

Oct 4, 2010. 2:09 AMbruce323 says:

Thanks very much!

About answer#2:  I understand.  We're sure not thinking of a product, we're just making one for our own use.  I was only talking about 2 or 3 bare boards, so then we could make that many, but nothing like a product.

About answer#1:  None of us in my family have ever been to Portugal, but it just so happens that my wife and son are going to Lisbon in a few weeks.  If you wanted, you could send me your contact info in a Private Message, & they might treat you!

Sep 30, 2010. 11:19 AMniwrad says:
I'm freaking out! This is awesome!
Sep 23, 2010. 2:34 PMherpelcano says:
I'm having some problems with your eagle files. It seems that several components arntt connected to ground and your board pictured board looks a little different. Can you check your files please. Thanks.
Sep 23, 2010. 11:53 PMherpelcano says:
I think I figured it out. did you use the rats nest button to make the rest of the board a ground plane. sorry im new to eagle and pcb's.
Aug 4, 2009. 7:53 PMcryptoni says:
what kind of connector is that for plugging the hall connector
Sep 23, 2010. 10:21 PMherpelcano says:
90degree male header.
Sep 10, 2010. 10:51 AMildefonso says:
Blue thingy transfer (don't remember the name) : Press-n-peel? it is basically the same as the toner transfer....
Aug 29, 2010. 2:25 PMbruce323 says:
Hello Hazard, I agree with the others, good project! It's clear that your experience extends well beyond this work, so whatever time you can spare here, I'm hoping to get your valuable input. If it's easier, bruce323g@gmail.com, USA 541-231-1101. My niece and her boyfriend are doing this to learn some electronics, and I'm helping. This isn't 100% up-to-date but close: http://home.comcast.net/~bruce323/spokes/. To keep costs low and to get low-level experience, they actually hand-wired onto a 100mil plated proto board that I had available. Lots of work, may turn out to have been a mistake, maybe next time we'll learn to do some etching at home, but anyway they're near hardware completion. I'm sorry this is so long but I have the following ....(drum roll) ... "TOP TEN LIST OF QUESTIONS ABOUT RGBIKE": #10. Can we eliminate the JP3 RXD/TXD connector. Or if you used it productively, how; and is there any issue with it loading RST# at the wrong time and causing debugwire to fail. #9. Briefly, what's the purpose for switches U$17 and U$24. #8. For T1-3 we went with P-channel FETs, so we'll modify the code to invert drive polarity. But do you know, when the 328P comes out of reset, are its IO's (hopefully) still tri-state, or are they driven (I hope not low) until programmed otherwise. #7. We're using 32 LEDs and two cascaded TLC drivers but we haven't analyzed processor bandwidth .... do you know whether your 16 LED design has much bandwidth to spare, or are we almost certainly hosed? We're running ATMega328 also at 20MHz. #6. For U$18 we went with a crystal, and the external caps as shown on the schematic, but I'm nervous about mechanical, and from the .brd file it looks like you went with a resonator. Is the resonator tolerance adequate and are you inclined to think we should change to the resonator? #5. When we bought the TLC parts, 5940's weren't available so we're using 5941's. Two differences I remember about 5941's: a) lower current drive, we'll deal with it; b) they don't have EEPROM for dot correction. Did you use the 5940 EEPROM for dot correction and would you expect we MIGHT see problems if we don't? Or maybe we'll make it happen with the 328P's EEPROM somehow. #4. Do you have experience w/ how low a supply voltage your design can typically handle? (We're using 4 series NiMH's and we have more current load with our 32 LEDs). #3. Your 16 LEDs are on 350 mil centers; our 32 LEDs (co-linear, same side of the board) are on 300 mil centers to fit the 100 mil proto board. How did you decide on the image's "aspect ratio", so to speak -- (1) distance between the LEDs, vs (2) rotational angle for updating the array. This may not be a clear question but if you have comments (are we hosed?), pls let us know. #2. If we decided to go with your design as it is, would you ever consider supplying bare boards to folks like us for $$? AND ....... (drum roll.... ) ...... the #1 question on the TOP TEN LIST ......... Yow, should we be paying you a consulting fee for all this? Thanks for some or all answers!!!!
Aug 20, 2010. 6:50 AMPierred35 says:
Hello Hazard, Good job! I working on a similar project since few weeks. Did you know the Anvii project (http://www.anvii.com/)? I'm sure we can inspirate us of their software and improve it adding some functions like colour, automatic text, .... My circuit board is more or less complet, I will begun the programation of my microcontroler in few days. I use a Microchip PIC 16F628A for the moment but I want to use later a PIC 18F2550 to be able use the USB interface and more. Good luck for the rest. I will put my projet on Internet as soon as possible, why not in my first instructable?
Jul 15, 2010. 11:58 AMkoko44 says:
If we assemble microcontroller to the pcb, how can we program the firmware?
Jun 28, 2010. 7:07 AMepsilon-minus says:
I can't seem to find the values for R5, R6 & R7. Are they 2.2k like the one you use to set the IREF on the TLC5940? I can't quite make out the colours of their banks on the photos. Nice Project BTW, I'm making one atm. Cheers, Dan
Jul 7, 2010. 5:55 AMepsilon-minus says:
I guessed 2.2k was ok for these resistors as they are just there for safety. Sadly nothing is working though still. The Atmega programs ok using your default files but no LEDS are lighting. I have checked all the soldering at it all looks good, no shorts or dry joints. Do you think the problem could be because I have made the double sided version with 16 LEDS down both sides? Do I need to change the code for this version of the hardware. I tried changing the 2.2k resistor to a 1k resistor to give more current to the extra LED's but this has made no difference. Any help or tips would be appreciated as I am starting to run out of ideas. Cheers, Dan
1-40 of 137next »

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!
51
Followers
3
Author:Hazard