SHENZHEN LINGXIANGXING TECHNOLOGY CO., LTD.
SHENZHEN YOURMESTUDIO TECHNOLOGY CO., LTD.
Power Electronic components Manufacturer
Sales & Support 86-755-84578365
Request A Quote - Email
Home
About Us
News
Products
Payment
Contact Us
Request A Quote
HomeProducts LCD Module

LCD Keypad Shield LCD1602 Module Display...

LCD Module LCD Keypad Shield LCD1602 Module Display For Arduino ATMEGA328 ATMEGA2560 raspberry pi UNO yellow an

LCD Module LCD Keypad Shield LCD1602 Module Display For Arduino ATMEGA328 ATMEGA2560 raspberry pi UNO yellow an factory LCD Module LCD Keypad Shield LCD1602 Module Display For Arduino ATMEGA328 ATMEGA2560 raspberry pi UNO yellow an factory LCD Module LCD Keypad Shield LCD1602 Module Display For Arduino ATMEGA328 ATMEGA2560 raspberry pi UNO yellow an factory

Large Image:LCD ModuleLCD Keypad Shield LCD1602 Module Display For Arduino ATMEGA328 ATMEGA2560 raspberry pi UNO yellow an

Product Details:

Place of Origin: CHINA
Brand Name: LXXTECH
Model Number: LXX-0156
Certification:

Payment & Shipping Terms:

Minimum Order Quantity: 20
Price: Good price
Delivery Time:
Payment Terms: TT ,paypal,ESCROW
Supply Ability:
Detailed Product Description


LCD Keypad Shield input and output expansion board with 2-line, 16-character LCD with adjustable contrast and backlight, using an analog port will complete five key input, a reset button, the unused spare IO ports are extended out, make full use of IO ports. Occupation digital ports: PIN4 (DB4), 5 (DB5), 6 (DB6), 7 (DB7), 8 (RS), 9 (E), 10 (backlight control), analog buttons port A0. Used in conjunction with the Arduino:

Pin definition:

Module debugging:
 
 The LCD Keypad Shield plugged into the Arduino controller, then you need to download LCD4Bit_mod.h (Right Save As) library file to arduino-0015 hardware libraries, followed by a test program compiled below and then download to the Arduino, the initial use LCD Keypad Shield, the first observation LCD has no display character, if the character does not appear likely that the contrast is not correct, you can use the screwdriver adjust RP1 (clockwise rotation), characters can be transferred to emerge clearly.

Professional anti-static packaging



Test renderings:

  GP2D12 ranging code: 

#include

LCD4Bit_mod lcd = LCD4Bit_mod(2);

char GP2D12;
char a,b;
char str1[]="Renge:";
char str2[]="   Renge Over   ";
char str3[]="cm";

void setup()
{
  lcd.init();
  lcd.clear();
  lcd.printIn("GP2D12 testing..."); 
}

void loop()
{
      GP2D12=read_gp2d12_range(1);
      if(GP2D12>80||GP2D12<10)
        {
          lcd.cursorTo(2,0); 
          lcd.printIn(str2);     
        }
      else
        {
          a=0x30+GP2D12/10;
          b=0x30+GP2D12%10;          
          lcd.cursorTo(2, 3); 
          lcd.printIn(str1);    
          lcd.print(a);    
          lcd.print(b);
          lcd.printIn(str3);                    
        }    
    delay(50);
}

float read_gp2d12_range(byte pin)
{
 int tmp;
 tmp = analogRead(pin);
 if (tmp < 3)return -1; 
 return (6787.0 /((float)tmp - 3.0)) - 4.0;
}









Contact Details
Shenzhen LINGXIANGXING Technology Co., Ltd.
Shenzhen Yourmestudio Technology Co.,Ltd.

Contact Person: Miss Angela

Tel:86-755-84578365

Fax:86-755-84578365

E-mail:angela@yourmestudio.net

contact by skype contact by email

Send your inquiry direct to us (0 / 3000)

Other Products
LCD Module LCD1602 blue screen with backlight LCD display 1602A-5v
LCD Module 128*64 DOTS LCD module blue screen 5V LCD LCD module blue screen 12864 LCD with backlight ST7920 Par
LCD Module LCD2004 20x4 Character LCD Display Module 5v blue backlight LCD 2004A
LCD Module LCD1602A-5V LCD screen yellow and green screen display with backlight 5V
LCD Module LCD Module LCD1602 blue screen with backlight LCD display 1602A-3.3v
LCD Module LCD Module LCD1602 yellow and green screen screen with backlight LCD display 1602A-3.3v