FREE SHIPPING FOR ALL ORDERS OF ৳15000
Facebook Twitter Pinterest linkedin Telegram
  • NEWSLETTER
  • CONTACT US
  • FAQs
SIGMATECHBD SIGMATECHBD
Select category
  • Select category
  • ACS-150
  • ACS-355
  • ACS-880
  • Altivar 71
  • Analog ICs
  • Arduino
  • Arduino Kits
  • ATV 320
  • AUDIO
  • Battery
  • Best Selling product
  • Breakout Boards
  • Burners/Programmers
    • PIC
  • Buy Project
  • Cables and Connectors
    • Socket
  • Capacitor
  • Components
  • Computer
  • Computer & Accessories
    • Laptop and Desktop Accessories
  • D-series
  • Data Cable
    • Allenbradley
    • Delta
    • Fuji
    • Hi-Tech
    • HMI TouchWin
    • HMI Weintek
    • LS
    • Mitsubishi
    • Omron
    • Panasonic
    • Schnider
    • Siemens
  • Delta VFD B
  • Development Boards
    • Respberry Pi
  • Digital ICs
  • Digital multimeter
  • Diode
  • Displays
  • Drivers
  • Drivers
  • Drone
  • E-series
  • Education kit
  • EL-series
  • ESC & BSC
  • Featured
  • Featured Products
  • Flight Controller
  • FR-100
  • FR-200
  • Frame
  • GSM/GPS/GPRS
  • HMI
    • DOP-B
    • DOP-W
    • LS
    • Mitsubishi
    • TP HMI
  • Home Appliances
  • IC5
  • IE5
  • IG5A
  • Inductor
  • Inverter
    • Delta
      • B-series
      • M-series
        • 440V
    • Holip
      • A-100
      • A-series
      • C-100
  • IOT
  • IS5
  • IS5A
  • IS7
  • L-series
  • LED
  • Lighting
  • Magnetic Contactor
    • ABB Magnetic Contactor
    • Havelles M.C
    • Hyundai M.C
    • Ls MC
    • Siemens M.C
      • 3RT M.C
  • Meters
  • Micro Controllers
  • miscellaneous
  • Mitshubishi
    • E-Series
    • F-Series
  • Mobile Accessories
  • Module
    • Realy
  • Modules
  • PCB PRINTING
  • PLC
    • A-series
    • Omron
      • CJ
      • CP1H
    • S7-200
      • Analog Input / Output module
      • Analog Input Module
      • Analog Output Module
      • CPU
      • Digital I/O Module
    • S7-300
    • Siemens
      • S7-1200
      • Siemens Logo
        • CPU
  • Propeller
  • Regulator
  • Resistor
  • Robotics
    • Motors
  • Sensors
  • siemens
  • SINAMICS G120
  • Sinamics V20
  • Software
    • PLC SOFTWARE
  • SOLAR
  • SP-110
  • Starter Kits
  • Switching Device
  • Tools
  • trainer board
  • Transformer
  • Transistor
  • Uncategorized
  • VE-series
  • VLT 2800
  • VLT FC51
  • Wheels
  • Wireless
Login / Register
0 Wishlist
0 Compare
0 items / ৳ 0.00
Menu
SIGMATECHBD SIGMATECHBD
0 items / ৳ 0.00
Browse Categories
  • PCB PRINT
  • Training/Course
  • Buy Project
  • Starter Kits
  • Burners/Programmers
    • PIC
  • Development Boards
    • Respberry Pi
  • Arduino
  • Robotics
    • Drivers
    • Drivers
    • Motors
    • Wheels
  • Computer & Accessories
    • Phone and Tab Accessories
    • Laptop and Desktop Accessories
  • GSM/GPS/GPRS
  • Wireless
  • IOT
  • Home Appliances
  • Arduino Kits
  • Breakout Boards
  • Modules
    • Module
  • Micro Controllers
  • Analog ICs
  • Digital ICs
  • Displays
  • Cables & Connectors
    • Socket
  • Components
    • Capacitor
    • Inductor
    • LED
    • Resistor
  • Switching Device
    • Diode
    • Regulator
      • Linear
      • Transformer
    • Transistor
  • miscellaneous
    • Battery
    • Realy
  • Sensors
  • Tools
  • PLC
    • Allenbradly
    • Delta
      • DVP-Series
    • Fatek
    • Fuji
    • LS
      • Master-K120S
      • XGB
      • XGT
    • Mitshubishi
      • FX-Series
      • Q-Series
      • QNA-Series
    • Omron
      • CJ
      • CP1E
      • CP1H
      • CPM
    • Panasonic
      • FP-X
      • FP0R
    • Siemens
      • S7-200
        • Analog Input / Output module
        • Analog Input Module
        • Analog Output Module
        • CPU
        • Digital I/O Module
        • Digital Output Module
      • S7-300
      • S7-1200
      • S7-1500
      • Siemens Logo
        • Analog Input Module
        • Analog Output Module
        • CPU
        • Digital Input/Output module
    • Schnider
    • Xinje
      • XC
  • Data Cable
    • Allenbradley
    • Delta
    • Fuji
    • Hi-Tech
    • HMI Weintek
    • LS
    • Mitsubishi
    • Omron
    • Panasonic
    • Schnider
    • Siemens
  • HMI
    • Delta
    • DOP-B
    • DOP-W
    • Ls
    • Mitsubishi
    • TP HMI
  • Inverter
    • Delta
      • B-series
      • M-series
      • Delta
    • Holip
      • A-series
      • C-100
    • Mitsubishi
      • E-Series
      • F-Series
  • Magnetic Contactor
    • ABB Magnetic Contactor
    • Havelles M.C
    • Hyundai M.C
    • Ls MC
    • Siemens M.C
      • 3RT M.C
      • 3TF M.C
  • Audio
  • Solar
  • Software
    • Cable Driver
    • PLC SOFTWARE
    • HMI Software
  • Digital Lab
  • Computer
  • Computer & Accessories
  • VLT 2800
  • VLT FC51
  • Home
  • Blog
  • Training Course
  • PCB PRINT
  • SPECIAL OFFER
  • SHOPPING PROCESS
-61%Sold out
Click to enlarge
Home » Products » Arduino LCD KeyPad Shield
Previous product
32 MHz Crystal Oscillator ৳ 8.00 – ৳ 9.50
Back to products
Next product
26 MHz Crystal Oscillator ৳ 8.00 – ৳ 9.00

Arduino LCD KeyPad Shield

৳ 300.00 – ৳ 330.00

SigmatechBD,Bangladesh

Clear
Compare
Add to wishlist
SKU: N/A Category: Arduino Tags: arduino lcd keypad shield, arduino lcd keypad shield clock, arduino lcd keypad shield connection, arduino lcd keypad shield example code, arduino lcd keypad shield example code wiki, arduino lcd keypad shield example menu, arduino lcd keypad shield library, arduino lcd keypad shield pinout, arduino lcd keypad shield projects, arduino lcd keypad shield schematic, arduino lcd shield projects, dfrobot lcd keypad shield tutorial
Share
Facebook Twitter Pinterest linkedin Telegram
  • Description
  • Additional information
  • SPECIFICATIONS
  • DOCUMENTS
  • VIDEO
  • Shipping & Delivery
Description

Arduino LCD Keypad Shield features an on board 16X2 LCD and a keypad consisting of six keys. The keys are-Select,Left,Right,Up,Down and Reset. The shield features all necessery pinouts with which you can interface any other device with the shield even when it is already connected to Arduino.

Diagram

LCD&Keypad Shield Diagram

Example use of LiquidCrystal library

//Sample using LiquidCrystal library
#include <LiquidCrystal.h>

/*******************************************************

This program will test the LCD panel and the buttons
Mark Bramwell, July 2010

********************************************************/

// select the pins used on the LCD panel
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

// define some values used by the panel and buttons
int lcd_key     = 0;
int adc_key_in  = 0;
#define btnRIGHT  0
#define btnUP     1
#define btnDOWN   2
#define btnLEFT   3
#define btnSELECT 4
#define btnNONE   5

// read the buttons
int read_LCD_buttons()
{
 adc_key_in = analogRead(0);      // read the value from the sensor 
 // my buttons when read are centered at these valies: 0, 144, 329, 504, 741
 // we add approx 50 to those values and check to see if we are close
 if (adc_key_in > 1000) return btnNONE; // We make this the 1st option for speed reasons since it will be the most likely result
 // For V1.1 us this threshold
 if (adc_key_in < 50)   return btnRIGHT;  
 if (adc_key_in < 250)  return btnUP; 
 if (adc_key_in < 450)  return btnDOWN; 
 if (adc_key_in < 650)  return btnLEFT; 
 if (adc_key_in < 850)  return btnSELECT;  

 // For V1.0 comment the other threshold and use the one below:
/*
 if (adc_key_in < 50)   return btnRIGHT;  
 if (adc_key_in < 195)  return btnUP; 
 if (adc_key_in < 380)  return btnDOWN; 
 if (adc_key_in < 555)  return btnLEFT; 
 if (adc_key_in < 790)  return btnSELECT;   
*/


 return btnNONE;  // when all others fail, return this...
}

void setup()
{
 lcd.begin(16, 2);              // start the library
 lcd.setCursor(0,0);
 lcd.print("Push the buttons"); // print a simple message
}
 
void loop()
{
 lcd.setCursor(9,1);            // move cursor to second line "1" and 9 spaces over
 lcd.print(millis()/1000);      // display seconds elapsed since power-up


 lcd.setCursor(0,1);            // move to the begining of the second line
 lcd_key = read_LCD_buttons();  // read the buttons

 switch (lcd_key)               // depending on which button was pushed, we perform an action
 {
   case btnRIGHT:
     {
     lcd.print("RIGHT ");
     break;
     }
   case btnLEFT:
     {
     lcd.print("LEFT   ");
     break;
     }
   case btnUP:
     {
     lcd.print("UP    ");
     break;
     }
   case btnDOWN:
     {
     lcd.print("DOWN  ");
     break;
     }
   case btnSELECT:
     {
     lcd.print("SELECT");
     break;
     }
     case btnNONE:
     {
     lcd.print("NONE  ");
     break;
     }
 }

}

Example use of Enhanced LiquidCrystal_I2C library(Not updated)

This library inherits LiquidCrystal and adds another method: button – to read button pushed on a keypad. This works on the Old version of the board V1.0

Library Forum

/*
DFRobot LCD Shield for Arduino
Key Grab v0.2
Written by Glendon Klassen
gjklassen@gmail.com
http://www.sourceforge.net/users/ecefixer
http://ecefixer.tumblr.com

Displays the currently pressed key on the LCD screen.

Key Codes (in left-to-right order):

None   - 0
Select - 1
Left   - 2
Up     - 3
Down   - 4
Right  - 5

*/

#include <LiquidCrystal.h>
#include <DFR_Key.h>

//Pin assignments for DFRobot LCD Keypad Shield
LiquidCrystal lcd(8, 9, 4, 5, 6, 7); 
//---------------------------------------------

DFR_Key keypad;

int localKey = 0;
String keyString = "";
                 
void setup() 
{ 
  lcd.begin(16, 2);
  lcd.clear();
  lcd.setCursor(0, 0);
  lcd.print("Key Grab v0.2");
  delay(2500);
  
  /*
  OPTIONAL
  keypad.setRate(x);
  Sets the sample rate at once every x milliseconds.
  Default: 10ms
  */
  keypad.setRate(10);

}

void loop() 
{ 
  /*
  keypad.getKey();
  Grabs the current key.
  Returns a non-zero integer corresponding to the pressed key,
  OR
  Returns 0 for no keys pressed,
  OR
  Returns -1 (sample wait) when no key is available to be sampled.
  */
  localKey = keypad.getKey();
  
  if (localKey != SAMPLE_WAIT)
  {
    lcd.clear();
    lcd.setCursor(0, 0);
    lcd.print("Current Key:");
    lcd.setCursor(0, 1);
    lcd.print(localKey);
  }
}

 

Old libraries for V1:

  • LCDKeypad
  • DFR_Key

 

Additional information
price by quantity

1-9, 10-99, 10-99 pieces, 100+, 100+ pieces, 9-99 pieces

SPECIFICATIONS

SPECIFICATIONS

The LCD Keypad shield is developed for Arduino compatible boards, to provide a user-friendly interface
that allows users to go through the menu, make selections etc. It consists of a 1602 white character blue
backlight LCD. The keypad consists of 5 keys — select, up, right, down and left. To save the digital IO
pins, the keypad interface uses only one ADC channel. The key value is read through a 5 stage voltage
divider

DOCUMENTS

DOCUMENTS

Datasheet 

VIDEO

VIDEO

Shipping & Delivery

Reviews

There are no reviews yet.

Be the first to review “Arduino LCD KeyPad Shield” Cancel reply
Social connect:
Login Login with facebook

Your email address will not be published. Required fields are marked *

Related products

-3%
Compare
Quick view
Add to wishlist
Close

Arduino Pro Mini

Rated 5.00 out of 5
৳ 160.00 – ৳ 165.00

In stock

Select options
-16%Sold out
Arduino mega 2560
Compare
Quick view
Add to wishlist
Close

Arduino mega 2560

৳ 720.00 – ৳ 735.00

Out of stock

Select options
-13%Sold out
Arduino Uno - R3
Compare
Quick view
Add to wishlist
Close

Arduino Uno – R3

৳ 390.00 – ৳ 400.00

Out of stock

Select options
-29%Sold out
Arduino nano v3
Compare
Quick view
Add to wishlist
Close

Arduino Nano V3.0

৳ 250.00 – ৳ 265.00

Out of stock

Select options
-21%
Compare
Quick view
Add to wishlist
Close

Arduino Pro Micro

Rated 5.00 out of 5
৳ 450.00 – ৳ 480.00

2 in stock

Select options
-45%
Arduino and Breadboard Holder
Arduino_and_Breadboard_Holder_
Compare
Quick view
Add to wishlist
Close

Arduino and Breadboard Holder

৳ 250.00 – ৳ 280.00

2 in stock

Select options
-14%
DollaTek Mini PFM Control DC-DC 0.9V-5V to USB 5V DC Boost Step-up Power Supply Module
Compare
Quick view
Add to wishlist
Close

DollaTek Mini PFM Control DC-DC 0.9V-5V to USB 5V DC Boost Step-up Power Supply Module

৳ 70.00 – ৳ 74.00

In stock

Select options
-2%Sold out
Arduino Uno SMD
Compare
Quick view
Add to wishlist
Close

Arduino Uno SMD

৳ 410.00 ৳ 400.00

Out of stock

Read more

Shipping in Dhaka only 50taka

Dhaka -50 tk & Others area 100tk

24/7 Support.

Our support team are always ready for you.

Online & offline Payment.

We are allowing offline and online payment

Fast Delivery.

We are delivering between 72hours.

যোগাযোগঃ 69/E পান্থপথ, ঢাকা 1205

মোবাইলঃ ০১৭২৮৮৯৩৯৬৮

All Right Reserved Sigmatechbd.com
Home
Shop
My account
Live Chat????

Shopping cart

close
  • PCB PRINT
  • Training/Course
  • Buy Project
  • Starter Kits
  • Burners/Programmers
    • PIC
  • Development Boards
    • Respberry Pi
  • Arduino
  • Robotics
    • Drivers
    • Drivers
    • Motors
    • Wheels
  • Computer & Accessories
    • Phone and Tab Accessories
    • Laptop and Desktop Accessories
  • GSM/GPS/GPRS
  • Wireless
  • IOT
  • Home Appliances
  • Arduino Kits
  • Breakout Boards
  • Modules
    • Module
  • Micro Controllers
  • Analog ICs
  • Digital ICs
  • Displays
  • Cables & Connectors
    • Socket
  • Components
    • Capacitor
    • Inductor
    • LED
    • Resistor
  • Switching Device
    • Diode
    • Regulator
      • Linear
      • Transformer
    • Transistor
  • miscellaneous
    • Battery
    • Realy
  • Sensors
  • Tools
  • PLC
    • Allenbradly
    • Delta
      • DVP-Series
    • Fatek
    • Fuji
    • LS
      • Master-K120S
      • XGB
      • XGT
    • Mitshubishi
      • FX-Series
      • Q-Series
      • QNA-Series
    • Omron
      • CJ
      • CP1E
      • CP1H
      • CPM
    • Panasonic
      • FP-X
      • FP0R
    • Siemens
      • S7-200
        • Analog Input / Output module
        • Analog Input Module
        • Analog Output Module
        • CPU
        • Digital I/O Module
        • Digital Output Module
      • S7-300
      • S7-1200
      • S7-1500
      • Siemens Logo
        • Analog Input Module
        • Analog Output Module
        • CPU
        • Digital Input/Output module
    • Schnider
    • Xinje
      • XC
  • Data Cable
    • Allenbradley
    • Delta
    • Fuji
    • Hi-Tech
    • HMI Weintek
    • LS
    • Mitsubishi
    • Omron
    • Panasonic
    • Schnider
    • Siemens
  • HMI
    • Delta
    • DOP-B
    • DOP-W
    • Ls
    • Mitsubishi
    • TP HMI
  • Inverter
    • Delta
      • B-series
      • M-series
      • Delta
    • Holip
      • A-series
      • C-100
    • Mitsubishi
      • E-Series
      • F-Series
  • Magnetic Contactor
    • ABB Magnetic Contactor
    • Havelles M.C
    • Hyundai M.C
    • Ls MC
    • Siemens M.C
      • 3RT M.C
      • 3TF M.C
  • Audio
  • Solar
  • Software
    • Cable Driver
    • PLC SOFTWARE
    • HMI Software
  • Digital Lab
  • Computer
  • Computer & Accessories
  • VLT 2800
  • VLT FC51
  • Wishlist
  • Compare
  • Login / Register

Sign in

close

Social connect:
Login Login with facebook

Lost your password?
No account yet? Create an Account
Scroll To Top
করোনা ভাইরাস সতর্কতা জনিত কারণ ও স্টক আউট জনিত কারণে আমাদের সার্ভিস আপাতত বন্ধ আছে। সার্ভিস চালু হওয়া মাত্রই আমাদের ওয়েবসাইটে আপডেট জানতে পারবেন। ধন্যবাদ।