Description: Product Description 2PCS 4 Key Mcu Keyboard Matrix for Arduiuo DC 0-48V Push Button Switch MEGA2560 DUE Button Breadboard Switch FPGA CPLD STM32 Specifications: Can be inserted directly into Arduiuo uno mega2560,Ideal for linking up to your Arduiuo UNO Pro Mini Nano Mega2560 Breadboard raspberry pi etc,or others MCU ( PLC AVR STM32 ARM PIC AT89C51 MSP430 STM8 Xilinx Altera Lattice FPGA CPLD etc.) 1 4-button Common Cathode key module . 2 " GND K1 K2 K3 K4" 4 PIN OUT 2.54mm 3 Working voltage: Can be DC 1.2V 1.8V 2.5V 3V 3.3V 4.5V 5V 9V 12V 24V 36V 48V 4 Size: 12.7MM x 33MM. 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); } //******************************************************// Note:1. Due to the light and screen difference, the items color may be slightly different from the pictures.2. Please allow 1mm-1cm differences due to manual measurement.Package Included:1x 4 Key Mcu KeyboardAbout UsPaymentShippingTermsContact UsWelcome to our store! We are a professional worldwide wholesale company, with our own factory located in China. We supply many products including video game, health & beauty, phone accessories, computers accessories, camera & camcorder,car accessories, Clothing accessories, games, toys & hobbies, jewelry, antique & craftwork. High product quality,reasonable prices, excellent customer service and a reliable credit standing is our tenet.We accept PayPal only. Payment must be received in 7 business days of auction closing. Please leave note for your special request (e.g. Colors or Size) in PayPal when you pay the order. Any special request cannot be accepted after 24 hours of payment, because most of orders will be processed instantly and same day dispatched.Will ship within 10 business days of receiving cleared payment.The shipping time details, please read the shipping and delivery together with the price.We ship to your PayPal address. Please make sure your PayPal address is correct before you pay.Considering the cost of business and easy shipping, usually the item is packed in retail packaging.CountryShipping Time Working Days + Saturday + Sunday5-78-1516-2021-2526-30>31United StatesRate(item arrived)5.1%50.1%29.6%10.5%4.7%RefundUnited KingdomRate(item arrived)9.9%63.2%19.1%3.4%4.4%RefundAustraliaRate(item arrived)21.4%50.0%14.3%7.2%7.1%RefundFranceRate(item arrived)10.5%28.6%43.8%10.1%7.0%RefundGermanyRate(item arrived)11.1%22.2%30.3%20.9%15.5%RefundCanadaRate(item arrived)0.0%47.1%31.4%17.6%3.9%RefundSpainRate(item arrived)3.7%24.1%48.2%13.8%10.2%RefundIf this item is defective upon receipt, customer has up to 14 days from date of receipt for exchange of a new one.But buyers should be pay for the shipping charge for returning. We care about our valued customers, and are always willing to work things out. If you have any problems, please e-mail us immediately.If you have any questions, please feel free to send eBay message to us, our service specialists 24 Hours a Day, 7 Days a Week (maybe there is some delay in weekends). Our aim is to provide Top Level Customer Service, normally so we will try our best to solve any problem. Please DONT leave negative or neutral feedback if you havent received item in 30 days, because we have mentioned the shipping time repeatedly.About UsWelcome to our store! We are a professional worldwide wholesale company, with our own factory located in China. We supply many products including video game, health & beauty, phone accessories, computers accessories, camera & camcorder,car accessories, Clothing accessories, games, toys & hobbies, jewelry, antique & craftwork. High product quality,reasonable prices, excellent customer service and a reliable credit standing is our tenet.PaymentWe accept PayPal only. Payment must be received in 7 business days of auction closing. Please leave note for your special request (e.g. Colors or Size) in PayPal when you pay the order. Any special request cannot be accepted after 24 hours of payment, because most of orders will be processed instantly and same day dispatched.ShippingItem will be shipped out within 48 hours upon receipt of your payment.The shipping time details, please read the shipping and delivery together with the price.We ship to your PayPal address. Please make sure your PayPal address is correct before you pay.Considering the cost of business and easy shipping, usually the item is packed in retail packaging.CountryShipping Time Working Days + Saturday + Sunday5-78-1516-2021-2526-30>31United StatesRate(item arrived)5.1%50.1%29.6%10.5%4.7%RefundUnited KingdomRate(item arrived)9.9%63.2%19.1%3.4%4.4%RefundAustraliaRate(item arrived)21.4%50.0%14.3%7.2%7.1%RefundFranceRate(item arrived)10.5%28.6%43.8%10.1%7.0%RefundGermanyRate(item arrived)11.1%22.2%30.3%20.9%15.5%RefundCanadaRate(item arrived)0.0%47.1%31.4%17.6%3.9%RefundSpainRate(item arrived)3.7%24.1%48.2%13.8%10.2%RefundTermsIf this item is defective upon receipt, customer has up to 14 days from date of receipt for exchange of a new one.But buyers should be pay for the shipping charge for returning. We care about our valued customers, and are always willing to work things out. If you have any problems, please e-mail us immediately.Contact UsIf you have any questions, please feel free to send eBay message to us, our service specialists 24 Hours a Day, 7 Days a Week (maybe there is some delay in weekends). Our aim is to provide Top Level Customer Service, normally so we will try our best to solve any problem. Please DONT leave negative or neutral feedback if you havent received item in 30 days, because we have mentioned the shipping time repeatedly.powered by
Price: 6.59 USD
Location: Shenzhen
End Time: 2025-01-15T10:53:17.000Z
Shipping Cost: 2 USD
Product Images
Item Specifics
Restocking Fee: No
Return shipping will be paid by: Buyer
All returns accepted: Returns Accepted
Item must be returned within: 30 Days
Refund will be given as: Money Back
Brand: Unbranded