Google Coral Dev Board触摸屏适配相关技术问询
Connecting Touchscreens to Google Coral Dev Board: My Experience & Solutions
Hey there! I’ve experimented with hooking up touchscreens to the Google Coral Dev Board both for personal projects and helping out in the community, so I can walk you through what works.
Have I tried connecting a touchscreen?
Absolutely—both MIPI-DSI (the native display interface on the Coral) and HDMI+USB touch setups. Most of my testing has focused on MIPI-DSI since it’s more integrated, but HDMI-based touchscreens are a solid fallback for easier setup.
Compatible Touchscreen Models
Here are some models that have been verified to work (either by me or trusted community members):
- WaveShare 7-inch MIPI-DSI Touch Screen (WS-7inch-DSI-C): This is one of the most popular options, with direct MIPI-DSI compatibility and good driver support in Mendel Linux.
- Raspberry Pi Official 7-inch Touch Screen: Yes, this works! The MIPI-DSI pinout is compatible, but you’ll need to supply external power to the screen (the Coral’s GPIO power might not be sufficient for steady operation).
- Adafruit 5.5" MIPI-DSI Touch Display: Great for smaller projects, with a high-resolution panel and reliable touch detection.
- Generic HDMI+USB Touch Screens: Any HDMI display paired with a USB HID-compliant touch controller will work—think budget 1080p screens from brands like Elecrow or Yiynova.
Adaptation Solutions
Let’s break down the setup steps for both main types of touchscreens:
1. MIPI-DSI Touchscreen Setup
Hardware
- Connect the screen’s FPC cable to the Coral’s MIPI-DSI port (make sure the pin alignment is correct—don’t force it!).
- For power: Some screens draw power from the MIPI cable, but others need a 5V input from the Coral’s GPIO pins or an external power supply. Check your screen’s specs first.
Software
- Edit the boot config to load the appropriate device tree overlay:
- Open
/boot/uEnv.txtwith a text editor (e.g.,sudo nano /boot/uEnv.txt). - Add the overlay line for your screen—for example,
dtoverlay=waveshare-dsi-7inchfor the WaveShare model. - Save and reboot the board.
- Open
- Verify the touch device is detected: Run
xinput listin the terminal—you should see your touchscreen listed as an input device. - Test touch functionality: Use
evtestto check if touch events are registered (runsudo evtestand select the touch device from the list).
2. HDMI+USB Touchscreen Setup
This is the easiest route for beginners:
- Connect the HDMI cable from the screen to the Coral’s HDMI port.
- Plug the screen’s USB touch controller cable into one of the Coral’s USB ports.
- If the screen needs external power, connect its power adapter (most budget HDMI screens require this).
- No extra software config is usually needed—Mendel Linux will auto-detect the USB touch controller, and you’ll be able to use touch input right away.
Troubleshooting Tips
- Touch not responding:
- Check that all cables are securely connected (especially the FPC for MIPI screens).
- Run
xinput listto confirm the device is recognized—if not, try a different USB port (for HDMI setups) or double-check the device tree overlay (for MIPI).
- Display glitches or screen not turning on:
- For MIPI screens, ensure the device tree overlay matches your screen’s resolution and panel type.
- Check power supply—if the screen is flickering or not powering up, switch to an external power source for the screen.
- Calibration issues:
- If touch input is misaligned, use
xinput_calibratorto calibrate the screen (install it withsudo apt install xinput-calibrator).
- If touch input is misaligned, use
内容的提问来源于stack exchange,提问作者David Pantea
相关产品推荐
相关产品推荐

