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 a LCD 20x4 Bricklet you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the LCD 20x4 Bricklet to a Brick with a Bricklet 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.
A laser-cut case for the LCD 20x4 Bricklet is available.
The assembly is easiest if you follow the following steps:
Below you can see an exploded assembly drawing of the LCD 20x4 Bricklet case:
Hint: There is a protective film on both sides of the plates, you have to remove it before assembly.
See Programming Interface for a detailed description.
|Visual Basic .NET||API||Examples||Installation|