Description
This is a 16×2 LCD and Keypad shield for Arduino Uno, Diecimila, Duemilanove and Freeduino boards.
- Blue Backlight with white words
- uses 4 Bit Arduino LCD Library
- Left, Right, Up, Down and Select buttons
- Screen contrast adjustment
- Arduino Reset button
The board uses different pins to the Arduino example sketches, so to make the display work, use the following sequence of pins when starting the library:
LiquidCrystal lcd(8,9,4,5,6,7);
The buttons are connected to only one analog input pin through resistors to give a different voltage for each button, thus saving on input/output pins. Reading the buttons is easy and example code is shown below
Pin Connections
Pin | Function |
Analog 0 | Buttons (select, up, right, down and left) |
Digital 4 | DB4 |
Digital 5 | DB5 |
Digital 6 | DB6 |
Digital 7 | DB7 |
Digital 8 | RS (Data or Signal Display Selection) |
Digital 9 | Enable |
Note: Do not use pin Digital 10 when this board is plugged in (see here for more details)
The board is a little bigger than an Arduino UNO (measuring 8cm x 6cm). This can be seen in the images.
// include the library code: #include <LiquidCrystal.h> // initialize the library with the numbers of the interface pins LiquidCrystal lcd(8, 9, 4, 5, 6, 7); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); // Print a message to the LCD. lcd.setCursor(0,0); lcd.print("LCD Key Shield"); lcd.setCursor(0,1); lcd.print("Press Key:"); } void loop() { int x; x = analogRead (0); lcd.setCursor(10,1); if (x < 60) { lcd.print ("Right "); } else if (x < 200) { lcd.print ("Up "); } else if (x < 400){ lcd.print ("Down "); } else if (x < 600){ lcd.print ("Left "); } else if (x < 800){ lcd.print ("Select"); } }
Additional information
Weight | 0.021 kg |
---|
You must be logged in to post a review.
4WD Smart Robot Car Chassis Kit
Crystal Oscillator 2Pin HC-49S 20MHZ
SMD Chip Resistor size 0603 2.2K Ohm
SN74LS93N 4bit Binary Counter DIP14 IC
DMM MULTIMETER UNI-T UT-33D
Carbon Resistor 0.25W 4.7K Ohm
Refund Policy for UGE Electronics “Https://uge-one.com “
1. Returns and Refunds
Thank you for shopping at UGE Electronics “Https://uge-one.com “. If you are not entirely satisfied with your purchase, we’re here to help.
2. Eligibility for Refund
To be eligible for a refund, please make sure that:
– The item was purchased in the last 14 days.
– The item is in the original packaging.
– The item isn’t used or damaged.
3. How to Initiate a Refund
To initiate a refund, please contact our customer support at [[email protected]] or [01066552125]. Provide your order number and details about the product you would like to return.
4. Refund Processing Time
Once we receive your item, we will inspect it and notify you that we have received your returned item. We will immediately notify you on the status of your refund after inspecting the item.
If your return is approved, we will initiate a refund to your credit card (or original method of payment). You will receive the credit within a certain amount of days, depending on your card issuer’s policies.
5. Shipping Costs
Shipping costs are non-refundable. If you receive a refund, the cost of return shipping will be deducted from your refund.
6. Exchanges
If you wish to exchange an item, please contact our customer support. You will be responsible for the return shipping costs, and we will cover the shipping costs of the replacement item.
7. Damaged or Defective Items
If you received a damaged or defective product, please contact us immediately for assistance. We will work with you to resolve the issue promptly.
8. Contact Information
If you have any questions about our Refund Policy, please contact us at [[email protected]].
Important Note: This Return & Refund Policy is applied only for Orders invoiced VIA UGE Electronics, and regarding any Orders has been invoiced VIA any Other Vendor you can check the Return & Refund Policy of this Vendor VIA the Vendor Stroe Page, and it’s not our responsibility for any issue between you and the Vendor.
Reviews
There are no reviews yet.