Maybe you’re in the same situation:
You want to build an RD project and don’t really know where to start.
Your vehicle has neither OBD nor CAN…
In addition to the often difficult task of selecting the right custom DIY hardware (e.g., SBCs/microcontrollers/Arduino,
displays) for Android/Windows or Linux platforms, the question eventually arises: How do you get all of this
programmed without having to delve deeply into the respective programming language/operating system?
This is where Google AI can quickly help and generate all the necessary scripts/Arduino sketches and the RD XML files -
if you ask the right questions.
I asked the AI the following (excerpt):
Create the appropriate scripts for Teensy 3.5, Radxa Rock 5B, and the XML file for RealDash, which can read
the following sensors (Hardware used: Teensy 3.5 connected via USB
Radxa Rock 5B with Bluetooth card
12.3 inch VSDISPLAY (connected via HDMI)):
Connected sensors (just an excerpt…)::
- LDR value: Control HDMI display backlight (RealDash XML tag ID = 811)
- Read RPM value (square wave signal) (RealDash XML tag ID = 37)
- Read digital speed signal G 68 (square wave signal 4000 pulses per km) (RealDash XML tag ID = 64)
- Read analog water temperature F76 (RealDash XML tag ID = 14)
- Analog value Read oil pressure (RealDash XML Tag ID = 151)
- Read digital value of oil pressure switch F22 (RealDash XML Tag ID = 65)
- Read analog value of oil temperature (RealDash XML Tag ID = 152)
- Read analog value of boost pressure (RealDash XML Tag ID = 83)
- Read analog value of charger RPM (RealDash XML Tag ID = 106)
- Read analog value of tank content G1 (RealDash XML Tag ID = 223)
The result surprised me greatly.
The AI immediately created all three required files (Teensy Sketch, Rock 5B Python Gateway script, and RD XML file).
It should also be noted that the sensor values, the target IDs, and the frame IDs in the XML file
must all be processed in the same order - important to know…
The AI immediately takes care of the correct order and synchronization after asking “Are the target IDs now sorted and synchronized according to the Teensy and the XML file?” and makes them available.
This way, you get ready-to-use files pretty quickly that only need to be compiled (Teensy) or imported (XML file).
In my opinion, this makes planning and construction considerably easier.
You just have to specify in advance which sensors should be read and also provide them with the appropriate target ID.
You can find the target ID list here:
I would be happy if this helps anyone with problems.
Greetings from Germany