Skip to content

Displaying games in a 16x2 LCD using an arduino UNO and a pair of buttons

License

Notifications You must be signed in to change notification settings

Rigoloscar/Arduino_LCD_Games

Repository files navigation

RUNNING C++ GAMES USING AN ARDUINO AND A LCD SCREEN


In this repository I've uploaded different "games" coded in C++ thought to be run in a 16x2 LCD using an arduino board. I tryed to imitate those 80's pocket computers that were able to run games coded in BASIC in a little LCD screen, with the difference of using the arduino C++ instead of BASIC and the use of a bluetooth module in some games.


These are the components and the instructions about how connect them you will need:


COMPONENTS:

  • An Arduino board (no matter witch)
  • A 16-connections LCD screen
  • A pair of bottons
  • A buzzer
  • A bluetooth module
  • All cables and resistors you need (depending on the specific components used)

CONNECTIONS:

  • Connect the LCD by this way: lcd(11, 10, 6, 5, 4, 3);
  • Connect the 1st button to pin 2 (active HIGH)
  • Connect the 2nd button to pin 7 (active HIGH)
  • Connect the buzzer to pin 9
  • Power the bluetooth module using the pin 13 (in order to turn it on or off when we want)
  • The data of the bluetooth module must be trasfered to arduino using its serial pins

Enjoy the project as I did making it

About

Displaying games in a 16x2 LCD using an arduino UNO and a pair of buttons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages