



Bàn phím Matrix 4x4
Matrix 4x4 keyboard
Bàn phím Matrix 4×4 Độ dài cáp: 88mm. Nhiệt độ hoạt động 0 ~ 70oC
DỊCH VỤ & KHUYẾN MÃI LIÊN QUAN
- Cộng thêm 1 điểm tích lũy
Đơn hàng có giá trị từ 300.000 (đ), miễn phí vận chuyển [ tối đa 15.000 (đ) ].
Đơn hàng có giá trị từ 500.000 (đ), miễn phí vận chuyển [ tối đa 35.000 (đ) ].Xem thêm các khuyến mãi vận chuyển khác.
Sản phẩm liên quan
Chi tiết sản phẩm
Module bàn phím ma trận 4×4 gồm có 16 nút bấm được sắp xếp theo ma trận 4 hàng, 4 cột. Các nút bấm trong cùng một hàng và một cột được nối với nhau, vì vậy bàn phím matrix 4×4 sẽ có tổng cộng 8 ngõ ra.
THÔNG SỐ KỸ THUẬT
– Độ dài cáp: 88mm.
– Nhiệt độ hoạt động 0 ~ 70oC.
– Đầu nối ra 8 chân.
– Kích thước bàn phím 77 x 69 mm
SƠ ĐỒ MẠCH BÀN PHÍM MATRIX 4X4
SƠ ĐỒ KẾT NỐI
———————CODE THAM KHẢO———————-
/*4X4 Arduin0 * 1 - 2 * 2 - 3 * 3 - 4 * 4 - 5 * 5 - 6 * 6 - 7 * 7 - 8 * 8 - 9 * * Nạp code mở Serial Monitor, chọn No line ending, baud 9600. * */ #include <Keypad.h> const byte ROWS = 4; //four rows const byte COLS = 4; //four columns //define the cymbols on the buttons of the keypads char hexaKeys[ROWS][COLS] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'} }; byte rowPins[ROWS] = {9, 8, 7, 6}; //connect to the row pinouts of the keypad byte colPins[COLS] = {5, 4, 3, 2}; //connect to the column pinouts of the keypad //initialize an instance of class NewKeypad Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); void setup(){ Serial.begin(9600); } void loop(){ char customKey = customKeypad.getKey(); if (customKey){ Serial.println(customKey); } }
HÌNH BÀN PHÍM MATRIX 4×4
Phản hồi khách hàng

Nshopvn.com · 07/03/2019 10:48 AM
Bàn phím Matrix 4x4 giá chỉ 12.000₫