I2C Serial LCD 1602 Module
This 16 character by 2 line display has a very clear and high contrast white text upon a blue background/backlight. It also includes a serial I2C/IIC adaptor board pre-soldered to the back of the LCD....
This 16 character by 2 line display has a very clear and high contrast white text upon a blue background/backlight. It also includes a serial I2C/IIC adaptor board pre-soldered to the back of the LCD. This means it can be controlled with just 2 I2C serial data pins (SDA & SCL) and so requires far less digital IO pins when controlled from a microcontroller. In total the module only requires 4 wires including 5V power and GND. Contrast adjustment is also provided by the daughter board via a potentiometer. If you plan to use this with an Arduino board you can download a compatible library and example sketch from our support forum here.
Product Code HCARDU0023
Features 64mm x 14mm LCD display, supports IIC / I2C
Application DIY Arduino based project. Allows remote panel mounting. Requires only 2 IO pins.
Notes:
These modules are currently supplied with a default I2C address of either 0x27 or 0x3F. To determine which version you have check the black I2C adaptor board on the underside of the module. If there a 3 sets of pads labelled A0, A1, & A2 then the default address will be 0x3F. If there are no pads the default address will be 0x27.
The module has a contrast adjustment pot on the underside of the display. This may require adjusting for the screen to display text correctly.
If pressure is applied to the I2C daughter board it is possible for it to bend and come contact with the LCD module. Please ensure when the LCD is installed in your application that no external object is applying pressure to the back of the module.
Model |
YwRobot |
Quantity | 1 |
Features | 2.6" LCD display, supports IIC / I2C |
Application | DIY Arduino based project. Allows remote panel mounting. Requires only 2 IO pins. |
PINOUT | |
---|---|
PIN | DESCRIPTION |
1 | GND |
2 | VCC (+5V) |
3 | SDA |
4 | SCL |
Example code with library download can be found in our forum.
EXAMPLE CODE
ARD_LCD_HCARDU0023_SPI_Hello_World_Example.pde
/* FILE: ARD_LCD_HCARDU0023_I2C_Hello_World_Example.pde DATE: 07/09/12 VERSION: 0.1 This is a simple example of how to use the Hobby Components I2C LCD module (HCARDU0023). To use this module you will require the appropriate library which can be downloaded from the modules section of our support forum at the following location: http://forum.hobbycomponents.com This code also demonstrates the correct pin assignment for the LCD. When you run this program you should see a greeting message appear on the display. DEVICE PINOUT (SPI Interface): PIN 1: GND PIN 2: +5V PIN 3: SDA - Connect to Arduino analogue PIN 4 PIN 4: SCL - Connect to Arduino analogue PIN 5 You may copy, alter and reuse this code in any way you like but please leave reference to hobbycomponents.com in your comments if you redistribute this code. */ /* Include the SPI/IIC Library */ #include <Wire.h> #include <LiquidCrystal_I2C.h> /* Initialise the LiquidCrystal library. Note that the displays will have a default I2C address of either 0x27 or 0x3F. Uncomment one of the lines below depending on the address of your module. */ //LiquidCrystal_I2C lcd(0x27,20,4); LiquidCrystal_I2C lcd(0x3F,20,4); void setup() { /* Initialise the LCD */ lcd.begin(); } /* Main program loop */ void loop() { /* Make sure the backlight is turned on */ lcd.backlight(); /* Output the test message to the LCD */ lcd.setCursor(0,0); lcd.print("HOBBY COMPONENTS"); lcd.setCursor(0,1); lcd.print("**HELLO WORLD**"); /* Do nothing */ while(1); }
Specific References
16 other products in the category
XD-39B 5050 Full-Colour LED...
A break-out board for an integrated RGB LED module. The module has 3 separate LED's (Red,...
Flexible Digitally...
A flexible full colour RGB LED light strip (HCOPTO0028). Each LED within the strip can be...
Low Power 2.4 inch 128x64...
This 2.4” LCD monochrome ultra-low power graphical display has a resolution of 128x64 pixels...
Hobby Components SmartLCD...
The SmartLCD Keypad Kit is an optional add-on for the Hobby Components SmartLCD (HCMODU0122)....
HT1621 6 Digit 7 Segment...
This item is a 6 digit 7-segment LCD display module. It features large black LCD digits...
1.3" SH1106 uOLED Display...
A larger 1.3" version of our ultra low power tiny uOLED display module. This display has the...
3.2 inch Colour TFT Module...
A 3.2" colour TFT display module compatible with 3.3V microcontrollers such as the Arduino...
- Currently Out of Stock
Hobby Components 1602 SmartLCD
The 1602 SmartLCD module is a serially controlled 2 line by 16 character alphanumeric LCD...
16 x 2 Character...
A 16 x 2 line alphanumeric character display. This LCD features a parallel interface...
3.2 inch Colour TFT Arduino...
This 3.2" Colour TFT is an Arduino compatible shield that will plug directly into common types...
- Currently Out of Stock
MAX7219 Serial Dot Matrix...
This 8x8 serial dot matrix LED module (HCOPTO0014) allows you to experiment with dot matrix...
- Currently Out of Stock
2.4" Colour TFT touch...
This feature rich 262K colour TFT module (HCARDU0083) has a resolution 320 x 240 pixels (QVGA)...
- Currently Out of Stock