The project aims to build a handheld electronic game of rock, paper, and scissors with randomness associated with it.
During the construction, an STK500 was attached to the old 300MHz Debian box that will be used for programming, along with the use of an Atmel ATtint2313 microcontroller. From the code, the only part worth mentioning outside of the code itself is that the rand() function had to be called within while the while loop that waits for the user input. This is due to the fact that it becomes predictable if it was put outside the map.
The LEDs were attached to Port B and the 3 switches to Port D. The whole circuit is being powered using the LM7805. After making everything on the breadboard work, holes are drilled into the project enclosure and 6 LEDs were glue gunned into place. For the 3 switches, larger holes were drilled where one for each choice of rock, paper, or scissor. Soldering everything will come next to the picture.
With all the wires and junk, the battery cannot be jammed into the case because the project case was too small, but still useful.
Click here to see the rest of the project.
Wire-to-board interconnection options from Sullins feature a wide range of sizes and applications
MCC’s TVS series high-power suppressors protect sensitive components from voltage spikes and transients
Evaluation boards that streamline evaluating circuit protection on RS-485 serial device ports
There are currently no comments.