Hello everyone,
I am currently working on a small MP3 player based on a Raspberry Pi Zero (W) and a 3.5inch SPI Touchscreen. The screen is compatible with the Waveshare 3.5inch(A) display. I started on RasPiOS Bullseye which worked, but wanted to move to RasPiOS Lite for performance reasons. So currently I am using RaspiOS Bullseye Lite and pygame.
While I got the display up and running I have no idea how to calibrate the touch display.
I followed different instructions to install the display but the one that worked best was the one at https://touchpi.bruu.eu/displays/waveshare3.5a/ which use the waveshare overlay directly (waveshare35a-overlay.dtb) and modifies the config.txt manually rather than running the waveshare setup scipt. The modifications of the config.txt are:
I managed to display my pygame tool on the screen and it also recognizes the touchscreen as mouse. However, it is not calibrated. All the ways I found to calibrate the display are based on X11, xinput_calibrator and "/etc/X11/xorg.conf.d/99-calibration.conf". However, as I run RasPiOS Lite this does not work. But which alternatives do I have?
I am thankful for any suggestion or hints in any directions.
I am currently working on a small MP3 player based on a Raspberry Pi Zero (W) and a 3.5inch SPI Touchscreen. The screen is compatible with the Waveshare 3.5inch(A) display. I started on RasPiOS Bullseye which worked, but wanted to move to RasPiOS Lite for performance reasons. So currently I am using RaspiOS Bullseye Lite and pygame.
While I got the display up and running I have no idea how to calibrate the touch display.
I followed different instructions to install the display but the one that worked best was the one at https://touchpi.bruu.eu/displays/waveshare3.5a/ which use the waveshare overlay directly (waveshare35a-overlay.dtb) and modifies the config.txt manually rather than running the waveshare setup scipt. The modifications of the config.txt are:
Code:
dtoverlay=waveshare35a:rotate=90hdmi_group=2hdmi_mode=1hdmi_mode=87hdmi_cvt 480 320 60 6 0 0 0hdmi_drive=2I am thankful for any suggestion or hints in any directions.
Statistics: Posted by blbltheworm — Tue Aug 05, 2025 8:10 pm — Replies 0 — Views 22