eBay
Below item is powered by Canton-electronics Ltd .
 
Product Name: Key Switch Keyboard Button Module Board for Arduino UNO MEGA2560 MCU Breadboard
 
No matter how many pieces you buy the board, you only need to pay $2 shipping
 
Module No.:  TB307
 
 
Packing list:
 
1 PCS  3-button Common Cathode key module(Does not include Arduino UNO)

Description: 
 
Can be inserted directly into Arduino uno mega2560,Ideal for linking up to your  Arduino UNO Mini Nano Mega2560 etc,or others MCU ( AVR STM32 ARM PIC AT89C51 STC MSP430 FPGA CPLD etc.) 
   
3-button Common Cathode key module .
 
2 "Ka Kb Kc GND" 4 PIN OUT  2.54mm
 
3 Size: 34MM x 15MM.
 
Circuit schematics : 
 
 
 
 
 
Arduino uno/mega2560 Code
You can buy RED LED module,click here.
 
//******************************************************//

/*
  Arduino_3key_6led
 
  This example code is in the public domain.
 */
 
// Define key pin
int Ka = 11;
int Kb = 12;
int Kc = 13;
// Define led pin
int GND = 6;
int D1 = 5;
int D2 = 4;
int D3 = 3;
int D4 = 2;
int D5 = 1;
int D6 = 0;

// 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(Ka, INPUT);
  pinMode(Kb, INPUT);
  pinMode(Kc, INPUT);
 
 // initialize the leds pin as an output. 
pinMode(GND, OUTPUT); 
pinMode(D1, OUTPUT);  
pinMode(D2, OUTPUT);
pinMode(D3, OUTPUT); 
pinMode(D4, OUTPUT); 
pinMode(D5, OUTPUT); 
pinMode(D6, OUTPUT); 

//Activate key pin internal pull-up resistors
digitalWrite(Ka, HIGH);
digitalWrite(Kb, HIGH);
digitalWrite(Kc, HIGH);


//as LED GND
digitalWrite(GND, LOW); 
}

// the loop routine runs over and over again forever:
void loop() {
 
 
  buttonState = digitalRead(Ka);
  digitalWrite(D1, buttonState);   //
 
  buttonState = digitalRead(Kb);
  digitalWrite(D2, buttonState);   //
 
  buttonState = digitalRead(Kc);
  digitalWrite(D3, buttonState);   //
 
  digitalWrite(D4, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(D5, HIGH);   // turn the LED on (HIGH is the voltage level)
  digitalWrite(D6, HIGH);   // turn the LED on (HIGH is the voltage level)
 
 
}

 //******************************************************//
 
Introduction for Shenzhen Canton-electronics Trading Co.,Ltd :
We specialize in RF Wireless Radio Transmitting Units and Receiving Units, the product include transmitters with case, receivers with relay(s), transmittng modules and receiving modules, are widely applied in RC toy, remote sensing, telemetry, fireworks, industrial control, home&garden application.

 

Shipping:
Normally shipping is by Airmail from China Post Air Mail or Hong Kong Post Air Mail ,15-60 days shipping time based on different country .
Express is available, shipping time is 2-7 days all over the world, and telephone number is needed. Please contact us first for extra payment .
 
Benefits
The Best Prices. By working with Canton-electronics Ltd, you can take advantage of the internet business, cut off the wholesalers cost and other costs, and import your products directly from the manufacturer at incredible prices.
Prompt Delivery. Most units are in stock all the time, standard units will be completed within 1-3 days if they are sold out, it is great help for you if your project must be completed before deadline.
Prompt Service. Mails will be replied within 24 hours We work 6 days  a week.
 
Return Policy
All mails will be replied to within 24 hours except on weekend and holidays.
Every item is manufactured under Strict Quality-Assurance Guidelines. If you are dissatisfied for any reason, please return the product to us, and we'll refund your money(not  including  shipping fees).
Please ensure that return items are not used.
Return items must be Posted within 7 days of receipt.
Please inform us via email before posting your return package.
 
PAYMENT
We accept PayPal only. 
We only ship item to your PayPal verified address. 
Payment must be received within 3 Days from the date of purchase. 
Please leave note in PayPal when making the payment if you have any special request (colors/size).

Import tax : 
 We will dispatch the item as SAMPLE or GIFT,  label the total amount on the custom declare invoice .
 Import duties, taxes and charges are not included in the item price or shipping charges. These charges are the buyer’s responsibility. Please check with your country’s customs office to determine what these additional costs will be prior to buying.