This project uses an Arduino Mega control unit, Arduino 3x4 keypad, battery mini display and 7 segment display.
The numbers are random appear on the display and the player must enter a specific combination of numbers. When a player enters a good set of numbers on the battery display is increased one level.
How the Arduino Mega connects to the keypad. Connect the first pin on the left side to pin 8 on the Arduino. Pins from 8 pins to 2 pins on the Arduino Mega control unit.
The 7 segment display is connected to pins 35,37,39,41,47,49,53. See the schematics.
- Mini battery dispaly has 4 pins GND, VCC, CLK, DIO.
- DIO is connected to pin 9.
- CLK is connected to the pin 10.
Libraries can be found at the following links: