This shows you the differences between two versions of the page.
|
pm:prj2026:tarik_ilhan.omer:paul_daniel.albei [2026/05/02 02:10] paul_daniel.albei [Introduction] |
pm:prj2026:tarik_ilhan.omer:paul_daniel.albei [2026/05/02 02:19] (current) paul_daniel.albei [Description] |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ==== Description ==== | ==== Description ==== | ||
| - | The system is built around the ''ATmega328P-XMINI'' microcontroller, where the user interacts with the game using a directional pad made of 5 pressable buttons(Select, Up, Down, Left, Right). A potentiometer changes the light percentage in the screen, the main visual interface is the OLED display, visual feedback is augmented by 4 LEDs and audio feedback is given by the background music that is generated through a passive buzzer.\\ | + | The system is built around the ''ATmega328P-XMINI'' microcontroller, where the user interacts with the game using a directional pad made of 5 pressable buttons(Select, Up, Down, Left, Right). A photoresistor continuously reads the ambient light in the room, a potentiometer changes the music volume, the main visual interface is the OLED display, visual feedback is augmented by 4 LEDs and audio feedback is given by the background music that is generated through a passive buzzer.\\ |
| The chip runs the game loop, manages the state machine(Menu, Game, Game Over), randomizes the symbols on the grid/map and stores high scores in its non-volatile EEPROM memory. | The chip runs the game loop, manages the state machine(Menu, Game, Game Over), randomizes the symbols on the grid/map and stores high scores in its non-volatile EEPROM memory. | ||
| Line 23: | Line 23: | ||
| * 5 x Buttons | * 5 x Buttons | ||
| * 1 x 100kohm Rotary Potentiometer | * 1 x 100kohm Rotary Potentiometer | ||
| + | * 1 x Photoresistor | ||
| * 8 x 330ohm Resistor | * 8 x 330ohm Resistor | ||
| * 6 x 10kohm Resistor | * 6 x 10kohm Resistor | ||