Thank you for your donation!


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


Installing a 7 waveshare touchscreen
#1
Hello and happy new year! 

One of my projects will be building a nice DIY case for my beloved moode player... But before that, I need to install and make work the waveshare 7inches touchscreen I just borrow ?

First attempt : 
Hdmi and 2 USB (touch and power) plugged, 
Image of Moode displayed, bad resolution (covers are rectangle) and no touch. 

Next attempt will be next week but is there somewhere a little tutoriel for the touchscreen? (I searched but didn't find...) or one big boss who could brief me on do's and don'ts ??

I'll keep you posted of my future progress.
See you!
Reply
#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
#3
Hi.
@Gillillig you test it? touch work well?
Asking cos i have same similiar problem.
Foud setting to see dispaled screen correctly but touch wont work at all.
Reply


Forum Jump: