Today, I will share how to interface and simulate a keypad phone with Arduino in Proteus 8 software. In this project, a simple code was created by Alexander Brevig for using matrix style keypads with the Arduino. You can use other types of keypads, such as a calculator or custom keypad.
Components:
- Phone keypad
- Arduino
Steps:
- Open your Proteus software and add ARDUINO UNO R3, KEYPAD-PHONE, and VIRTUAL TERMINAL to the workspace.
- Connect RX and TX Virtual Terminal to the pinouts 1 and 0 of Arduino UNO R3. Next, connect row pinouts A, B, C and D of the keypad to the pinouts 5, 4, 3 and 2 of the Arduino UNO R3. Finally, connect column pinouts of the keypad 1, 2 and 3 to the pinouts 8, 7 and 6 of the Arduino UNO R3.
- Open Arduino IDE and go to Sketch > Include Library > Manage Libraries. Type 'Keypad' on the search box and install it.
- Go to File > Examples > Keypad > HelloKeypad. Verify and copy the Hex file, then paste it into the Project file Arduino board.
- Start the simulation, and press any key on the phone keypad.
- Virtual Terminal will display a new message according to the keypad function.
Video:
If you have any suggestions, please write in the comment section. Thank you for your time 👷.
No comments:
Post a Comment