Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Installing a 7 waveshare touchscreen
#2
Hi, i made it with a 5" Waveshare Display.  You have to do some alignmends to the file for your 7" Display. Try it!

Here the Steps:


1. modify the Config :

disable_splash=1
disable_overscan=1
#hdmi_drive=2
hdmi_blanking=1
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on
dtparam=spi=on
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt


enable_uart=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
hdmi_drive=1
hdmi_force_hotplug=1

2. sudo apt-get install xserver-xorg-input-evdev
3. sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
4. sudo reboot
5. create a file 99-calibration.conf with following and copy it to : /usr/share/X11/xorg.conf.d/ copiere


Section "InputClass"
       Identifier      "calibration"
       MatchProduct    "ADS7846 Touchscreen"
       Option  "Calibration"   "208 3905 288 3910"
       Option  "SwapAxes"      "0"
       Option "EmulateThirdButton" "1"
       Option "EmulateThirdButtonTimeout" "1000"
       Option "EmulateThirdButtonMoveThreshold" "300"
EndSection

6. reboot -> Done! my 5 " wareshare is working

good luck!
Reply


Messages In This Thread
RE: Installing a 7 waveshare touchscreen - by Oleri - 01-07-2022, 03:23 PM

Forum Jump: