The MiniPOV3 toy

2011-Apr-16, Saturday 06:23 pm
chebe: (WalkSign)
I got the MiniPOV3 kit from adafruit ages ago, but finally got around to making it up today.

Making it was very straight forward. I turned it on and found a chasing LED pattern. But, well, this is a persistence of vision toy, I want something with persistence! This means reprogramming it. First things first, you'll most likely need a serial-to-usb converter.

I'm running linux, and have the Arduino software installed. As both this and the miniPOV use avrdude I found I already had all the programs listed here installed.

So just download the zip, extract, cd in, and make.

Plug in the miniPOV3 in. dmesg and check where it appears. For me it's /dev/ttyUSB0.

Try to load one of the sample programs, and watch it fail;
make program-minipov

avrdude -p attiny2313 -P com1 -c dasa -U flash:w:minipov.hex
com1: No such file or directory

avrdude done. Thank you.

make: *** [program-minipov] Error 1

Open up the Makefile and change the PORT to the one you're actually using (here I comment out the original);
vim Makefile

#AVRDUDE_PORT = com1 # programmer connected to serial

Then load up the program;
make program-minipov

First time I got this message;
avrdude: safemode: lfuse changed! Was e4, and is now 7f
Would you like this fuse to be changed back? [y/n]

I typed y but I don't know if you should or not. It took a really, really, really long time, so I eventually canceled out, and ran it again. This time it just finished nice and easy.

avrdude: safemode: Fuses OK

avrdude done. Thank you.

I won't spoil it for you, but you may require the help of another person to wave it wildly back and forth until you reach a speed you can read it at. Or, maybe, a camera with a slow shutter setting.

Next, you get to program your own!
Page generated 2017-Oct-23, Monday 05:00 pm
Powered by Dreamwidth Studios