We're no longer updating This wiki!!

This is an old revision of the document!


Use to C-3.2inch TFT+Touchscreen Shield

Fully assembled 3.2inch display with 320×240 pixels TFT LCD and a resistive touch overlay. Just plug it on top of ODROID-C1. 2×13 tall female header is already soldered on the PCB.

Fast 30Mhz SPI is used for the faster frame rate.

You will need an official Ubuntu image to configure it. You can simply download the Kernel updates and configure your ODROID-C1 for this display shield.

Where to buy

Specifications

LCD TypeTFT
LCD InterfaceSPI
Touch Screen TypeResistive
Touch Screen ControllerXPT2046
Colors65536
BacklightLED
Resolution320*240(Pixel)
Aspect Ratio4:3
Weight44gram

Used pins

Pin NumSymbolDescription
1, 173.3VPower positive (3.3V power input)
2, 45VPower positive (5V power input)
3, 5, 7, 8, 10, 22NCNo connection
6, 9, 14, 20, 25GNDGround
11TP_IRQTouch screen interrupt, low level while the touch screen detects touching
12KEY1Export GPIO#87, Wiring Pi GPIO#1
13RSTReset, Export GPIO#116
15LCD_RSLCD instruction control, Instruction/Data Register selection, Export GPIO#115
16KEY2Export GPIO#104, Wiring Pi GPIO#4
18KEY3Export GPIO#102, Wiring Pi GPIO#5
19LCD_SI/TP_SISPI data input of LCD/touch screen
21LCD_SO/TP_SOSPI data output of LCD/touch screen
23LCD_SCK/TP_SCKSPI clock of LCD/touch screen
24LCD_CSLCD chip selection, low active
26TP_CSTouch screen chip selection, low active

How to activate the 3.2inch LCD shield with your ODROID-C1

You need a HDMI connection or a Serial console connection to follow below instruction.

0. Update your Kernel

sudo apt-get update 
sudo apt-get upgrade
sudo apt-get dist-upgrade

1. Insert modules

sudo modprobe spicc
sudo modprobe fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0

2. To run Xwindow create a file "/usr/share/X11/xorg.conf.d/99-odroidc-tftlcd.conf"

And then, write following contents in that file.

Section "Device"
    Identifier    "C1 fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb2"
EndSection

3. startx

startx

4. console

Disable xorg on your ODROID-BOARD
There is two ways to disable.

1) Way to use the odroid-utility

sudo odroid-utility

Use up / down cursor keys to select the “Xorg On/Off” menu option and hit. And then, select “Disable Xorg”.

2) Way to use native
Write a word “manual” into /etc/init/lightdm.override

sudo vi /etc/init/lightdm.override

Reboot

sudo reboot

Run con2fbmap “con2fbmap <console> <framebuffer>“

sudo apt-get install fbset
con2fbmap 1 2

Console

X Windows

Applications

Automatic installer by Ameridroid

en/c1_lcdshield.1454026039.txt.gz · Last modified: 2016/01/29 08:37 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0