If you have been on the look out for a project that combines, RGB LED's, a motor, a microcontroller and a ridiculous amount of hot melt glue, then you have certainly come to the right place.
Allow me to introduce the 'One Chip' Spinning RGB POV Display
This project allows you to create (with minimal components) a fantastic customizable display capable of displaying graphics, animations and text. You can scroll your graphics from top to bottom or use it as a scrolling message display, scrolling from right to left.
The project uses just one chip, eight RGB LED's and a handful of other components to paint animations in 'mid-air!' Plus, together with the included graphic conversion software (download link in step 2) you can easily create your own animations because the software creates all the code for you.
So please, read on and enjoy!
Remove these ads by
Signing UpStep 1: Get your required parts and tools.
Before we set out on this venture, you will need both the components and tools.
Parts List:
1x PIC 18f4680 microcontroller
1 x 40 pin IC socket (optional - to house the microcontroller)
8 x Common cathode RGB LED's
24 x 100 ohm resistors (any wattage)
1 x 0.1 uF capacitor (optional)
2 x 100 uF capacitors
1 x 7805 (5 Volt Regulator)
2 x 10k ohm resistors
1 x hall effect sensor / hall effect switch
1 x 5 pin header (to plug in the pickit2 programmer)
1 x small rare earth magnet (to be used with the sensor)
1 x screw in type mains wiring terminator (See last photo - you get these from a hardware store)
1 x 12v motor
1 x motor (any motor that you can destroy for parts - I.E. the graphite brushes)
1 x 12v powersupply (for the motor)
1 x 7.5 volt power supply (for the POV display - can be upto about 18v)
1 x (5.5cm x 5.5cm blank pcb - aka blank copper clad) - this will be used to transfer power to the display
Holt Melt Glue Sticks
Solder
Veroboard / experimenters board
Thin enamel wire (see pic)
Standard single core wire (Like they use in network cable)
Tools:
- Soldering Iron
- Screw Driver
- hot melt glue gun
- Stanley knife
- side cutters
- pliers
- pickit2 programmer
- desoldering tool (solder sucker or solder braid - just in case!)
- computer running windows
- swordfish basic compiler (this is a free download - it compiles the code for the microcontroller)
- POV Image Converter (Software that I have made, download link is included in the instructable)
Now that you have all of that, let's get into the construction.























































Visit Our Store »
Go Pro Today »




1. Does the "In" pin take in voltage directly from the power supply and the "out" then go to all the VCC? and
2. Does the board need to be cut between each pin? It looks like on the schematic that it does NOT need to be cut between each pin that the middle ground somehow makes sure the higher voltage doesn't pass to the otherside?
Please help! I think I may have the rest figured out for now. Got one more week before I have to tie it into the rest of my project and present! You're awesome thanks!!
1) the IN pin connects directly to the +ve connection of the power supply coming in. The GND pin goes to the -ve connection of the power supply coming in. You then have 5v coming out which becomes your Vcc connection. Ground is common to both input and output.
2) the veroboard I have used (otherwise known as strip board) has tracks connected in rows but each track is not connected to the other. so you just need to make sure that you cut the tracks so that the top and bottom legs of the microcontroller aren't touching each other. and also that each side of the resistor aren't touching each other. Have a good look at the progressive photo's to see where the cuts are. Hope it all comes together for you nicely!
I can't find it in your schematic (I'm quite new in electronics) plz help :)
Thanks
QUESTION: what can be an alternative replacement for a hall sensor, (very difficult to purchase it from my country)
2. How to balanced the whole thing, MINE keeps vibrating as if there's an earthquake a top on my table?
3.If i finally make it work 100%, can i repost the whole thing of course linking to your site to my own BLOG.
and
4. thank you very much for this wonderful creation.
It is hard to balance, I just tied some string the the center of it and hung it upside down. I then applied some hot melt glue to it until it was balancing perfectly :)
You can feel free to post it anywhere you like!
I have practically no idea how you made the original text on the POV software "instructables and spark fun present microcontroller project" image..
what other software possible to use for the scroll right to left...
thanks in advance
My software will output code that is designed for Swordfish basic (which only supports 18f microcontrollers)
i love what you made and i trying to make one the same.
I faced a problem with POV converter software it hangs when i try to convert to hex.
Kindly guide if there is another software to do the same job.
Oh i looked at the microchip data sheet and found the pins matched with your schematic :)
THank you so much you have helped me a bunch, you really don't know how much you are helping.
Glad I could help :)
Thank you so much :)
Then, I will modify the included software so that the user can select between common anode or common cathode LED's
All I need to do is modify the code so that it inverts the data just before sending to the LED's
As for the hall effect sensor - it is a simple little device that switches from a high to a low state on the output when it senses magnetism. I use it so that the display will always start drawing each frame from exactly the same location each time. I.E. it will start drawing when the hall effect sensor passes over the magnet.
Just check the image for details.
When you XOR a binary number with a logic 1, it inverts that digit. since there are eight binary digit per byte that we wend out, we need to invert all eight.
I get how this project works except i have come down to two problems. First the hall effect sensor you have shown has 4 pins and most have three, is that going to be a problem if i get one with three like the link below? I noticed it just doesn't have the enoble part, is that a problem?
http://www.taydaelectronics.com/a1302-continuous-time-ratiometric-linear-hall-effect-sensor-ic.html
Also, I can't find this terminator anywhere near locally, or online. I know i have asked about this already but is it possible you could mail it to me and i could pay. That is if you have access to them. I have looked at other options such as couplings, could these work?
Thx so much
http://www.lowes.com/pd_36523-12704-770144L_4294722554__?productId=3128701&Ns=p_product_qty_sales_dollar|1&pl=1¤tURL=%3FNs%3Dp_product_qty_sales_dollar%7C1&facetInfo=
hola ante todo muy bueno ¡¡ es justo lo que estuve buscando durante mucho tiempo. yo consigo el 18f4685 es igual pero con mas memoria no? genio mil gracias
I have built the model but facing some problems,
1. whatever the image i give it is displaying as mirror images !
2.text scrolling is from left to right.
3.Scrolling of text is very slow , even when i set animation speed to 1
Also which motor u have used ??? what is its rpm ???
Please help !!!
1. Your motor is spinning backwards
2. Your motor is spinning backwards
3. To speed it up (faster than animation speed 1) you will need to run the microcontroller at a faster clock speed) At the moment I am only running it at 8Mhz - if you changed the code slightly so that it ran at 32Mhz, it would scroll four times as fast.
where do you find this screw terminator thing? It is just used to connect to the shaft of the motor right? I seriously can't find it anywhere, a link would be appreciated.
thx :)
If you go to a hardware store and look in the electrical section (with all the wiring, light switches, mains sockets etc...) you should be able to find them their.
Or, print out the image of one on my instructable and show it to a worker at the hardware.
You're right, I used it to connect the shaft of the motor to the PCB.
Hope that helps.
Is the microcontroller PIC18F4680-E/P, PIC18F4680-H/P or PIC18F4680-I/P
Can you please post a link where I can buy the chip and programmer?
I want to buy the right tools :) Thank you very much.
http://www.microchipdirect.com/productdetails.aspx?mid=10&catalog=buymicrochip&category=PIC18F4680
You just need to make sure you get a PDIP version (which is the big one I have used)
You can get the pickit 2 programmer here: This programmer does pretty much any pic microcontroller.
http://www.microchipdirect.com/ProductSearch.aspx?keywords=PG164120
"The 'One Chip Spinning RGB POV Display' with conversion software." given in your site
m trying this project so pls do help