www.flickr.com
tres frijoles' photos More of tres frijoles' photos
You are here: tearsoffire.org > Projects Web > ElectronicsProjects > PicProjects > MiniPovToy r5 - 07 Jan 2008 - 13:15 - ChristopherPepe


Start of topic | Skip to actions

miniPOV Persistance of Vision Toy

intro

218627004_d5dec5208e.jpg

This is based off of a toy by Lady Ada. I ported her code to the 16F84A because this is the easiest chip for me to use.

  • I already have some that I sampled from Microchip.
  • The 16F84A already has an 8 pin port capable of driving the LED's
  • There is a timer that causes an interrupt at overflow
  • I'm not building 100 of them for freshmen to build as kits

results

i am happy enough with this toy. it's not very pretty and it doesn't work as well as the ones at the Discovery Store but it's good enough since i really just wanted to do a non-trivial PIC project. The image i created is the Boston Engineering logo which i chose for it's lateral symmetry. this means the same image is drawn whether i wave the wand to the left or right. I tried doing 'Boston Engineering' but it was too long to read and the words were written backwards on the back-stroke (i wave the wand wildly back and forth). hardware

POV Wand:

218627007_2f462f23ca.jpg

like i said it's not much to look at. I am using my BetaPicDevelopmentBoard with a POV module. All of this is fancy talk for I hacked some things together with perf board and some Cat5 cable. The POV Wand is made from eight LED's soldered to a strip of perf board. All the ground leads are soldered together and connect to the ground header on the development board.

pov-head-wiring.jpg

I used a Cat 5 cable for the data lines because I have tons of it and i needed eight wires in a bundle. Furthermore the cable provides some mechanical support for the flimsy perf board.

218627003_927cff9878.jpg

In the picture you can see the line of LED's on the far right. If you squint and tilt your head a bit you can almost make out the POV Wand (don't forget to hold your breathe). If you are really clever you will realize the POV image is upside-down too.

software

Like I said I ported the code to the 16f84a. While it may have required some knowledge of the chip and assembly it really wasn't that hard. you can look at the assembly code here: bec-logo-pov.asm and if the hex file here.

-- ChristopherPepe - 17 Mar 2006

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r5 < r4 < r3 < r2 < r1 | More topic actions
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding tearsoffire.org? Send feedback