• 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: RV1106 Raspberry Pi RP2040 Keyboard Install Espressif IDF Plugin Tutorial User Guide R7FA4 Plus A Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 Minima ESP32-S3 Development Board 3.16 inch LCD display 3.16inch Screen SD slot 320x820 RGB LED ST7701 Raspberry Pi 5 Case Luckfox Pico Max wide dynamic range Industrial CAN FD RS232/RS485 bidirectional converter CAN2.0A/B Raspberry Pi Auto Focus 12MP IMX708 Camera High Resolution ESP32-S3 Smart 86 Box Development Board with 4 inch 480x480 Display Touch Screen For AI and DeepSeek Raspberry Pi 5 D FT4232HL USB TTL RS232 Industrial UART 4-Ch UART ESP32-Hi Mechanical Dog ESP32 C3 Servo AI Voice Chat Development Board Deepseek ESP32 S3 N16R8 Development board 1.9 inch LCD Display 1.9inch TouchScreen 170×320 SD-Port RGB LED QMI8658 6-Axis ST7789 CST816 ESP32-S3 AI 1.54-inch (G) e-Paper Ink Screen 1.54inch Display AIoT Development Board Deepseek ESP32 C3 Round LCD Development Board Electronic EYE 0.71 inch Display Watch Screen GC9A01 160x160 Milk-V Duo S Usage of USB Type A interface ESP32-C6 LCD Development Board 0.85 inch Display 0.85inch Screen 128x128 Mini SD-Port QST LVGL For Arduino Core3566004000