Parts list:
(1x) Arduino Uno REV 3 Radioshack #276-128
(20x) Amber Super-bright LED Indicator Radioshack #55050630
(1x) Arduino Proto Shield Radioshack #276-140
(1x) 9V Alkaline Battery Radioshack #23-866
(1x) Heavy-Duty 9V Snap Connectors Radioshack #270-324
(20x) 1/4 watt resistors (sample calculation below)
from the specs of the LEDs I used:
"Continuous forward current: 25mA"
"Forward voltage: 3V"
using the following relationship:
V(volts) = I(amps) * R(ohms)
rearranged to:
R = V / I
we can calculate the resistance as follows:
voltage across resistor = 5V - 3V = 2V
2V / 0.025A = 80ohms
I used 100 ohm resistors so that the LEDs wouldn't be operating at their maximum ratings. Check the datasheet of the LEDs you use to calculate these values.
I've attaching a fritzing document with a breadboard and schematic view of the circuit (and included them above) for reference.
pov wand.fz529 KB
Remove these ads by
Signing Up
















































Visit Our Store »
Go Pro Today »




I am a beginner arduino. Starting today you are my goddess. Your project is fantastic. Congratulations and thank you very much for sharing.
(IM sorry i couldnt reply to my post, captcha wont show!:( )
I was about to ask if this could fit on the "Atmega8" But then i saw another response from you:
"not sure, the 168 has less memory so it might not fit all the characters I've stored in there. You should try uploading it and see what happens."
Im guessing if it might not fit in the atmega168 it will definably not fit in my lil Atmega8.
Still i tried it anyways (what can i lose) and i got this
"
c:/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: FYP1LVPH0OJ0IKJ.cpp.elf section .text will not fit in region text
c:/arduino-1.0.4/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 1452 bytes "
Im using the Arduino Severino V3 (http://arduino.cc/en/Main/ArduinoBoardSerialSingleSided3) with an ATMEGA8
Any help in shrinking the code or making it fit somehow? ( I have no problems taking off a couple of leds!)
Thanks a lot
this uses 7. if you want to use my code you will have to rewrite all the matrices that hold the letter shapes so that they are only eight pixels tall instead of 20 pixels tall.
the led´s are connected like this:
Top of wand
1 Digital Pin 13
2 Digital Pin 12
3 Digital Pin 11
4 Digital Pin 10
5 Digital Pin 9
6 Digital Pin 8
7 Digital Pin 7
8 Digital Pin 6
9 Digital Pin 5
10 Digital Pin 4
11 Digital Pin 3
12 Digital Pin 2
13 Digital Pin 1
14 Digital Pin 0
15 Analog Pin 5
16 Analog Pin 4
17 Analog Pin 3
18 Analog Pin 2
19 Analog Pin 1
20 Analog Pin 0
Bottom of wand
then i plugged my usb into my nano and uploaded your firmeware without a change, and it works like a charm
a friend of mine build his pov wand today so i will upload photos of his too :)
and the accelerometer: i orderd one some weeks ago from china, and maybe i/we will try it out...
for (l=0; l<6; l++){ //for first six rows of data
data1 = data1 << 1;//bitwise shift left
data1 |= pgm_read_byte_near(letterArray + (l*12+t));//add next value from dataset
}
When changed it would be shifting to the right? I'm not sure, I can build any project put in front of me but when it comes to coding, I'm feeling my way around in the dark. I was terribly excited to figure out how to introduce new characters hahaha! I will try my hand at moving to the nano, and will let you know of my success or miserable failure soon enough. I'll put up some pictures of the build so far. I don't want to finalize it until I'm sure I can or can't add this extra functionality.
for (t=0; t<12; t++){ //for each time step
(this counts t up from 0 to 11)
to:
for (t=11; t>=0; t--){ //for each time step
(this counts t down from 11 to 0)
boolean letter(blank)[] PROGMEM = {
I'm probably doing it wrong, but short of replacing an already existing letter I've tried numbers, lower case letters, and a combination of capitalized letters to no avail. How might I solve this one?