The Challenge
In a team of three, our goal was to design, build, and program a capacitive sensor reaction game. Using the nature of capacitors, player hand input can serve to link the electrical connection between capacitor plates. This will provide the input fed into two 555 timers that send signals to the microcontroller, where actions such as score updates, and visual/audio notices are programmed. The game should conclude when a certain point threshold is met, in which the player(s) 'wins'.
General Design
We designed the of the game to be easily accessible to players, creating larger surface areas for the capacitive plates, and mounting it on a box so that it would conform more to the average player's height. We placed the breadboards on the box as well to make the LCD screen visible and audio in closer proximity to players.
The capacitive plates were covered with a plastic sheet as a dielectric, and taped to the box to protect its integrity.
The circuitry was built with numerous components including an A589LP51RC2 microcontroller, a CEM-1023 mini speaker, a 555 Timer, and an LCD.
The pin locations and association of the components can be seen in the diagram shown to the right.
The programming was done in CrossIDE in 8051 Assembly language. We first focused on receiving input from the sensors, establishing the random tone generator, creating different frequencies for the sounds, and then displaying the score status on the LCD.
We went through multiple periods of trial and error to see correct changes in the input of the capacitor plates and determine the necessary time pauses between instances.
Demonstration of the Capacitor Plate Reaction Game
This project helped me learn a lot about circuitry with microcontrollers and programming in assembly language. Generating system block diagrams for both the hardware and software sides were useful in helping visualize the intended process of the game. In addition, in designing the game I enjoyed creating the introduction song with different frequencies and building its feature list for player satisfaction.
To view the project more in-depth, see the project report below:
If an error appears, please visit the link to the document: https://docs.google.com/document/d/1OL62k4RSK5i0XEJZ98gYkJeRHeLksOXUPz4nK4bTB9M/edit?usp=sharing