Skip to content

Setting Up MConn

This section covers the details of some components that help you in get started with the Display.

The Display has an AMPSEAL 776164-1 mating connector.

Mating Connector: AMPSEAL 776164-1 with Pin Configurations

Each of the pins holds a specified connection that is described in the table below:

PinFunctionPinFunctionPinFunction
1Digital In13VCC_LIN25Digital In
2Digital In14LIN26CAN1_L
3Digital Out15GND27CAN1_H
4Digital Out16VCC28Digital In
5Digital In17Analog In29Digital In
6Digital Out18GND30Ignition (Digital In)
7Digital Out19Analog In31Digital In
8Digital In20Analog In32CAN2_L
9Analog In21GND33CAN2_H
10Analog In22Analog In34Digital In
11Digital In23VCC35Digital In
12Digital In24GND

To power up the Display, you must ensure your mating connector has the proper connections. Make the connection in the following manner:

  1. Connect pins 16, 23, and 30 to +12-24V VCC (Power supply positive terminal +).
  2. Connect pins 15, 18, 21, and 24 to GND (Negative terminal - ).

The display can be accessed through ssh from multiple interfaces. The available interfaces are:

  • RJ45 Ethernet
  • USB to Ethernet

To connect via Ethernet, simply plug the RJ45 Ethernet plug at the back of the device. By default, the display ethernet interface is configured as a DHCP server, so it will automatically assign the IP address to the connected device. You can now access the device through SSH as follows:

Terminal window
ssh root@192.168.57.1

The connection to Display via SSH/SFTP is required to access the terminal or perform actions like sharing files. The details of that are shown in the table below:

FieldValue
IP Address (Ethernet Connection)192.168.57.1
Port22
Usernameroot
Passwordmrsroot

To connect via USB to Ethernet, you need a RJ45 to USB-A adapter. Plug the USB-A end of the cable to one of the USB ports at the back of the device and the RJ45 end with RJ45 cable. The display in this configuration will be DHCP client, make sure you have DHCP server in your network and your network will be assigned to display. Find the IP address assigned to display from your network router and connect to that IP address via SSH.

By Default, the root file system is in read-only mode as it is safer and faster. However, for actions like copying the user application or enabling a systemd service, the read/write mode is required. To switch to that mode, follow these steps:

  1. Type the following terminal command:
Terminal window
$ mount -o remount,rw /

The root file system operates in read-only mode. However, there is a dedicated partition for user data and operates in read/write mode. This partition also contains some important configuration files that you can change and is 1.2GB in size.

To navigate to this location, enter the following commands:

Terminal window
$ cd /rw_data

This section covers the steps of finding the current version of the Display’s Operating System (OS) and updating it.

Enter the following commands in the terminal to find the current version of the OS:

Terminal window
$ get-os-version
$ System version: 2.6.1

To access the information about OS version in the Reference App, navigate to the About tab as shown below:

OS Version information in the Reference App

This section covers the details of setting up your screen such as touch screen calibration and backlight control.

Touch Screen Calibration (if required, By default already calibrated at factory)

Section titled “Touch Screen Calibration (if required, By default already calibrated at factory)”

To calibrate the touch screen, run the ts_calibrate utility from the terminal as shown below:

Terminal window
$ mount -o remount,rw /
$ ts_calibrate
$ mount -o remount,ro /

Once done, the calibration utility shows on the display and prompts you to touch the crosshair on the touch screen. When all the touch points are satisfied, the utility terminates and saves the calibration file.

The brightness of the backlight can be controlled programmatically or from the terminal. The backlight has 100 steps of brightness (0-100), with 0 being the lowest and 100 being the highest. To control the backlight from the terminal, use the following command:

Terminal window
$ echo 100 > /sys/class/backlight/backlight/brightness

To control the backlight in the Reference App via C++, add the following to the code:

io->set_backlight(100); // Set backlight to 100%
io->set_backlight(50); // Set backlight to 50%

To control the backlight of the device from the Reference App, use the slider bar in the left as shown below: Backlight Control in the Reference App