5pcs TB371 4 Key MCU Keyboard Button Board Compatible UNO MEGA2560 Pro Mini Nano Due for Raspberry Pi Teensy++ Geekcreit for Arduino – products that work with official for Arduino boards
$14.12
Shipping:Standard Shipping about 10-25 business days
Secure Payment:Paypal,VISA,MasterCard
Size Conversion
Inches
Centimeters
Please according to your own measurements to choose your suitable size. The tags inside the items will show in our Asian (Type) size.
Description
1. 4-button Common Cathode key module(When pressed output low level).
2. GND K1 K2 K3 K4′ 4 PIN OUT 2.54mm
3. Working voltage:DC 0-48V
4. Size:12.7 x 33mm
5. It can be inserted directly into Arduiuo uno3 mega2560 due, for linking up to your Arduiuo uno3 Mini Nano Mega2560 Breadboard for raspberry pi banana pi etc,or others MCU PLD CPU ( AVR STM32 ARM PIC C51 NRF24LE1 CC2530 MSP430 STM8 FPGA CPLD etc.)
Circuit schematics
Arduiuo uno3/mega2560 Code
//******************************************************//
/*
Arduiuo_4key_uart
This example code is in the public domain.
*/
// Define key pin
int K1 = 13;
int K2 = 12;
int K3 = 11;
int K4 = 10;
// variables will change
int buttonState = 0; // variable for reading the pushbutton
// the setup routine runs once when you press reset
void setup()
// the loop routine runs over and over again forever
void loop()
while(!buttonState);//Wait button release
buttonState = digitalRead(K2);
if(!buttonState)Serial.print(‘k2 n’ );
do
while(!buttonState);//Wait button release
buttonState = digitalRead(K3);
if(!buttonState)Serial.print(‘k3 n’ );
do
while(!buttonState);//Wait button release
buttonState = digitalRead(K4);
if(!buttonState)Serial.print(‘k4 n’ );
do
while(!buttonState);//Wait button release
delay(100);
}
//******************************************************//
Package Included
5 x 4 Key MCU Keyboard Matrix Button Board
Weight | 0.04 kg |
---|
Customers Also Viewed
M5Stack 8-Way Servo HAT STM32F030F4 Microcontroller Control Board for M5StickC ESP32 IoT Development Board
$16.96Other Module BoardAdd to cartDescription 8Servos HAT is an 8-way servo control board compatible with M5StickC. The brains of the borad is the STM32F030F4 microcontroller which communicates with M5StickC through I2C. In order to ensure that multiple servos can work at the same time, the HAT is equipped with a separate 16340 battery base for an external and independent …
Screw Shield V3 Terminal Expansion Board for UNO R3
$8.73Expansion Board & ShieldAdd to cartScrew Shield V3 Terminal Expansion Board For Compatible UNO R3DescriptionWe use to do work, always feel bad connection on the port. Either use bread plates into line, either using the sensor cable expansion board with Dupont, feel less reliable, and now we launch a terminal expansion board can be directly screwed onto the thread of …
Screw Shield V3 Terminal Expansion Board for UNO R3Read More
CH340G RS232 Upgrade USB to TTL Auto Converter Adapter STC Brush Module
$6.55Converter BoardAdd to cartFeaturesThere are power light PWR, and TXD and RXD indicatorsReserve RTS, CTS location3.3V and 5V dual voltage selectionSupport XP/WIN7/WIN8/WIN10 systemAnti-short-circuit, anti-overcurrent, anti-reverse, anti-high voltage multiple protection.Package includes1 x Module
10pcs CJMCU-8575 PCF8575 Bidirectional IIC I2C And SMBus I/O Expander Expansion Board
$80.46Expansion Board & ShieldAdd to cartDescriptionHave you run out of I/O pins This great IC allows the user to expand up to 16 I/O using only two I/O for control! The PCF8575C is controlled through an I2C interface and features 16-bits of quasi-bidirectional input/output pins.Package included10 x Module
5pcs 30MA 5V 0.15W Mini Solar Panel Epoxy Board
$16.04Smart Robot & Solar PanelAdd to cartSpecifications– Maximum power:0.15 (W)– Working current:0-30MA(Depending on the intensity of sunlight)– Working voltage:5 (V)– System voltage:5.5 (V)– Open circuit voltage:5.5 (V)– Short circuit current:0.05(A)– Dimensions:about 53*30 (mm)– Weight:about 12g– For:DIYer– Quantity:5PcsPackage Included5 x solar panel
20Pcs Keyes Brick Finger Heartbeat Module(Pad hole) with Pin Header Board Analog Signal
$55.28Sensor & Detector ModuleAdd to cartDescriptionThis module is fully compatible with ARDUINO single-chip microcomputer, and its connection port is also compatible with Arduino sensor expansion board. This module mainly includes infrared transmitter and photosensitive receiver. The infrared transmitter is on one side of the finger, and the photosensitive receiver is on the other side of the finger; the photosensitive receiver …
20Pcs Keyes Brick Finger Heartbeat Module(Pad hole) with Pin Header Board Analog SignalRead More
Reviews
There are no reviews yet.