section keypad (2)
section keypad (2)
A. What is keypad?
B. Hardware Required
C. steps
D. task
E.References
A. What is keypad?
Keypad is asset of buttons arranged in rows and columns, each
buttons is called key
Keypad has various types. Two popular types for DIY projects
are Keypad 3*4 (12keys) and Keypad 4*4(16keys)
B. Hardware Required
Arduino Uno
Keypad
Terminal monitor
wires
C. steps
1.
2.
3.virtulterminal
#include <Keypad.h>
void setup() {
Serial.begin(9600);
}
void loop() {
char key = keypad.getKey();
if (key != NO_KEY) {
Serial.println(key);
}
}
10.
E.References
https://www.youtube.com/watch?v=Ab97a35zytc
https://www.youtube.com/watch?v=Z0CQltwEQGQ
https://arduinogetstarted.com/tutorials/arduino-keypad