Waveshare 3.5" a LCD

So i searched to figure out how to get this to work and no luck that i found anything but people getting white screens. I did manage to get it work but haven’t got it to work with a desktop environment, works great for console and DietPi-Cloudshell. just follow below instructions and it should work, possibly work with other waveshare screens.

~$ dietpi-config
select “1 : Display Options”
select “3 : LCD Panel addon”
select “waveshare32”
exit and reboot
~$ sudo apt install git
~$ sudo git clone https://github.com/waveshare/LCD-show.git
~$ cd LCD-show/
~$ sudo ./LCD35-show
wait for rebbot
~$ sudo nano /DietPi/config.txt
change “framebuffer_width=320” to “framebuffer_width=480”
change “framebuffer_height=240” to “framebuffer_height=320”
change “dtoverlay=waveshare32” to “dtoverlay=waveshare35a”
~$ sudo reboot

Thank you so much for this! After hours of trying to get this going, this worked like a charm!

Jep, many thanks for sharing, I hope me or someone finds time to implement into DietPi: https://github.com/MichaIng/DietPi/issues/2394

I still haven’t figured out how to get it to run with a desktop environment I wish someone could help but I’m at ends meet with this, no expert just messing around

The biggest thing is the dtoverlay needs to be added but I don’t know how to other than to load the driver for the screen

Thanks for this, finally managed to get something other than a white screen running…
anyone have an idea how i can get PADD to load?

https://github.com/jpmck/PADD

I’m able to do it on ‘lite’ RPi image but on this would be ideal

it has to be possible somehow