Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Guides to let you easily discover and enjoy Volumio

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Postby jazzstang » Thu Nov 14 2019 16:27

Volumio on Raspberry Pi 3 B+ with 3.5'' TFT Touch LCD

After many days of trying different guides I have finally managed to configure Raspberry Pi 3 B+ with 3.5'' LCD that I bought from AliExpress. This will be step by step guide. If I did it you will too. I am absolute novice at the Linux world.

1. Download, extract and burn Volumio image. After you've done that, put microSD to your Pi.

2. Power the Pi, plug in the ethernet cable and wait for few moments.

3. Open your favourite browser and type in the address: http://volumio.local/

4. Go through basic configuration steps (you can now set up the WiFi if you prefer it over the cable).

5. When you're done with this go to Settings, where you select Plugins. On the left side click on the Miscellanea tab and install Touch Display Plugin. This can take up to 10 minutes.

6. When the installation is over turn on the Touch Display (in the Installed Plugins tab).

7. Now you need to turn on the SSH. You can do it at this address http://volumio.local/dev Select Enable at the SSH. There will be no notification about it.

8. We will now need Putty. If you don't have it you can get it here: https://putty.org/

9. Open Putty and connect to volumio.local. Use default username and password (both volumio).

10. If you already tried to get 3.5'' LCD to work you will be familiar with next few famous lines. Copy and past them one by one at this exact order:

Code: Select all
git clone https://github.com/goodtft/LCD-show

Code: Select all
cd LCD-show/

Code: Select all
sudo mkdir /etc/X11/xorg.conf.d

Code: Select all
cd usr/

Code: Select all
sudo cp tft35-overlay.dtb /boot/overlays/

Code: Select all
sudo cp tft35-overlay.dtb /boot/overlays/tft35.dtbo

Code: Select all
sudo cp -rf 99-calibration.conf-tft35-90  /etc/X11/xorg.conf.d/99-calibration.conf

Code: Select all
sudo mkdir -p /usr/share/X11/xorg.conf.d/

Code: Select all
sudo cp -rf ./usr/99-fbturbo.conf  /usr/share/X11/xorg.conf.d/99-fbturbo.conf


11. We are done with copying files. We will now edit calibration file with this command:

Code: Select all
sudo nano /etc/X11/xorg.conf.d/99-calibration.conf


Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "3936 227 268 3880"
Option "SwapAxes" "1"
Driver "evdev"
EndSection

You need to put Driver »evdev« into.

12. Now we'll edit config file. To do this use this:

Code: Select all
sudo nano /boot/config.txt


nitramfs volumio.initrd
gpu_mem=32
max_usb_current=1
dtparam=audio=on
audio_pwm_mode=2
dtparam=i2c_arm=on
disable_splash=1
hdmi_force_hotplug=1
dtoverlay=tft35

At the botton type dtoverlay=tft35

13. In next few steps we will update and install few packages. Use next codes:

Code: Select all
sudo apt update

Code: Select all
sudo apt install lightdm

Code: Select all
sudo apt install xserver-xorg-input-evdev


14. Do the reboot and if you did all steps without any errors you should see Login screen.

15. What we want now is to enable auto login. To do this we will open lightdm configuration file and replace login username “pi” with “volumio”.

Code: Select all
Sudo nano /etc/lightdm/lightdm.conf


In this file search for

autologin-user=pi

This value needs to be volumio

autologin-user=volumio

16. In last step we want Raspberry start in chromium browser with full screen. It goes like this:

Code: Select all
sudo nano /etc/rc.local


My file looks like this

xinit /usr/bin/chromium-browser --no-sandbox --no-first-run --noerrdialogs --start-fullscreen \
--start-maximized --disable-notifications --disable-infobars --kiosk --incognito http://volumio.local:3000 &
exit 0

17. Save file, do the reboot and watch how your Pi starts in Volumio full screen mode.

Image


I hope this guide will save you some time. For me it worked. I used Volumio version 2.657 but just today as I write this guide version 2.668 was released. I have no idea if it works with that one.

I've also attached picture of screen I've used.

Source:
volumio-inch-gpio-display-error-t12860.html - this one helped me a lot.
Attachments
lcd2.jpg
lcd2.jpg (268.96 KiB) Viewed 1966 times
lcd1.jpg
lcd1.jpg (265.63 KiB) Viewed 1966 times
lcd.jpg
lcd.jpg (114.6 KiB) Viewed 1966 times
Random avatar
jazzstang
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Thu Nov 14 2019 16:03

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Postby zekarlito » Sun Jan 12 2020 16:59

Hi,

Thanks for the guide, but it seems there are bugs with:

sudo cp tft35-overlay.dtb /boot/overlays/tft35.dtbo


and

sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf

the 99-bfturbo.conf can't be copy.

Thanks for your help

zekarlito
Random avatar
zekarlito
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Sun Jan 12 2020 16:55


Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Postby Fred12 » Sun Jan 19 2020 09:57

zekarlito wrote:Thanks for the guide, but it seems there are bugs with:
zekarlito


I got this working by changing a few things


In step 10

zekarlito wrote:sudo cp tft35-overlay.dtb /boot/overlays/tft35.dtbo
zekarlito




sudo cp tft35-overlay.dtb /boot/overlays/ replace with --> sudo cp tft35a-overlay.dtb /boot/overlays/

sudo cp tft35-overlay.dtb /boot/overlays/tft35.dtbo replace with ---> sudo cp tft35a-overlay.dtb /boot/overlays/tft35a.dtbo

sudo cp -rf 99-calibration.conf-tft35-90 /etc/X11/xorg.conf.d/99-calibration.conf replace with ---> sudo cp -rf 99-calibration.conf-35-90 /etc/X11/xorg.conf.d/99-calibration.conf (I actually used the -270 file because my display is upside down but this didn't fix it)

zekarlito wrote:and

sudo cp -rf ./usr/99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf
zekarlito


replace with sudo cp -rf ./99-fbturbo.conf /usr/share/X11/xorg.conf.d/99-fbturbo.conf

(At this point in the instructions you are already in usr/ )


I also left out step 11 and it still worked.

then in Step 12: sudo nano /boot/config.txt
you want to add dtoverlay=tft35a rather than dtoverlay=tft35


I then stopped after step 14 rebooting, and it seemed to work and login on it's own, so I didn't continue with step 15 and 16.


My display was upside down, so then I changed step 12 to

dtoverlay=tft35a:rotate=270

This will rotate the display, but not the touchscreen, after rebooting


Then go into the touch display plugins in the plugin manager in volumio http://volumio.local/plugin-manager

and rotate screen to 90 or 270 to get the touchscreen to match the display.
Random avatar
Fred12
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Sun Jan 19 2020 09:22


Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Postby gtj » Thu Feb 20 2020 23:27

Hi guys

I'm trying to use a Kedei 3.5 inch TFT screen instead of the above one. (I believe the one showed above in the pics is a Waveshare copy)

I downloaded the LCD_6_1_3 driver from http://kedei.net/raspberry/raspberry.html
and then I swapped the tft35 value with LCD35_v however I don't seem to have any luck to get this working...

Any ideas or suggestions would be greatly appreciated.
It will be nice to make a small volumio player with a tiny display :)
Random avatar
gtj
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Mon Sep 19 2016 11:02


Volumio with 3.5" TFT Touch Screen (GPIO) RPi 3B+

Postby adamhinds » Fri Mar 06 2020 05:36

I have exactly the same problem, any help greatly appreciated.
Random avatar
adamhinds
Fresh off the boat
Fresh off the boat
 
Posts: 1
Joined: Fri Mar 06 2020 05:34


Return to Guides

Who is online

Users browsing this forum: No registered users and 0 guests