LCD displays are very economic and useful to bring information on real objects. This App demonstrate how to use them in PowerBerry in a nice way. You can connect to the app and if you change the text, in Real-time, the LCD display is updated and the text broadcasted to all open App interface on your network, like a Chat but with in plus, a Real Point of delivery : the LCD.
LCDThe APP is designed for HD44780 compatible display with a display area of 16/20 caracter/column on 2 or 4 lines.
The simpler way to connect your board to the LCD is through I2C GPIO expander, in this way you save GPIO signal for other use.
The app is contained in PowerBerry SUP. For its use please refer to PowerBerry Manager (PBM).
ConfigurationFrom the SetUp page you can configure some parameters of the LCD : line number, character size, display area in columns an rows.
From the APP the text that you write line by line, is displayed on the LCD and on any Virtual LCD connected to the board.
The App make some assumption about I2C GPIO extender :
- use I2C address 0x27;
and expect the following LCD pinning:
- EN=2; !!Enable PIN;
- RW=1; !!ReadWrite PIN;
- RS=0; !!Register PIN (Command or Data);
- D4=4; !!Data 0 PIN;
- D5=5; !!Data 1 PIN;
- D6=6; !!Data 2 PIN;
- D7=7; !!Data 3 PIN;
- BL=3; !!Back Light PIN;
If your LCD behaves different you have to change the LCD16XX\Init call parameters in the MAIN EXO.
The APP is in executable source code that you can open/study/change with POWER-Ki WorkBench.
FREE USEPOWER-Ki and PowerBerry can be used free.
Comments