JumpMan Game HD44780

JumpMan is very simple game on Arduino. The game uses only two “jump” and “reset” buttons. The game uses a display HD44780 2×16 connected via i2c. In the game, we skip a man over the trees. The speed of the game is growing all the time.
If you do not know how to use the HD44780 display with the i2c module, see the tutorial: HOW TO USE DISPLAY HD44780 i2c .

List elements:

  • Arduino Uno
  • Display hd44780 and i2c module
  • 2 switch
  • 7 wires
  • universal board

Connections:

HD44780 i2c: SDA to SDA or A4, SCL to SCL or A5, Vcc to 5V, GND to GND

Button 1 to pin RESET and GND

Button 2 to pin 2 digital and GND

Sketch:

          Set the address of the i2c module and the size of the display. You can change the amount of live in “int life = 5;”  (69 line sketch) . 

Control:

button 1 -> Jump

button 2 -> Reset

Enjoy the game 🙂  .

Leave a Reply

Your email address will not be published. Required fields are marked *