Hung Nguyen's profile

Oled Joystick Game Microcontroller

For this mini-game project, the microcontroller board is hooked up with a Monochrome OLED and a four-axis joystick. The game is simply a character moving around to eat randomly placed blobs that can add or reduce points. There are also difficulty adjustment, how-to instructions, and scoreboard-keeping. Before coding everything together, I planned out the precise location of each 8x8 pixel square on the screen for each panel, and created the pixel art (plus the hex code) of each user interface component. From there, I built each pane one at a time using state-machine modelling and incorporating ADC (analog-to-digital converter) on the microcontroller so that the 4-axis works as expected. The whole thing was written in C.ct Description:
Individual 8x8 pixel square components
Layout of each panel with distinct grid

Up or down movement scrolls the selection arrows, while left or right movement selects the item. One of the buttons on the microcontroller is used to go back to the menu at any given time.
Gaining a point and losing the game
Wiring and plugged-in components
Final game shots
Oled Joystick Game Microcontroller
Published:

Oled Joystick Game Microcontroller

Published: