TB371 4 Key MCU Keyboard Button Board Compatible UNO MEGA2560 Pro Mini Nano Due Raspberry Pi Teensy+

New
-+
12 available
R335.00
Shipping
Standard courier shipping from R30
R30 Standard shipping using one of our trusted couriers applies to most areas in South Africa. Some areas may attract a R30 surcharge. This will be calculated at checkout if applicable.
Check my rate
Ready to ship in
The seller has indicated that they will usually have this item ready to ship within 12 business days. Shipping time depends on your delivery address. The most accurate delivery time will be calculated at checkout, but in general, the following shipping times apply:
 
Standard Delivery
Main centres:  1-3 business days
Regional areas: 3-4 business days
Remote areas: 3-5 business days
Returns
Replacement 7 Days
Replacement Guarantee: 7 Days: We stand by this guarantee
Get it now, pay later
Seller
Buyer Protection

Product details

Condition
New
Location
International
Bob Shop ID
615100599
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 uno mega2560 due,Ideal for linking up to your? Arduiuo UNO Mini Nano Mega2560 Breadboard 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 uno/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 status ? // the setup routine runs once when you press reset: void setup() { // initialize the keys pin as an input. ? pinMode(K1, INPUT); pinMode(K2, INPUT); pinMode(K3, INPUT); pinMode(K4, INPUT); ? //Activate key pin internal pull-up resistors digitalWrite(K1, HIGH); digitalWrite(K2, HIGH); digitalWrite(K3, HIGH); digitalWrite(K4, HIGH); ? // initialize serial communications at 9600 bps: Serial.begin(9600); } ? // the loop routine runs over and over again forever: void loop() { ? buttonState = digitalRead(K1); if(!buttonState)Serial.print(k1 n ); do { buttonState = digitalRead(K1); } while(!buttonState);//Wait button release ? buttonState = digitalRead(K2); if(!buttonState)Serial.print(k2 n ); do { buttonState = digitalRead(K2); } while(!buttonState);//Wait button release ? buttonState = digitalRead(K3); if(!buttonState)Serial.print(k3 n ); do { buttonState = digitalRead(K3); } while(!buttonState);//Wait button release ? buttonState = digitalRead(K4); if(!buttonState)Serial.print(k4 n ); do { buttonState = digitalRead(K4); } while(!buttonState);//Wait button release ? delay(100); } ? ?? ?//******************************************************//

Package Included:

1 x?4 Key MCU Keyboard Matrix Button Board





More from this seller

View all
R30 shipping
DC 5V 1A Neck Hanging Fan Dual Head Cooling Mini Fan USB Rechargeable Camping Travel (COLOR: BLUE)
R537
R30 shipping
10 PCS Side Brush XR319 Sweeping Robot Accessories for IRobot 8 Series / 9 Series
R252
R30 shipping
Portable Air Conditioner Fan, Personal Air Cooler Desk Fan White
R967
R30 shipping
Camping Hammock Chair Swing Seat Indoor Outdoor Folding Hanging Chair with Ropes P... (COLOR: BLACK)
R884
Add to cart

Recently viewed

R30 shipping
For iPhone 14 Pro Max Color Silver IMD Feather Pattern Shockproof Phone Case
R201
R30 shipping
Ecco Hybrid Inverter WIFI Dongle
R899
R30 shipping
7Piece Car Vinyl Wrap Window Tint Film Tools Kit
R249

Similar products

R30 shipping
3pcs KY-004 Electronic Switch Key Module AVR PIC MEGA2560 Breadboard Geekcreit for Arduino - product
R334
R30 shipping
9% OFF
4-ch DC Current/Voltage/Power Monitor HAT for Raspberry Pi, I2C/SMBus
R800.28 R880.31
R30 shipping
Mini W5100 LAN Ethernet Shield Network Board Module Ethernet UNO Mega 2560 3.3V Geekcreit for Arduin
R570
R30 shipping
9% OFF
UNO R3 MEGA328P ATMEGA16U2 for Arduino Compatible
R463.89 R510.28