Creating an 8x?? RGB POV display
Posted: Sun Mar 28, 2010 1:28 pm
Hey everyone,
I am working on a RGB pov for my micro controller lab. I will be using the Pic 18f4520. This is the pic that we are working with in the lab so we have several that can be used for this project. I have a few questions about the general idea of a pov.
What is the best way to set up the timing for the led's and do you need an external clock? I was thinking that I would set up a variable speed dc motor and tune it to the timing of the led's to create the correct pixel size. I am guessing that this would be the easiest way to do this and would allow for the fastest rotation speed. To me this would give me the highest light level from the "screen".
I was also wondering what would be the best way to drive the led's? The pic has 4 8-bit ports so I could use three of them for each color of the led's. The problem lies in the fact that I think I will need to use port B for the interrupt that would trigger the start of the display. This will work out fine as I can use port A, C, & D but port A has the clock on it. Would it just be easier to drive the led's off of some latches? This would also allow for expansion of the display to 16+x?? by just adding more latches and led's.
Getting power to the device will also be a problem, as putting the batteries on the device would make it hard to turn it off. I have seen this done through an earphone jack and socket being used as a pivot point. If there is another way that someone can think to do this in an easier fashion please let me know.
After seeing several video's on the net and reading the information about the projects along with reading Brad's project about a year ago, I believe that the way that this type of display works is by having a sensor that tells the device that is at the beginning of the display. This I have seen done several ways but I think I will use an led or ir led and sensor to do this. To display something you just send the 8 bit codes to the led's one after the other in time with the motor. The larger the radius of the device the longer you can make the display.
If anyone has any further tips on how to create a project like this it would be greatly appreciated. I will be doing the project in assembler. I should not struggle with the coding on this project as much as just getting the hardware down. If you notice a mistake in my typing let me know and I will fix it.
Thanks Brad for giving me a good place to ask these questions. I also cant wait for you to finish posting your projects so I can go over how you did this project again.
I am working on a RGB pov for my micro controller lab. I will be using the Pic 18f4520. This is the pic that we are working with in the lab so we have several that can be used for this project. I have a few questions about the general idea of a pov.
What is the best way to set up the timing for the led's and do you need an external clock? I was thinking that I would set up a variable speed dc motor and tune it to the timing of the led's to create the correct pixel size. I am guessing that this would be the easiest way to do this and would allow for the fastest rotation speed. To me this would give me the highest light level from the "screen".
I was also wondering what would be the best way to drive the led's? The pic has 4 8-bit ports so I could use three of them for each color of the led's. The problem lies in the fact that I think I will need to use port B for the interrupt that would trigger the start of the display. This will work out fine as I can use port A, C, & D but port A has the clock on it. Would it just be easier to drive the led's off of some latches? This would also allow for expansion of the display to 16+x?? by just adding more latches and led's.
Getting power to the device will also be a problem, as putting the batteries on the device would make it hard to turn it off. I have seen this done through an earphone jack and socket being used as a pivot point. If there is another way that someone can think to do this in an easier fashion please let me know.
After seeing several video's on the net and reading the information about the projects along with reading Brad's project about a year ago, I believe that the way that this type of display works is by having a sensor that tells the device that is at the beginning of the display. This I have seen done several ways but I think I will use an led or ir led and sensor to do this. To display something you just send the 8 bit codes to the led's one after the other in time with the motor. The larger the radius of the device the longer you can make the display.
If anyone has any further tips on how to create a project like this it would be greatly appreciated. I will be doing the project in assembler. I should not struggle with the coding on this project as much as just getting the hardware down. If you notice a mistake in my typing let me know and I will fix it.
Thanks Brad for giving me a good place to ask these questions. I also cant wait for you to finish posting your projects so I can go over how you did this project again.