Taryn Rose

Universal Surface Mounted PCB Keypad Momentary Keypad 2.54mm Pitch Control Key

Description: Brand:Eletechsup Product Name :Universal Surface Mounted PCB Keypad Momentary Keypad 2.54mm Pitch Control Key Description: Ideal for linking up to your raspberry pi AVR STM32 RM PIC AT89C51 STC MSP430 STM8 STM32 XILINX ALTERA FPGA CPLD etc. 1 4-button Common Cathode key module . 2 " GND K1 K2 K3 K4" 4 2.54mm Pads (Can be welded: Wires/Male Pin Header/Female Pin Header) 3 Size: 12.7MM x 33MM. Circuit schematics : 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); } //******************************************************// 66

Price: 6.99 USD

Location: Guangzhou

End Time: 2024-11-02T06:45:02.000Z

Shipping Cost: 0 USD

Product Images

Universal Surface Mounted PCB Keypad Momentary Keypad 2.54mm Pitch Control KeyUniversal Surface Mounted PCB Keypad Momentary Keypad 2.54mm Pitch Control KeyUniversal Surface Mounted PCB Keypad Momentary Keypad 2.54mm Pitch Control Key

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

Type: RCA

Country/Region of Manufacture: China

Custom Bundle: No

Manufacturer Warranty: 1 Month

Available Variations

Color: 5 PCS

Price: 11.39 USD

Available Quantity: 10

Quantity Sold: 0

Color: 1 PCS

Price: 6.99 USD

Available Quantity: 10

Quantity Sold: 0

Recommended

42 pcs soft curly single tail plastic grub fishing lure swimbait for summer
42 pcs soft curly single tail plastic grub fishing lure swimbait for summer

$8.99

View Details
Monopoly Go! 3⭐️ Star Stickers-⚡Fast Delivery⚡ Read Description
Monopoly Go! 3⭐️ Star Stickers-⚡Fast Delivery⚡ Read Description

$0.99

View Details
Buffalo Bills Logo Available Multiple Sizes Sticker Decal
Buffalo Bills Logo Available Multiple Sizes Sticker Decal

$3.99

View Details
Pink - 2 Dozen Cured Salmon Spawn Egg Sacks Steelhead Trout Salmon Bait
Pink - 2 Dozen Cured Salmon Spawn Egg Sacks Steelhead Trout Salmon Bait

$18.95

View Details
Shakey Head Bass Jig 5 or 10 Pack Select Color & Weight - Green Pumpkin & More
Shakey Head Bass Jig 5 or 10 Pack Select Color & Weight - Green Pumpkin & More

$11.00

View Details
 Foam Beetle fishing flies  (black/green)
Foam Beetle fishing flies (black/green)

$9.50

View Details
Muskie Musky Topwater Prop Bait Loon Surface Bait Plopper
Muskie Musky Topwater Prop Bait Loon Surface Bait Plopper

$10.99

View Details
Cincinnati Bengals 3'x5' Flag Banner
Cincinnati Bengals 3'x5' Flag Banner

$12.75

View Details
Pack of 120, 25 mm Plastic Round Bases Miniature Wargames Table gaming TEXTURED
Pack of 120, 25 mm Plastic Round Bases Miniature Wargames Table gaming TEXTURED

$8.99

View Details
Tangle Free Perch Rigs #4 Carlisle hooks - New - Hand Made - 12 Colors
Tangle Free Perch Rigs #4 Carlisle hooks - New - Hand Made - 12 Colors

$2.00

View Details