We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:3.5inch_lcd_shield [2016/10/21 16:02]
odroid [4. Backlight control]
en:3.5inch_lcd_shield [2017/04/01 08:16]
odroid [Applications]
Line 13: Line 13:
 |LCD Interface|Parallel 8-bit| |LCD Interface|Parallel 8-bit|
 |LCD Controller|ILI9488| |LCD Controller|ILI9488|
-|LCD Active area|98.96(H) x 73.44(V)mm|+|LCD Active area|48.96(H) x 73.44(V)mm|
 |Touch Screen Type|Resistive| |Touch Screen Type|Resistive|
 |Touch Screen Controller|SX865X(I2C)| |Touch Screen Controller|SX865X(I2C)|
 |Backlight|LED| |Backlight|LED|
-|Resolution|320*480(Pixel)| +|Resolution|480*320(Pixel)| 
-|Board Size|95(H)x56(V)x17(T)mm|+|Board Size|56(H) x 95(V) x 17(T)mm|
 |ETC|5pin RTC Shield connector| |ETC|5pin RTC Shield connector|
 Schematic : Schematic :
Line 81: Line 81:
   sudo modprobe pwm-meson   sudo modprobe pwm-meson
   sudo modprobe pwm-ctrl   sudo modprobe pwm-ctrl
-  sudo modprobe fbtft_device name=flexpfb ​rotate=270+  sudo modprobe fbtft_device name=flexfb ​rotate=270
   sudo modprobe flexfb chip=ili9488   sudo modprobe flexfb chip=ili9488
   sudo modprobe sx865x   sudo modprobe sx865x
Line 113: Line 113:
   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0
   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0
 +  echo 1023 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0
   ​   ​
 ==== 2. Run con2fbmap ==== ==== 2. Run con2fbmap ====
Line 122: Line 123:
 chvt 1 : console\\ chvt 1 : console\\
 chvt 7 : X11 chvt 7 : X11
-==== 4. Backlight control ​==== + 
-<WRAP important>​ +==== 4. Auto login on console ​==== 
-**ODROID-XU4 does not use PWM control** +Edit tty1 service 
-</​WRAP>​ +  sudo systemctl edit getty@tty1 
-Set PWMfrequency & enable +And add 
-  ​echo 500000 | sudo tee /sys/devices/​platform/​pwm-ctrl/freq0 +  ​[Service] 
-  ​echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0 +  ​ExecStart= 
-echo <0-1023> | sudo tee /​sys/​devices/platform/pwm-ctrl/​duty0 ​==> for back light brightness control +  ExecStart=-/sbin/agetty ​-a odroid --noclear %I $TERM 
-  ​echo 1023 | sudo tee /sys/devices/​platform/​pwm-ctrl/duty0+  ​ 
 + 
 +  odroid@odroid:​~$ ​sudo systemctl cat getty@tty1 | grep Exec 
 +  ​ExecStart=-/sbin/agetty ​--noclear %I $TERM 
 +  ExecStart
 +  ​ExecStart=-/sbin/agetty ​-a odroid --noclear %I $TERM 
 +Restart tty1 service 
 +  sudo systemctl restart getty@tty1 
 ===== Run Xwindow ===== ===== Run Xwindow =====
 {{:​en:​acc:​35tft:​home.png?​400|}} {{:​en:​acc:​35tft:​home.png?​400|}}
Line 151: Line 160:
   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0
   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0
 +  echo 1023 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0
  
 ==== 2. Run ==== ==== 2. Run ====
   sudo /​etc/​init.d/​lightdm start   sudo /​etc/​init.d/​lightdm start
-==== 3. Backlight control ====+====Backlight control ​=====
 <WRAP important>​ <WRAP important>​
 **ODROID-XU4 does not use PWM control** **ODROID-XU4 does not use PWM control**
Line 161: Line 171:
   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0   echo 500000 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​freq0
   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0   echo 1 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​enable0
-echo <0-1024> | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0 +echo <0-1023> | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0 ​==> for back light brightness control 
-  echo 1024 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0+  echo 1023 | sudo tee /​sys/​devices/​platform/​pwm-ctrl/​duty0
 ===== Touch Calibration ===== ===== Touch Calibration =====
  
Line 254: Line 264:
 ====== Auto Run ====== ====== Auto Run ======
   * [[3.5inch_lcd_shield:​AUTOCONSOLE | Automatically start console mode]]   * [[3.5inch_lcd_shield:​AUTOCONSOLE | Automatically start console mode]]
-  * [[3.5inch_lcd_shield:​AUTOX | Automatically start dekstop ​GUI mode]]+  * [[3.5inch_lcd_shield:​AUTOX | Automatically start desktop ​GUI mode]]
  
 ====== Applications ====== ====== Applications ======
   * [[3.5inch_lcd_shield:​MPLAYER | Using the mplayer on framebuffer]]   * [[3.5inch_lcd_shield:​MPLAYER | Using the mplayer on framebuffer]]
 +  * [[http://​forum.odroid.com/​viewtopic.php?​f=145&​t=26550|Multiclick button handler by mad_ady]]
en/3.5inch_lcd_shield.txt · Last modified: 2017/04/07 09:20 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0