Appendices
Appendix A. C Code for Mega 32 microcontroller.
Appendix B. Schematic of circuit.
Appendix C. Cost Table
Part Number
|
Description
|
Cost
|
Halex Comet
|
Electronic Dartboard
|
Free
|
L-80
|
Pressure Sensor Map
|
w/dartboard
|
-
|
L-80 Connector
|
w/dartboard
|
Atmel Mega 32
|
Microcontroller
|
Stock
|
-
|
Dip connector for M32
|
Stock
|
-
|
2 Breadboards
|
Stock
|
-
|
Jumper leads
|
Stock
|
-
|
Video Display
|
Any TV/ Stock
|
-
|
Video Cable
|
Stock
|
-
|
4 Push buttons
|
Stock
|
-
|
Capacitors, resistors
|
Stock
|
-
|
16 MHz crystal
|
Stock
|
-
|
3 AA Batteries
|
$4.99
|
-
|
wire
|
Stock
|
Total Cost = $4.99
The dartboard was provided by roommate from last year who was upgrading. This board was used extensively last year, but had not been used much the last few months. Included with the dartboard was the pressure sensor map and corresponding connectors. The microcontroller, breadboards, wires, electric components, push buttons, crystal and jumper leads were all provided by the ECE 476 lab. The TV was also part of the lab, but the final design can be plugged into any television and is not really part of the cost of design or implementation. The only purchase was for the batteries.
Appendix D. Work Breakdown Table
Specific Project Task
|
Owner
|
Obtain non-stock parts
|
Denny
|
Decode pressure sensor map, deconstruct dartboard
|
Denny
|
Hardwire L-80 to breadboard
|
Chan
|
Construct C Code to detect dart hit, generate video
|
Chan
|
Implement push buttons
|
Chan, Denny
|
Design Menu Code and Menu graphics
|
Chan. Denny
|
Construct C Code for game control and game display
|
Denny
|
Test video, polling, and game code
|
Denny
|
Standalone construction including solder of components
|
Chan
|
Test finished dartboard with video display
|
Chan, Denny, anyone else in lab
|
Website Design
|
Denny
|
Most of the tasks were completed by both members of the team, the Owner is the person responsibly for the proper functionality of that component. Most of the testing was carried out during design, however rigorous testing was done at the end of each design stage to ensure complete operation with all components under all circumstances.
References
Link to the website for all info on Mega32
http://www.atmel.com/dyn/products/product_card.asp?family_id=607&family_
name=AVR+8%2DBit+RISC+&part_id=2014
Datasheet specifically for Mega32
http://www.atmel.com/dyn/resources/prod_documents/doc2503.pdf
Bruce Land's video generation code
//http://instruct1.cit.cornell.edu/courses/ee476/video/Video32v2.c