Loading...

The 7$ “Poor Man’s Console” – Arduino project (joystick and LCD display)

This is a didactic project for to learn how to connect a joystick and a LCD display to an Arduino UNO.

 

 

COMPONENTS REQUIRED

COMPONENTSPRICE
Arduino UNO clone (Aliexpress)$ 2.40
Display (Aliexpress)$ 2.07
Joystick (Aliexpress)$ 0.60
Switch (Aliexpress)$ 0.12
Battery connector (Aliexpress)$ 0.36
Box and cover (brico shop)$ 2.20

 

CONNECTIONS

JOYSTICKARDUINO
VCC5V
VERA1
HORA0
SELDigital 7
GNDGND
LCD DISPLAY
SCLSCL
SDASDA
VCC5V
GNDGND

Before to close the box remember to calibrate the contrast of the LCD display as you prefere.

 

SOFTWARE (SKETCH)

To upload or develop games for the PMC (Poor Man’s Console) you have to download and install the free ARDUINO IDE clicking here.

To manage the joystick is very easy: read the values of the 2 analog pins (in this case A0 and A1).

To deal with the LCD Display you have to use the LiquidCrystal_I2C library (how to install a library).

 

GAME LIST

ARDU-MAN (click here)
Click the joystick to start the game. Move Ardu-man with the joystick and avoid the labyrinth walls.
PITF-ARD (click here)
Click to start. Go right to find the door key to complete the level. Move the joystick UP to jump.
ARD-INVADERS (click here)
Click to start. Go up and down and move the joystick RIGHT to shot.

If you have fun to develop games or applications for the PMC please send them to me so I will be happy to add them to the game list 🙂

If you are looking for more advanced Arduino-based game console follow these projects:

Enjoy it!

Lascia un commento