Specifications
LCD Keypad Shield for Arduino Duemilanove LCD1602
Features :
This is a 16x2 LCD Keypad module for ARDUINO / Arduino Diecimila Duemilanove / FREEDUINO board..
Blue Backlight with white words
Uses 4 Bit Arduino LCD Library
100% brand new and high quality
The Modified LCD4Bit library and Schematic will send by
GP2D12 ranging code:
#include <LCD4Bit_mod.h>
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;
}
Package Included:
1 x Keypad Shield LCD1602
Ethernet W5100 Shield For Arduino 328 Mega1280 2560(support micro SD card), Free Shipping, DropshippingUS$ 16.85/piece |
5pcs/lot New DHT11 Digital Temperature And Humidity Sensor Moudle Probe For Arduino FZ0068 Free Shipping DropshippingUS$ 19.99/lot 5 pieces / lot |
HC-SR04 Ultrasonic Sensor Distance Measuring Module For Arduino 328 UNO Mega1280 2560US$ 4.50/piece
|
USB Host Shield 2.0 For Arduino FZ0068 Free Shipping Dropshipping(Suppot Google ADK) Free Shipping, DropshippingUS$ 19.99/piece
|
New DHT11 Digital Temperature And Humidity Sensor FZ0067 Free Shipping DropshippingUS$ 18.90/lot 10 pieces / lot |
10DOF Nine- Attitude L3G4200D ADXL345 HMC5883L BMP085 Module Free Shipping DropshippingUS$ 28.50/piece
|
5pcs/Lot 40pcs in Row Dupont Cable 21.5 cm 2.54mm 1pin 1p-1p Female to Femelale Jumper Wire for PICAXE microcontroller Arduino Free Shipping DropshippingUS$ 14.22/lot 5 pieces / lot |
Electronic Compass Compass Module HMC5883L Triple Compass Three- Magnetic Field Sensor Free Shipping WholesaleUS$ 15.75/piece
|
