- This project displays a jumping game on the LCD.
- The pushbutton is pressed each time the player wants to jump.
- While playing the game, a red light will be turned off.
- If the player loses the game, the red light will be turned on until they restart the game.
- The counter will be displayed on the LCD to indicate the score of the player for this round.
The circuit diagram of the jumping game project demonstrates the connections:
- Connect LCD GND to Arduino GND
- Connect LCD VCC to Arduino 5V
- Connect LCD SDA to Arduino A4
- Connect LCD SCL to Arduino A5
- Connect One Side of the Pushbutton to Arduino Pin 2
- Connect the Other Side of the Pushbutton to Arduino GND
- Connect the Negative Side of The LED to Arduino GND
- Connect the Positive Side of The LED to Arduino Pin 3
- Arduino Uno Board
A programmable open-source controller board that can be integrated to be used in a variety of electronic projects - Breadboard
A construction base used for developing an electronic circuit and wiring for projects with microcontroller boards - LCD Module with I2C
LCD is a type of display that uses the liquid crystals for its operation. Since the Arduino has a limited number of input/output pins, I2C enables the connection to more devices - Connection Wires
Flexible strands of metal used for establishing electrical conductivity between two devices of an electrical circuit - Pushbutton
A component that connects two points in a circuit when pressed - LED
A small powerful light - 220K Resistors
Are used to limit the amount of current going to certain components in the circuit