MIPI

This document details the identification, connection methods, system configuration, and troubleshooting for the MIPI-DSI display interface on the Quectel-Pi-H1 single-board computer, using a Waveshare 8-inch DSI IPS capacitive touchscreen as an example.

MIPI Display Connection

Follow the diagram below for connection:
Note: This display has 4 power supply interfaces, so choose any one. In this example, power is supplied at position "1".

  1. Type-C interface.
  2. I2C communication and power supply interface.
  3. 5V input/output interface.
  4. I2C communication and power supply interface. Align the screw holes with the Quectel-Pi-H1 single-board computer and tighten the screws to ensure firm contact between the pogo pins and the 40-pin header.
Image 1

Back view of Waveshare 8-inch MIPI Display

Image 3

Hardware Connection Setup

For specific login operations, please refer to System Login

Image 3

Display Interface

Function Usage

Adjust Display Brightness and Volume

Note: After connecting the MIPI display, the resolution is not adjustable and is configured by developers, thus cannot be changed.

After connecting the MIPI display and powering on, enter the Gnome desktop, click the battery icon in the upper right corner, and slide the volume bar and brightness bar to adjust the volume and brightness.

The following is the operation diagram for adjusting display brightness and volume:

Image 3

Brightness and Volume Adjustment

Touch Function Usage

After connecting the MIPI display and powering on, you can use the touch function directly.

Video Playback Function Usage

GUI Video Playback: Open the Gnome desktop, find the video file in the Gnome desktop's File Manager, and click the video file to play it.
Note: Double-click the frame to play the video in fullscreen.

Image 1

Desktop Operation Steps

Image 3

Video Playback Interface

VLC Command-Line Video Playback: When playing via command line, follow these steps to enter the corresponding commands.

export LIBGL_ALWAYS_SOFTWARE=1 #Modify the environment variable of this window to switch to CPU rendering during video playback
VLC test.mp4                   #Play video

The following is the video playback interface diagram:

Image 3

Video Playback Interface

GST Command-Line Video Playback Function: When playing via command line, you need to enter the following corresponding command.

gst-launch-1.0 filesrc location=/home/pi/test.mp4 ! qtdemux ! h264parse ! avdec_h264 ! autovideosink    ## The parameter after "location" should be modified according to the actual video file path

Command parameter description:

  • gst-launch-1.0: This is GStreamer's command-line tool for building and running a GStreamer pipeline.
  • filesrc location=/home/pi/test.mp4: Uses the filesrc element to read video files from the specified path /home/pi/test.mp4.
  • ! qtdemux: Through the ! symbol, connects the output of the previous element to the input of the next element. qtdemux is responsible for demultiplexing the MP4 container format, separating the audio and video streams within it.
  • ! h264parse: Parses the separated H.264 video stream, reorganizing it into a format suitable for decoder processing.
  • ! avdec_h264: Uses the software decoder avdec_h264 to decode the H.264 video stream. This is a GStreamer plugin element based on FFmpeg.
  • ! autovideosink: Automatically selects an appropriate video output component to display video content. Depending on the system environment, it selects the most suitable sink (e.g., waylandsink for Wayland, ximagesink for X11, etc.).

The following is the video playback interface diagram:

Image 3

Video Playback Interface

Audio Playback Function Usage

GUI Audio Playback: Open the Gnome desktop, find the audio file in the Gnome desktop's File Manager, and click the audio file to play it.
Note: To play audio, connect speakers to the Quectel-Pi-H1 single-board computer.

Image 1

Desktop Operation Steps

Image 3

Audio Playback Interface

VLC Command-Line Audio Playback Function: When playing via command line, follow these steps to enter the corresponding commands.

export LIBGL_ALWAYS_SOFTWARE=1 #Modify the environment variable of this window to switch to CPU rendering during audio playback
VLC 1.mp3                      #Play audio

The following is the audio playback interface diagram:

Image 3

Audio Playback Interface

GST Command-Line Audio Playback Function: When playing via command line, you need to follow the steps below to enter the corresponding commands.
Note: After entering the corresponding command, the audio playback progress will be displayed in the terminal.

gst-launch-1.0 uridecodebin uri=file:///home/pi/test.mp3 ! audioconvert ! audioresample ! autoaudiosink ## The parameter after "uri" should be modified according to the actual video file path

Command parameter description:

  • gst-launch-1.0: This is GStreamer's command-line tool for building and running a GStreamer pipeline.
  • uridecodebin uri=file:///home/pi/test.mp3: Uses the uridecodebin element to read and automatically decode audio files from the specified URI path file:///home/pi/test.mp3. This is an advanced element that can automatically detect media types and select appropriate demuxers and decoders.
  • ! audioconvert: Through the ! symbol, connects the output of the previous element to the input of the next element. audioconvert is used to convert audio formats, ensuring audio format compatibility between adjacent elements.
  • ! audioresample: Resamples the audio, adjusting the audio sample rate to match the requirements of subsequent elements.
  • ! autoaudiosink: Automatically selects an appropriate audio output component to play audio content. Depending on the system environment, it selects the most suitable audio output device, such as ALSA, PulseAudio, or other available audio backends.

The following is the audio playback interface diagram:

Image 3

Audio Playback Interface

Advanced Function

Dual Display Connection

Dual display function allows simultaneous display on both MIPI and HDMI displays on the single-board computer.
Note: To use this function, connect the MIPI display and connect an HDMI display via the DP interface using an adapter.

Follow the diagram below for connection:

Dual Display Configuration

After connecting the hardware, the system will automatically detect both display devices. By default:
The MIPI display serves as the primary display showing the complete desktop environment, while the HDMI display serves as an extended display for extended viewing.
You can switch dual display modes through the following methods:

  1. Open SettingsDisplays.
  2. In the display settings, you can see the identification for both displays.

The display identification is shown below:


3. Select the desired display mode:

  • Joined Display: Two displays show different content and can be operated independently.
  • Mirrored Display: Both displays show the same content.

Dual Display Precautions

  1. When using dual display, it is recommended to use a power supply with better performance.
  2. When the two displays have different resolutions, display outputs may vary.
  3. Some applications may need window positions readjusted to adapt to the dual-display environment.

Application Scenarios

  • Media Entertainment Terminal: The Quectel-Pi-H1 single-board computer can serve as a media entertainment terminal for playing videos, music, and viewing photos.
  • Industrial Data Visualization Platform: The Quectel-Pi-H1 single-board computer can serve as an industrial data visualization platform to display industrial data, monitor device status, and process data.
  • Smart Interactive Terminal: The Quectel-Pi-H1 single-board computer can serve as a smart interactive terminal for various human-machine interaction applications.

Troubleshooting

How to View System Logs

To view system logs, you need to connect the serial cable to a computer and use a serial debugging tool to view the logs.

Black Screen Issue

After properly connecting the device, if the display shows a black screen after powering on, it may be due to the following situations:

  1. Power connection issue
    Check if the display's power supply interface is properly connected. Confirm that at least one of the 4 power supply interfaces is correctly connected. Ensure the power screws are tightened, and the pogo pins make good contact with the 40-pin interface.
  2. Connection issue
    Check if the MIPI cable is properly connected and securely inserted. Confirm the cable direction is correct to avoid reverse insertion. Check the connector for physical damage.
  3. System startup issue
    Confirm the system has started properly and loaded the display service. View system logs to confirm the display driver is loaded properly.

Screen Artifact Issue

After properly connecting the device, if the display shows screen artifact after powering on, it may be due to the following situations:

  1. Signal interference
    heck if the MIPI cable is too long or of poor quality. Confirm whether there are strong electromagnetic interference sources around the cable. Try replacing it with a high-quality MIPI cable.
  2. Hardware compatibility issue
    Confirm the display model used is fully compatible with Quectel-Pi-H1. Check if the display firmware version is up to date.

Touch Function Abnormality

Touch function abnormality may be due to the following situations:

  1. Driver issue
    Confirm the system has loaded the touchscreen driver correctly. Check if I2C communication is established properly.
  2. Calibration issue
    If the touch position is inaccurate, you may need to recalibrate the touchscreen through the touchscreen calibration tool in system settings.