Keypad 4 Button Key Module Switch Keyboard For Arduino UNO MEGA2560 Breadboard
Arduino
sku: 1532082
ACCORDING TO OUR RECORDS THIS PRODUCT IS NOT AVAILABLE NOW
$1.99
Shipping from: China
Description
Description: Can be inserted directly into Arduino uno mega2560, Ideal for linking up to your Arduino UNO Mini Nano Mega2560 Breadboard etc, or others MCU ( AVR STM32 ARM PIC AT89C51 STC MSP430 STM8 FPGA CPLD etc.) 4-button Common Cathode key module GND "K1 K2 K3 K4" 4 PIN OUT 2.54mm Size: 12.7MM x 33MM. Circuit schematics: Package includes: 1 x Keyboard Arduino uno/mega2560 Code //******************************************************// /* Arduino_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); } //******************************************************//
Price history chart & currency exchange rate
Customers also viewed

$12.94
Thread Repair Tool M4/M5/M6/M7/M8/M9/M10/M12/M14 for Restoring Damaged Thread Spanner Wrench Twist Drill Bit Hand Tool
aliexpress.ru
$328.42
Кроссовки Nike Dunk Skateboarding Shoes Unisex Low-top White/Royal Blue, белый/синий
cdek.shopping
$30.74
Motorcycle logo men's casual sportswear men's spring and autumn suit cycling clothes work clothes European size
aliexpress.ru
$47.93
Туфли мужские кожаные на шнуровке, Повседневная Деловая обувь, на толстой подошве, в клетку, большие размеры
aliexpress.ru
$6.79
Сумка для хранения рыболовных снастей, рюкзак для рыболовных снастей, сумка для рыболовного снаряжения для бега, путешествий, туристических Походов, Кемпинга
aliexpress.ru
$9.13
Laver Cup Tennis London 2022 Baseball Cap fishing hat Dropshipping Military Cap Man cute Women's Hats 2024 Men's
aliexpress.ru
$243.31
Organizers Desk Room Shelf Storage Rack Kitchen Shelf Organizer Children's Bookcases White Bookcase Bookshelf Table Librero Wood
aliexpress.com
$2.45
10Pcs/set Flower DIY Nail Art Charms Floral Shaped Flower Nail Accessories Nail Supplies Manicure Ornaments
aliexpress.com
$28.17
Карнавальные яркие костюмы для мужчин, средневековая одежда, пиратские топы, рубашка, Повседневная Мужская винтажная одежда для взрослых
aliexpress.ru
$3.28
Side Brush for ECOVAC DEEBOT OZMO T9 T9AIVI /T8 MAX T8 POWER T8 AIVI /N8 PRO /T5/N5 Robot Vacuum Cleaner Accessories
aliexpress.com
$4.52
3D Nail Art Decorations Nails Studs Rivet Mini Beads for Nail Hollow Star Moon Shape Nail Accessories
aliexpress.com
$1.73
1PCS Paper Cone Birthday Hats Dress Up Girls Boys First Birthday Party Colorful Striped Hat Party Decorations Adult Kids
aliexpress.com
$600.60
Souria 32 inch Black Color Smart Bathroom Waterproof LED TV for Bathroom Shower Android Television IP66 SPA Warehouse in Europe
aliexpress.ru
$4.20
Metal Tin Sign 1968 2001 A Space Odyssey Vintage Wall Plaque Man Cave Poster Decorative Sign Home Decor for Indoor Outdoor
aliexpress.com
$19.90
DLLA151P2300 Diesel Injector Spare Parts Nozzle DLLA 151P 2300 OEM 0433172300 for Bosch 0 445 110 408
aliexpress.com
$15.53
Bob's Best Hummingbird Feeder Bird Feeder With Bright Red Transparent Tube Outdoors Garden Accessories
aliexpress.com
$39.44
Шкаф Polini kids Стеллаж Disney baby 810 Бэмби, kids Стеллаж Disney baby 810 Бэмби
akusherstvo.ru
$29.53
boys' climbing clothes korean baby clothes spring bag fart shirt kha ins one piece for goin, Blue
dhgate.com
$25.44
2 Pcs Car Accessories:1 Pcs Accelerator Foot Controller Sensor & 1 Pcs Electric Power Window Master Control Switch
aliexpress.com
$32.97
61 Mark Stone Vegas Golden Knights Fleury Reaves Alex Tuch Nate Schmidt Karlsson Reilly Smith Marchessault Pacioretty Cody Eakin Jersey
dhgate.com
$6.06
Tesla Citrine 19 Sub Ohm Tank 1.8ml for T-A1 T-A2 coil Innovator Starter Kit 510 Thread Atomizer e cigarette dhl free
dhgate.com
$48.00
Z13901 2Row 18" 12mm Red Drop Faceted Agate Black Rice Pearl Necklace Custom Jewelry
aliexpress.com
$268.99
Danny Coll HEMA TPO Free Gel Nail Polish 64pcs With Color Chart 15ml Semi-permanent Nail Polish For Manicure Nail Salon UV Gel
aliexpress.com
$17.69
Windshield Sun Shade for Jeep Wrangler JK JKU JL JLU1997-2024,Window Sun Visor for UV Rays & Heat Protection,Duck Windshield Sun
aliexpress.com