Serial 2.2" LCD display
About
This topic covers simple way to interface with LCD display. For this tutorial I am using cheap (under 20$) serial 2.2" display.
Connection
Connection is more than simple - no soldering or electronics skills are required. See picture:
- LCD_SCL → GPIO7
- LCD_SDA → GPIO13
- LCD_CS → GPIO9
- LCD_RST → GPIO11
- LCD_RS → GPIO12
Source
Full sources as a package can be found here
Performance
I have uploaded short video where you can see clearing screen to white, then to black and writing couple of text lines.
Linux
Just put sources to Carambola build package directory and execute
make package/lcd_1_8_in/compile V=99
After this, login to your Carambola and execute
scp test@192.168.0.104:/home/test/carambola_2012-03-25/bin/ramips/packages/lcd_1_8_in_1_ramips.ipk /tmp cd /tmp opkg install lcd_1_8_in_1_ramips.ipk lcd_1_8_in
You will see picture.