ODROID-VU8C
8inch multi-touch screen for ODROID-C2 and C1+
It gives users the ability to create all-in-one, integrated projects such as tablets, game consoles, infotainment systems and embedded systems.
Specifications
- 8-inch TFT-LCD
- Resolution: 1024×768 pixels (4:3 ratio)
- finger capacitive touch input (USB ID 18D1:4E12)
- light brightness control with ODROID GPIO PWM
- consumption : 700mA/5Volt (Only LCD and display controller)
- Wide Viewing angle : Left 75, Right 75, Up 75, Down 75 degree
- Dimensions : 189 x 149 x 29 mm
- Viewable screen size : 162 x121.5 mm (active area)
Usage
Software settings
- To use the VU8 on C1/+ Linux system, the Kernel version must be 3.10.80-128 or higher (sudo apt-get update & sudo apt-get dist-upgrade).
- Operation confirmed with testing in our
- ODROID-C2: Ubuntu 16.04 LTS (v2.3) and Android Marshmallow (v3.3)
- ODROID-C1+: Ubuntu 16.04 LTS (v2.1) and Android KitKat (v3.7)
Touchscreen drivers are available with support for 10 touch points, and proper drivers are integrated in the latest Ubuntu and Android OS images.
1. Resolution configuration
Screen resolution must be configured to XGA (1024×768) and the DVI option should be enabled.
If you use ODROID-C1/C1+/C0, you need to edit hdmi resolution and vout mode in boot.ini.
In case of ODROID-C2 and ODROID-N2, display auto detection mode can adjust those options by default without any change.
ODROID-C2
As aforementioned, you don't need to edit boot.ini with display auto detection mode that is default option on ODROID-C2.
# Auto Detection of Monitor settings based on your Screen information # See: http://odroid.com/dokuwiki/doku.php?id=en:c2_auto_detect_display setenv display_autodetect "true"
But if you want to use a manual mode, please refer to the following.
Ubuntu
# Auto detection setenv display_autodetect "false" # Resolutions # setenv m "1080p" # 1080P@60Hz setenv m "1024x768p60hz" # HDMI DVI/VGA modes # By default its set to HDMI, if needed change below. # Uncomment only a single Line. setenv vout "dvi"
Android
# Resolutions # setenv hdmimode "1080p60hz" setenv hdmimode "1024x768p60hz" # HDMI DVI/VGA modes setenv vout_mode "dvi" # Auto detection setenv display_autodetect "false"
ODROID-C1/C1+/C0
Ubuntu
# setenv m "1080p" # 1080P@60Hz setenv m "1024x768p60hz" # 1024x768 # HDMI DVI Mode Configuration # setenv vout_mode "hdmi" setenv vout_mode "dvi" # setenv vout_mode "vga"
Android
# Resolutions # setenv hdmimode "720p" setenv hdmimode "1024x768p60hz" # HDMI DVI/VGA modes setenv vout_mode "dvi"
ODROID-N2
As aforementioned, you don't need to edit boot.ini with display auto detection mode that is default option on ODROID-N2.
# Auto Detection of Monitor settings based on your Screen information
setenv display_autodetect "true"
But if you want to use a manual mode, please refer to the following.
Ubuntu
# Auto detection setenv display_autodetect "false" # Resolutions # setenv hdmimode "1080p60hz" # 1080P@60Hz setenv hdmimode "1024x768p60hz" ### Change voutmode to "dvi" # setenv voutmode "hdmi" setenv voutmode "dvi"
Android
# Resolutions # setenv hdmimode "1080p60hz" setenv hdmimode "1024x768p60hz" # HDMI DVI/VGA modes setenv voutmode "dvi" # Auto detection setenv display_autodetect "false"
2. Backlight ON/OFF
[ Ubuntu ]
Add the following lines into “/etc/rc.local”.
ODROID-C2
path="/sys/class/gpio" echo 214 > $path/export echo out > $path/gpio214/direction echo 0 > $path/gpio214/value
ODROID-C1+/C1/C0
path="/sys/class/gpio" echo 97 > $path/export echo out > $path/gpio97/direction echo 0 > $path/gpio97/value
[ Android ]
3. Backlight control with PWM
GPIO configuration
ODROID-C2
- target
cd /sys/class/gpio echo 214 | sudo tee export echo out | sudo tee gpio214/direction echo 0 | sudo tee gpio214/value echo 234 | sudo tee unexport
ODROID-C1+/C1/C0
- target
cd /sys/class/gpio echo 97 | sudo tee export echo out | sudo tee gpio97/direction echo 0 | sudo tee gpio97/value echo 108 | sudo tee unexport
PWM configuration
[Ubuntu]
Load PWM driver modules.
- target
sudo modprobe pwm-meson sudo modprobe pwm-ctrl
Ignore warning message of “pwm-ctrl pwm-ctrl: cannot export to PWM-1 : modprobe pwm-meson npwm=2”
Enable PWM via sysfs.
- target
echo 100000 | sudo tee /sys/devices/platform/pwm-ctrl/freq0 echo 1 | sudo tee /sys/devices/platform/pwm-ctrl/enable0
Set duty ratio (value can be 0 to 1023. Lower is brighter)
- target
echo 1023 | sudo tee /sys/devices/platform/pwm-ctrl/duty0
[Android]
Load PWM driver modules.
- target
root@odroidc2:/ # insmod /system/lib/modules/pwm-meson.ko npwm="1" root@odroidc2:/ # insmod /system/lib/modules/pwm-ctrl.ko
Enable PWM via sysfs.
- target
root@odroidc2:/ # cd /sys/devices/pwm-ctrl.43/ root@odroidc2:/sys/devices/pwm-ctrl.43 # ls driver duty0 enable0 freq0 modalias power subsystem uevent root@odroidc2:/sys/devices/pwm-ctrl.43 # cat enable0 PWM_0 : off root@odroidc2:/sys/devices/pwm-ctrl.43 # echo 1 > enable0 root@odroidc2:/sys/devices/pwm-ctrl.43 # cat enable0 PWM_0 : on
Set default frequency.
- target
root@odroidc2:/sys/devices/pwm-ctrl.43 # echo 100000 > freq0
Set duty ratio.
Value can be 0 to 1023 and lower value means brighter.
- target
root@odroidc2:/sys/devices/pwm-ctrl.43 # cat duty0 0 root@odroidc2:/sys/devices/pwm-ctrl.43 #echo 160 > duty0 root@odroidc2:/sys/devices/pwm-ctrl.43 # cat duty0 160
4. How to Set Auto Backlight On/Off by Monitor Status
Please refer to the following wiki page if you want to run auto backlight on/off control that is triggered by monitor on/off status.
back light control