circuit_projects

Circuit Projects

Blogger

EEWeb Stats

Circuit's Blog :

Return to Blog

Electronic Game of Rock Paper Scissors

Figure:1

Figure 1 

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.

Tags: rock, paper, scissors, electronic, game,

Comments on this post:

There are currently no comments.

Login or Register to post comments.
 
Click Here