Introduction: Turn on 7-segment Led by Keypad
In this project I'll explain you how to turn the desired number in LED display by using keypad.
Apparatus:
- Keypad
- Arduino uno
- Jumper wire
- 7 segment led
Step 1: Assemble the Circuit
connect 4 row to arduino's digital pin 2,3,4,5 and coloum to 6,7,8.
for display connection
- Connect "a" to digiatal pin 0 of your Arduino board.
- Connect "b" to digiatal pin 1 of your Arduino board.
- Connect "c" to digiatal pin 9 of your Arduino board.
- Connect "d" to digiatal pin 10 of your Arduino board.
- Connect "e" to digiatal pin 11 of your Arduino board.
- Connect "f" to digiatal pin 12 of your Arduino board.
- Connect "g" to digiatal pin 13 of your Arduino board.
Step 2: Upload the Code
Upload the above code to your Arduino board.
Attachments
Step 3: Try It
Lets give input from the keypad and check it whether it is working properly or not.