Chip Award Winner
Product of the Year 2012
Chip Award

LCD 20x4 Bricklet

Features

  • 20x4 character alphanumeric display
  • Switchable blue backlight
  • 4 push-buttons

Description

This LCD Bricklet is equipped with a 20x4 character alphanumeric display with blue backlight and four push-buttons. It can be controlled with Bricks. The API allows to write characters to the LCD, get the state of the buttons, switch the backlight on or off and configure events for the buttons.

You can use this Bricklet to display text, for example a name of a song that is played on your PC or measurements from other Bricklets.

Technical Specifications

Property Value
LCD Alphanumeric, 20 chars per line, 4 lines
Current Consumption with Backlight 36mA
   
Backlight Blue, software switchable
Contrast Adjustable with potentiometer
   
Dimensions (W x D x H) 60 x 98 x 22mm (2.36 x 3.86 x 0.86”)*
Weight 96g*

* without screws

Resources

Test your LCD 20x4 Bricklet

To test the LCD 20x4 Bricklet you need to have the Brick Daemon and the Brick Viewer installed (for installation guides click here and here) and the Brick Viewer has to be connected to the Brick Daemon.

Connect the LCD 20x4 Bricklet to a Brick with the supplied cable (see picture below).

LCD 20x4 Bricklet connected to Master Brick

If you connect the Brick to the PC over USB, you should see a new tab named “LCD 20x4 Bricklet” in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.

LCD 20x4 Bricklet in Brick Viewer

Input a string into the text field. You can choose the line and the start position at which the text is displayed. Press “Send Text” to display it. Press “Backlight On” to turn the backlight on. Play around with the four on-board buttons and look how their values change.

After this test you can go on with writing your own application. See the Programming Interface section for the API of the LCD 20x4 Bricklet and examples in different programming languages.

Change LCD’s contrast

To modify the contrast you have to turn the potentiometer on the Bricklet with a screwdriver. The potentiometer is attached next to the Bricklet connector.

Attach external Buttons

The LCD Bricklet can be equipped with a pin header on the right hand side. To attach a switch or a button you have to connect on pin with one input (BTN0 to BTN3) and the other with GND.

Programming Interfaces

High Level Programming Interface

See High Level Programming Interface for a detailed description.

Language API Examples Installation
Modbus API    
TCP/IP API    
C/C++ API Examples Installation
C# API Examples Installation
Delphi API Examples Installation
Java API Examples Installation
PHP API Examples Installation
Python API Examples Installation
Ruby API Examples Installation
VB.NET API Examples Installation
Creative Commons Licence The content of this page is licensed under Creative Commons Attribution 3.0 Unported License.