This shows you the differences between two versions of the page.
|
pm:prj2026:tarik_ilhan.omer:paul_daniel.albei [2026/05/02 02:18] paul_daniel.albei [Hardware Design] |
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. | ||