This document explains how to set up UART communication with the multidisplay system.
The multidisplay system can output serial data via UART for external monitoring and integration with other systems like OpenDash. The system can also output data via Bluetooth using an HC-06 module connected to Serial2.
The system outputs data in the following format:
2:12345:1200:15:25:14.5:12:10:25:30:12.5:15:20:25:30:35:40:45:50:55:60:65:70:75:80:85:90:95:100
Where:
2: Output type (SERIALOUT_ENABLED)12345: Time in milliseconds1200: RPM15: Boost pressure25: Throttle position14.5: Lambda value12: LMM10: Case temperature25,30,12.5,15,20,25,30,35: 8 EGT values (maximum 8 sensors)40: Battery voltage45,50,55,60,65,70,75,80,85,90,95,100: VDO pressure and temperature values
To connect to an external system:
- Connect the UART pins of the multidisplay to the external system
- Use a level shifter if needed (multidisplay is 5V, external systems may be 3.3V)
- Ensure common ground connection
To connect via Bluetooth:
- Connect an HC-06 Bluetooth module to Serial2 of the multidisplay
- Configure the module to connect to "rAtTrax" or "multidisplay"
- The module will forward the multidisplay serial data to the connected device
- TX: Usually connected to pin 1 (Arduino pin 1) or configurable
- RX: Usually connected to pin 0 (Arduino pin 0) or configurable
- GND: Common ground
- VCC: 5V power supply
The serial output is enabled by default in the multidisplay system. To verify or modify the configuration:
- Check the
MultidisplayDefines.hfile for serial output settings - Ensure
SERIALOUT_ENABLEDis defined - The baud rate is set to 115200
To integrate with OpenDash:
- Connect the UART pins between multidisplay and OpenDash
- Configure OpenDash to read from UART (this is handled automatically)
- The data will be parsed and displayed on the OpenDash UI
The OpenDash system supports enabling/disabling the multidisplay connection via a configuration toggle:
- Set
MultiDisplay-Connection=trueto enable connection to multidisplay - Set
MultiDisplay-Connection=falseto disable connection to multidisplay
- Check UART connections
- Verify the baud rate matches (115200)
- Ensure common ground is connected
- Check that serial output is enabled in the multidisplay configuration
- Verify the multidisplay firmware version
- Check that the output format hasn't changed
- Ensure the data is being sent in the correct format