Select Language:
فارسی انگلیسی
Shopping Cart: (0) items
Welcome, Dear User
Online support
Live Support
Categories
Notifications
NotificationsNotify me of updates to LCD1602 character LCD input and output expansion board LCD Keypad Shield ARDUINO
Shopping Cart
 
0 items
Compare list
No products added for compare!
Login
Email Address:
Password:

Forgot your password?
Create an account
Products Tags
Articles
New Articles
All Articles
All Topics
 Other Articles
Articles RSS Feed

LCD1602 character LCD input and output expansion board LCD Keypad Shield ARDUINO[ARD-00030]products model : ARD-00030

LCD1602 character LCD input and output expansion board LCD Keypad Shield ARDUINO
Price: $5.28$4.65
 
 
LCD1602 character LCD input and output expansion board LCD Keypad Shield ARDUINO

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

 

Pin definition:

 

Debug module:

       The LCD Keypad Shield plugged into the Arduino controller, and then need to download LCD4Bit_mod.h (Save as) the file to the library arduino-0015 hardware libraries, and then compile the following test program will be downloaded to Arduino, the first use LCD Keypad Shield, the first observation there is no LCD display character, if the character does not appear that the contrast may be incorrect, you can use a flat head screwdriver to adjust RP1 (clockwise rotation), transferred to clear character to appear.

 

Professional anti-static packaging

Test renderings:

 

 

GP2D12 ranging codes:

#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;

Add to Compare list Reviews Back
Customers who bought this product also purchased
HC-SR04 Precision Ultrasonic Sensor
HC-SR04 Precision Ultrasonic Sensor
ماژول پتانسیومتر SV01A103AEA01R00 برای تشخیص زاویه چرخش
ماژول پتانسیومتر SV01A103AEA01R00 برای تشخیص زاویه چرخش
Mabuchi RF-500TB-12560 Motor
Mabuchi RF-500TB-12560 Motor
MG996R - 180° High Torque Standard Servo Motor
MG996R - 180° High Torque Standard Servo Motor
WeMos D1 WiFi UNO Development Board ESP8266
WeMos D1 WiFi UNO Development Board ESP8266
Arduino MEGA2560 R3 development board development board acrylic shell
Arduino MEGA2560 R3 development board development board acrylic shell
Arduino Nano MicroUSB CH340G
Arduino Nano MicroUSB CH340G
Raspberry Pi GPIO Ruller
Raspberry Pi GPIO Ruller
Arduino Nano MiniUSB CH340G
Arduino Nano MiniUSB CH340G
APDS-9960 RGB and Gesture Sensor
APDS-9960 RGB and Gesture Sensor
Arduino Due
Arduino Due
Arduino Mega2560 CH340
Arduino Mega2560 CH340
PCF8563 RTC Module
PCF8563 RTC Module
DRV8825 Stepper Motor Driver
DRV8825 Stepper Motor Driver
PCF8591T Module CJMCU
PCF8591T Module CJMCU
A4988 3D Printer Reprap Stepper Motor Driver
A4988 3D Printer Reprap Stepper Motor Driver
Stepper Motor Driver EasyDrive
Stepper Motor Driver EasyDrive
Arduino Uno
Arduino Uno
DC-DC LM2596 USB LED VOLTMETER ADJUSTABLE STEP DOWN MODULE
DC-DC LM2596 USB LED VOLTMETER ADJUSTABLE STEP DOWN MODULE
Step-Down Converter Based on LM2596
Step-Down Converter Based on LM2596
2mm 1x40 pin XBee Socket
2mm 1x40 pin XBee Socket
LM317 Module
LM317 Module
Rotation Sensor Potentiometer Variable Resistor Module
Rotation Sensor Potentiometer Variable Resistor Module
4Key Polycarbonate Keyboard
4Key Polycarbonate Keyboard
5 Key switch with an LED display membrane switch
5 Key switch with an LED display membrane switch
12V 10A 100W small air conditioning refrigeration air conditioning cooling fan pet second edition dual refrigeration chip upgrad
12V 10A 100W small air conditioning refrigeration air conditioning cooling fan pet second edition dual refrigeration chip upgrad
Water Cooling Element 4x4Cm
Water Cooling Element 4x4Cm
12V 2CH Relay Module Relay Expansion Board
12V 2CH Relay Module Relay Expansion Board
DS1307 Clock Module Tiny RTC I2C module 24C32 memory clock
DS1307 Clock Module Tiny RTC I2C module 24C32 memory clock
Monitor matrix keyboard membrane switch membrane switch control panel keys 5 1 * 5
Monitor matrix keyboard membrane switch membrane switch control panel keys 5 1 * 5
SD Card R/W Module
SD Card R/W Module
CO Combustible Gas Sensor Module – MQ9
CO Combustible Gas Sensor Module – MQ9
Air Quality Sensor Module – MQ135LPG LNG Gas Sensor Module – MQ6MQ6 LPG LNG Gas Sensor Module Air Quality Sensor Module – MQ135
Air Quality Sensor Module – MQ135LPG LNG Gas Sensor Module – MQ6MQ6 LPG LNG Gas Sensor Module Air Quality Sensor Module – MQ135
Water Cooling Element 4x12Cm
Water Cooling Element 4x12Cm
large radiator 394x123x32mm 18 pipe
large radiator 394x123x32mm 18 pipe
Carbon Monoxide Sensor Module – MQ7
Carbon Monoxide Sensor Module – MQ7
XBee Explorer USB
XBee Explorer USB