Did some test today trying to read the AIM datastream from the VEMS ECU.
I made a simple program to read the the datastream from a RS232 device and display the data stream in terminal.
small update
I connected the RS232 port on the Arduino to a true serial port on an old PC i found, and connected the USB on the Arduino to a Macbook.
In Real Terminal on the PC i tried to send some hex data and it displayed properly on the Macbooks Terminal. So all good.
I then enabled AIM output in VEMS, i hooked up the VEMS ECU with the DB9 connector and a USB to serial adapter to one of my Macbook. I opened up the terminal window in CoolTerm and connected to the device. I immediately received HEX data from the VEMS ECU to the terminal so all good.
But when tried to connect the VEMS ECU to the RS232 on my Arduino, it does not receive any data all. And does not seem to be connected since the RX LED does not light up
Hopefully i can make some progress tomorrow