• sales

    +86-0755-88291180

Raspberry Pi 1.54inch LCD-Raspbian-Touch configuration tutorial

sudo apt-get install xserver-xorg-input-evdev --fix-missing  -y

make sure you have installed xserver-xorg-input-evdev successfully , Can not have any errors

sudo mkdir -p /usr/share/X11/xorg.conf.d
sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf
Add the following code
Section "InputClass"

        Identifier      "calibration"

        MatchProduct    "ADS7846 Touchscreen"

        Option  "Calibration"   "326 3536 3509 256"

        Option  "SwapAxes"      "1"

        Option "EmulateThirdButton" "1"

        Option "EmulateThirdButtonTimeout" "1000"

        Option "EmulateThirdButtonMoveThreshold" "300"

EndSection

 

sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf

sudo apt-get install xinput-calibrator
sudo nano /boot/config.txt
Add the following code
dtoverlay=ads7846,cs=1,penirq=17,penirq_pull=2,speed=50000,keep_vref_on=1,swapxy=0,pmax=255,xohms=60,xmin=200,xmax=3900,ymin=200,ymax=3900


Then reboot and the touch works now

TAG: Milk V Duo Luckfox Milk-V Secondary Screen ESP32 1.5inch LCD Raspberry Pi PICO Raspberry Pi CM4 Laser 450nm 5W high precision module Adjustable focal length For Laser Carving / Laser 3D Printing Raspberry Pi Pico 2 RP2350 CAN Onboard XL2515 CAN Controller RP2350A Raspberry Pi 11 inch HDMI LCD Captive TouchScreen Display 11inch 1920x1200 For Jetson Series/Computer PC Raspberry Pi Compute Module 5 CM5 Cortex A76 BCM2712 With/Without Wi-Fi RAM 2/4/8/16GB eMMC Lite/8/16/32/64GB Raspberry Pi Pico ESP32 Thermal imaging camera Raspberry Pi CM5 Mini Base IO Board NANO B Development For Compute Module 5 1.38MP Global Shutter Camera ISG1321 For Luckfox Pico Zero 树莓派Pico 2 RP2350B-Plus-W开发板WIFI官方Radio Module 2 ESP32 C6 AI 0.85inch Development Board 0.85 inch DeepSeek RGB surround light Dual mike Argon Neo 5 Milk-V Duo S Usage of USB Type A interface Raspberry Pi 3D Display