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

$36.65
Newly Street Fashion Men Jeans Retro Gray Elastic Slim Ripped Jeans Men Korean Style Stretch Designer Casual Denim Pencil Pants
aliexpress.com
$29.92
Washable Blue White Porcelain Dragon Dance Products For One Person Square Fitness Dragon Festival Gifts Toys Ribbon Dance Props
aliexpress.com
$2.62
MARS Colorbum Water Proof & Long-Lasting Liquid Matte Lipstick 5 ml - Fuschia Florence 14, Fuchsia
myntra.com
$12.51
Carrying Box Wireless Headset Headphone Case Headphones Box Earphone Storage Bag Headset Case
joom.ru
$41.66
designer spring mens palms palmangel hoody hoodies pullover sweatshirts loose decapitated bear hoodie long sleeve jumper women angle black
dhgate.com
$37.57
new women039s cashew flower fashion shawl walk show concert traveling cape camping capes gift scarf for ladies poncho shawl fal6951168, White
dhgate.com
$3.13
Dog Physiological Pants Sanitary Washable Female Female Dog Shorts Panties Underwear Briefs For Dogs Sanitary Panties
aliexpress.com
$42.78
SANLEPUS 2022 NEW Smart Watch Women Men Waterproof Smartwatch Bluetooth Calls Blood Oxygen Heart Rate Monitor Fitness Bracelet t
aliexpress.com
$6.75
4 Pieces Assist Bracket Bezels ,5LS52Tzzaa, Durable ,Installation Parts for RAM 1500 2014-2018 Classic 2019
aliexpress.com
$6.14
Jug Gallon Pump Bottledispenser Liquid 1 Handsoapcap Lotion Refillable Empty Water Jugs Shampoo Bottles Containers Container1L
aliexpress.com
$4.40
Protector Case for Apple AirTag with Keychain Cover Anti-lost Space Tracker Locator Device Lanyard Bumper Buckle Armor
aliexpress.com
$8.93
2PCS Cycling Bicycle Grip Covers Anti-Slip Mountain Road Bike MTB Grip Cover Soft Wear-resistant Easy installation Durable JC
aliexpress.com
$66.89
Tibetan Buddhist Stupa with Pearls Relics Buddhas Pagoda Tower Metal Statue for Harmonious Living Space Enhancement 1
joom.com
$2.73
70/86MM Wide Mouth Jar Sprouting Lid Stainless Steel Bean Sprouts Growing Lid Mung Bean Plant Germination Jar Strainer Mesh S
joom.com
$6.10
6 штук Налаштування гітарних струн Напівзакрита машина для налаштування Машинні головки Тюнери для електричних 3L and 3R
joom.com
$18.31
7inch Record HIDEMI ISHIKAWA Mistery Woman Hikou RHS170PROMO RCA 1984 Japan Japanese PopRock Used
joom.com
$16.95
Massive Attack T Shirt Men Tops New Fashion Short Sleeve Tees Mans letter print Tshirt male black t-shirt cotton teeshirt men M
joom.com
$16.95
High Hardness Eye Loupe Sapphire Glass Jewelers Loupe Portable Jewelry Magnifier Gems Inspection 5X
joom.com
$25.54
S-3XL Жіночий літургійний танцювальний комбінезон для хвали: Металізований Колор-Блок Пейчворк з Драматичними Драпіровками та Широкою Силуетною Лінією L жовтий
joom.com
$71.19
Anta Slip Resistant Breathable Lightweight Height Increasing Rebound Low top Casual Running Shoes Men s White Blue 912525537-2 41
joom.com
$46.10
Весняно-осінній чоловічий бавовняний спортивний костюм зі стійкою, світшот, повсякденний стильний кардиган для середнього та похилого віку, вільного крою L вина червоного кольору
joom.com
$9.02
Жіноча атласна довга нічна сорочка, шовкова мереживна білизна, нічна сорочка, одяг для сну, сексуальний халат S чорний
joom.com
$16.50
Осінньо-зимовий термотоп з плюшевою підкладкою, на блискавці, зі стійкою, з довгим рукавом, облягаючого крою, еластичний, повсякденний, однотонний, теплий базовий шар для холодної погоди L вина червоного кольору
joom.com
$18.31
Rapper Jc Reyes Album Tour 2025 Graphic T Shirts Men Women Fashion Hip Hop Retro T Shirt Fashion Casual Oversized T-shirt L
joom.com
$64.41
Ferrari Suit Spring and Autumn Men s and Women s Hooded Sweatshirts Personalized Trendy Casual Pullover Tops XXL чорний
joom.com
$5.97
Шкіряний чохол із тисненням Lily Fower для Realme GT6 Realme C61 C67 C55 C53 C63 C31 C33 Гаманець із підставкою, кришка слота для карток для кобури Narzo N55 N53 50A Realme Narzo 50 4G коричневий
joom.com
$5.88
Свіжі Квіти та Рослини для Чохла для Телефону IPhone 15 Promax Apple 14 Кремовий Чохол 12 Нішевий Креативний 11 Дзеркальний Honor X30i
joom.com







