-
Featured User: kurt
Open-source hardware project hosting is my passion. I spend most of my free time building neat gadgets or planning what I'll build next. I love building things, and I want to make Open Hardware Hub a place that inspires others to build, ...
-
Updates 2013 February 18
It's been a while, hasn't it? Well, that's ok because we've got a lot of updates to talk about. Most of these have been effective on the site fora couple weeks now. A few may or may not be active when this article gets posted, but they'll certainly be applied in the ...
Scavenger Hunt Beacon Decoder and AVR Programmer
By: kurt
Use this to decode the messages broadcast by a Scavenger Hunt Beacon. The messages are displayed on an LCD screen when the Beacon's IR beam hits the Decoder's receiver. This project also doubles as an AVR Programmer Shield for an Arduino.
Download project description w/o images
Download project description w/ images
Files
- Scavenger Hunt Beacon Decoder V1.zip - Scavenger Hunt Beacon Decoder GERBER
- Scavenger Hunt Beacon Decoder.sch - Scavenger Hunt Beacon Decoder EAGLE Schematic
- Scavenger Hunt Beacon Decoder.brd - Scavenger Hunt Beacon Decoder EAGLE Board
- Scavenger_Beacon_Decoder.pde - Scavenger Hunt Beacon Decoder Arduino Sketch
Bill of Materials
Qty | Part # | Description | Schematic ID | Source | |
---|---|---|---|---|---|
1 | WP7113LID | 5MM LOW CURRENT RED LED, LAMP THOLE, BULK | LED_ERR | Source | |
1 | WP7113CGCK | 5mm Green LED,Water Clear/Domed Lens, PB Free | LED_PROG | Source | |
1 | OVLGY0C9B9 | LED, 5MM, TAPERED, YELLOW | LED_HB | Source | |
3 | CF14JT100R | 1/4w 100 ohms 5% Carbon Film Resistors | R1, R2, R3 | Source | |
1 | CF14JT4K70 | 1/4w 4.7K ohms 5% Carbon Film Resistors | R4 | Source | |
1 | CT6EP103 | TRIMMER 10K OHM 0.5W TH | P1 | Source | |
1 | LCD Display | 20 x 4 Blue LCD Character Display | Source | ||
1 | PT334-6B | PHOTOTRANSISTOR 5MM BLACK AXIAL | PQ | Source |
Download BOM w/o images
Download BOM w/ images
Steps
11. Use it! AVR Programmer
Plug your ATTiny13 into the socket marked "ATTiny13". Then plug the Decoder board into your Arduino. Connect your Arduino to your PC and download the ArduinoISP sketch to the Arduino. You can find this sketch by going to File -> Examples -> ArduinoISP as shown in the image to the left.
Once the ArduinoISP program is uploaded, the yellow heart beat LED should begin pulsing. This shows that the Arduino is ready to program an AVR microcontroller.
Next, program the AVR microcontroller. Navigate to the folder that holds your .hex file in a command prompt window. (Open the Start Menu, type cmd, and press enter to open a command prompt in Windows 7.) Execute the command below.
C:\WinAVR-20100110\bin\avrdude.exe -p t13 -P com5 -c avrisp -b 19200 -U flash:w:"Scavenger Beacon.hex"
You will have to modify some things in the above command. Change com5 to whatever port your Arduino is on. (In Windows you can find this by opening up Device Manager.) Also, replace Scavenger Beacon.hex with the name of the .hex file you want to program. If you want to program a microcontroller other than an ATTiny13, then you will have to change the t13 to match your new micrcontroller. You might also have to change the path to avrdude.exe depending on where you installed it. The path shown is where AVR Studio installed avrdude.exe for me.
12. Use it! Beacon Decoder
Plug your 16-pin LCD into the female header at the top of the board. Plug the Decoder into an Arduino. Connect the Arduino to your computer. Download the Scavenger_Beacon_Decoder.pde sketch. Upload it to your Arduino. To decode messages from a beacon, line up the IR LED on the Beacon with the black phototransistor on the Decoder. Watch the demo movie at the top of this page to see the decoder in action.
Download steps w/o images
Download steps w/ images
Revisions
2 -
1 - Initial project release
Add revision
blog comments powered by Disqus
Back