Virtual Archery game

in AVR by DP | 0 comments

As a final project in their class Mohamed and Michael developed the Virtual Archery game. It’s based on the ATmega1268p, an accelerometer, and a stretch sensor. The stretch sensor lets the game know how much force there is behind the arrow, while the accelerometer records it’s exiting direction. Using these two parameters the game extrapolates where the arrow will land in relation to the target.

The ATmega1284P microcontroller uses its internal analog-to-digital converter (ADC) to determine when the stretch sensor has been drawn and released, communicates with an external ADC over SPI to obtain the orientation of the bow from an accelerometer, and displays the expected location of an arrow fired by the user. Another arrow is readied by the push of a button on the bow. When the bow is fully drawn, LEDs will light up simulating the arrow. The lights are turned off when the arrow is released.

Via Hacked Gadgets.

This entry was posted in AVR and tagged , , .

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.