Reply to topic  [ 1 post ] 
Hobby Components 1602 SmartLCD (HCMODU0122) 
Author Message
Site Admin

Joined: Sun Aug 05, 2012 4:02 pm
Posts: 650
Post Hobby Components 1602 SmartLCD (HCMODU0122)

The 1602 SmartLCD module is a serially controlled 2 line by 16 character alphanumeric LCD display. Unlike most serial LCD modules on the market the 1602 SmartLCD includes a microcontroller which gives the module a rich set of features. It also requires no software or libraries to initialise the display, output text to the screen or control the features of the module, which reduces development time and frees up much needed resources in your microcontroller or development board.


To interface to the module there is a choice of serial I2C, allowing more than one screen to be controlled from the same bus, or via a serial UART interface. When controlled via the serial UART there are two further operating modes (AT command mode and passive mode). When in AT command mode all the features of the module can be controlled from simple text based commands. These include controlling backlight and contrast levels and also printing text to the display. In passive mode any printable ASCII characters sent to the module via the UART are automatically printed to the screen. When in passive mode the module will also respond to a number of extended ASCII codes.



16 character by 2 line LCD display module.
Very clear white text with blue backlight.
No software or drivers required to setup or control the module.
Software backlight control with 11 brightness levels.
Software contrast control.
External keypad with buzzer support (optional extra, see item HCKITS0058).
Single 5V operation.

I2C Mode

Control multiple displays from one I2C bus.
Software control of all module features via simple I2C commands.
I2C address configurable via software from 0x08 to 0x77 (default 0x27).
Built-in 10K pull-up resistors for clock SCL and data SDA lines.
Access to external keypad and buzzer.

Serial AT command mode

Software control of all module features via simple AT text commands.
Software configurable baud with 8 different speeds (9600 BAUD default).
Access to external keypad and buzzer.

Serial passive mode

Compatible with 5V serial UART devices (9600 baud default) – no microcontroller required.
Automatically displays any printable ASCII text.
Responds to a number of additional extended ASCII control codes.


Model number: HCMODU0122
Supply voltage: 5V
Display type: 16 character x 2 line alphanumeric LCD
Display technology: STN negative blue / transmissive polariser
Supply current: 27.5mA (backlight on) / 6.5mA (backlight off)
Interfaces: I2C, serial UART and external keypad
Module dimensions: 80mm x 36mm x 17.5mm
Bezel dimensions: 71mm x 24mm

Arduino Example - Printing to the screen in AT command mode

This example demonstrates how simple it is to control the LCD in AT command mode using an Arduino. The example uses the Arduinos built in serial print function to send the AT commands to clear the screen and print 'HELLO WORLD!' to the screen. No special libraries or setting up required! Just connect the LCD to your 5V Arduino as follows:


void setup()
  Serial.begin(9600);                 //Initialise the serial UART

  Serial.println("AT+CLR");           //Clear the screen

void loop()
  Serial.print("AT+PR=");             //Send the AT print command
  Serial.println("HELLO WORLD !");    //Send the text to print. Note the println to send a CR+LF after the text

  while(1);                           //Do nothing

Optional Features - LCD Keypad kit


The SmartLCD's features can be further expanded with the addition of the Smart LCD keypad (see item SKU: HCKITS0058). This add-on board connects to the SmartLCD's keypad header using a single 4 way cable. Once connected it adds the additional features of keypad control (up, down, left, right, select, and back) and audible output to your end application. Access to button states and speaker output is then available via the SmartLCD's I2C or UART interfaces using its built-in commands (see the software section of the SmartLCD manual for more information).

Optional Features – Wireless access


A bonus feature of the Smart LCD, due to it not requiring initialisation by a microcontroller, is it's ability to operate wirelessly using a suitable serial wireless pass-through module. Here in the diagram below you can see a remote control application of the Smart LCD and
keypad with the addition of HC-05 Bluetooth slave (see item SKU: HCARDU0004) and Bluetooth master (see item SKU: HCARDU0064) modules.


The reference manual for the SmartLCD 1602 LCD can be downloaded here:

If you wish to interface the SmartLCD to an Arduino via its I2C interface we have written an Arduino library that will help simplify your sketch. This can be downloaded from the software section of our forum here:

Disclaimer: Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

Fri Jul 07, 2017 3:50 pm
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Thank you to &
Design created by Florea Cosmin Ionut.
© 2011 All contents of this site are © Hobby Components LTD