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.
|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”)*|
* without screws
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).
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.
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.
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.
See High Level Programming Interface for a detailed description.