ILI9341 on Raspberry PI

sudo apt-get install x11vnc Xvfb -y && sudo x11vnc -storepasswd
#Set password for server
x11vnc -bg -nevershared -forever -tightfilexfer -usepw -display :0


What’s better than a small computer ?
A small computer with a small neat display, of course 🙂
Let’s wire the ILI9341 to our pi:

Test the module:

sudo modprobe fbtft_device custom \
name=fb_ili9341 gpios=reset:25,dc:24,led:18 \
speed=16000000 rotate=90 bgr=1

Pictures pending

sudo nano /boot/cmdline.txt
#add to the end:
For using the small display with an X session:
sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf
#add the following to the file
Section "Device"
Identifier "myfb"
Driver "fbdev"
Option "fbdev" "/dev/fb1"

To start the session:

sudo FRAMEBUFFER=/dev/fb1 startx


sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install kbd xserver-xorg-video-fbdev -y
sudo dpkg-reconfigure console-setup

Choose a small font like Terminus6x12

sudo sh -c "TERM=linux setterm -blank 1 >/dev/tty0"

sudo nano /etc/kbd/config
#Edit and search for BLANK_TIME=30 and set it to BLANK_TIME=0
#Test you actually changed something
cat /sys/module/kernel/parameters/consoleblank
sudo nano /etc/X11/Xwrapper.config
# allowd_users from "console" to "anybody"
sudo nano /boot/config.txt
#uncomment hdmi_force_hotplug=1


Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:


Stai commentando usando il tuo account Chiudi sessione /  Modifica )

Google photo

Stai commentando usando il tuo account Google. Chiudi sessione /  Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione /  Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione /  Modifica )

Connessione a %s...