멤브레인 4 x 3 매트릭스 키패드
(Membrane 4 x 3 Matrix Keypad)
개요
- 본 제품은 12버튼 4 x 3 매트릭스 키패드입니다.
- 얇고 유연한 멤브레인 재질로 되어 있으며, 뒷면은 스티커가 부착되어 있어 평평한 어느 곳이나 부착이 가능합니다.
- 12개의 키는 매트릭스 형태로 연결되어 있어, 키 스캔을 위해서는 7개의 마이크로컨트롤러 핀(3행, 4열)만을 사용하면 됩니다.
- 약 8cm 가량의 케이블이 부착되어 있어 제품을 장착하거나 브레드 보드에서 사용하기가 용이합니다.
특징
- Pad Size: 68.9 x 76 x 0.8mm
- Cable length: 85mm (include connector)
- Connector: dupont 7 pins, 0.1 inch (2.54mm) Pitch
- Mount style: Self-Adherence
- Max. circuit rating: 35VDC, 100mA
- Insulation spec.: 100M Ohm, 100V
- Dielectric withstand: 250Vrms (60Hz, 1min)
- Contact bounce: ≤5ms
- Life expectancy: 1 million closures
- Weight: 7g
문서
- Matrix Keypad Arduino library
-
#include "Arduino.h" #include "Keypad.h" const byte ROWS = 4; //four rows const byte COLS = 3; //three columns char keys[ROWS][COLS] = { {'1','2','3'}, {'4','5','6'}, {'7','8','9'}, {'*','0','#'} }; byte rowPins[ROWS] = {8, 7, 6, 5}; //connect to the row pinouts of the keypad byte colPins[COLS] = {4, 3, 2}; //connect to the column pinouts of the keypad Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
연관제품
- 연관제품 1