Archive of files: http://www.et.byu.edu/%7Enepets/LaserTruck2011/
Description Qty Cost @ Supplier Mfgr. Part Number
Dead Wii Remote from Ebay 1 $6.00 Ebay.com Nintendo Wii Remote (mostly, not all- dead)
3.3v 1 Amp Regulator 1 $0.73 Digikey.com STMicro LD1117V33C
AVR ATmega 328 /328p DIP 1 $3.93 Digikey.com Atmel ATMEGA328P-PU or ATMEGA328-PU (328P is picoPower, no diff)
ECS-100A Clock 1 $1.88 Digikey.com ECS Inc ECS-100AX-200 (Any 20 to 25MHz Clock Source will do)
16 MHz Crystal 1 $0.58 Digikey.com ECS Inc ECS-160-20-4X (For ATmega/Arduino)
Sub-total for Online Ordering: $13.12
Ruby Red Lithographic Film (Critical Item! Blocks green and below perfectly, cuts most yellow)
470 and 390 Resistors
4.7k Resistor
10k Resistors
100nF Ceramic Cap
10uF Cap
47uF Cap
470uF Cap
1N4004 Signal Diode
Colored LEDs
3904 NPN BJTs
Phototransistor
.1" Male Headers
.1" Female Headers
Solid-core breadboard wire
Ribbon Cable
SPST Micro Momentary Button
Solderless Breadboard
Cardboard
Tape
Yellow Paper
Cotton
AA Batteries
AA Battery Holders
Wish we had:
Chinese 650 nm Narrow Bandpass Filter $11.00 (3.5 Weeks shipping, would have allowed for laser-on-floor imaging)
More Time: Impliment Watchdog timer on ATmega to blow away system freezing, -or- Laser-triggered reset circuit.
You may need:
I2C Logic-level converter for Wii Cam, if you go for a 5.0 volt Arduino Setup- we did ours on 3.3v.
3.3 volt rated Clock Oscillator for Wii Cam, our ECS-100A did fine on 3.3, but caused some worry.
Equipment Needed: (Non-Truck-Cost)
3.3v FTDI Cable (3.3v UART w/ 5.0v Power Line, used to talk to truck for debugging)
ATmega 328 w/ Arduino Bootloader (Turn this into a AVRISP using the standard Arduino ARVISP sketch, use it to program the truck's ATmega328/168, allows for secondary debugging, backup, etc)
-or-
Atmel AVRISP or equivilent programmer (When making an Arduino board starting from scratch)
-or-
Arduino Uno, Mega, and etc (Obviously more expensive and in my opinion, unnecessary)
Laptop w/ Arduino, Wii-BlobTrack.exe, Serial Terminal Program such as TeraTerm or RealTerm, WINAVR, AVR-GCC, AVR-Dude, AVR-Studio
Important Sites for understanding AVR-Dude, the manual flash burning program:
http://www.ladyada.net/learn/avr/avrdude.html
http://www.nongnu.org/avr-libc/user-manual/index.html
http://savannah.nongnu.org/projects/avrdude
Important Command Line Strings during bootloader flash sequence.
C:\arduino-0021\hardware\arduino\bootloaders\atmega>avrdude -c avrisp -p m328p -P com4 -b 19200 -U flash:w:ATmegaBOOT_168_atmega328.hex
Important Paths:
C:\arduino-0021\hardware\arduino for programmers.txt and boards.txt (Critical for manual Fuse Bit coding)
C:\Users\Steve\AppData\Roaming\Arduino for preferences.txt for Arduino tweaks
PATH Environmental Variable should be set when WinAVR or (Arduino?) is installed: C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin
Important Websites:
http://letsmakerobots.com/node/7752