Hello,
I've written this program primarily to retrieve information on how much Ah the battery of my car (2013 Citroen C-Zero) has been charged with, as the Citroen diagnosis tool can't retrieve these values.
It works with OBDLink MX, LX and SX dongles on Windows.
To use the OBDLink SX, you need to install the appropriate FTDI driver.
After connecting the SX a COM port should appear in the device manager.
The SX's baudrate must also be changed to 500000 but the program can attempt to do this under 'Test Connection'.
Note that to change it back to the original 115200 you need a serial terminal like hterm or putty, instruction here.
When you use a bluetooth model it is lot easier because windows automatically creates two virtual COM ports after pairing, you can look them up under Bluetooth Settings -> More bluetooth Options.
The port with 'direction - outgoing' is the correct one.
On the initial launch the program creates a file called 'config.ini' where you can permanently choose your port and language (only en and de).
After reading the Information you can show the values or save them as a CSV.
The value 'kWh Total' is calculated from the cumulated Ah and does not contain Energy charged by regen, so the actual amount of Energy your battery has been charged with might be 10-20% higher.
Also I don't know if the odometer value the program reads on US Vehicles is in miles or km, so the consumption value might be off.
The build date might fluctuate +-15 minutes or so as the car doesn't seem to update it's age continuously.
The source is available here and the portable .exe here
If there are any problems please let me know
I've written this program primarily to retrieve information on how much Ah the battery of my car (2013 Citroen C-Zero) has been charged with, as the Citroen diagnosis tool can't retrieve these values.
It works with OBDLink MX, LX and SX dongles on Windows.
To use the OBDLink SX, you need to install the appropriate FTDI driver.
After connecting the SX a COM port should appear in the device manager.
The SX's baudrate must also be changed to 500000 but the program can attempt to do this under 'Test Connection'.
Note that to change it back to the original 115200 you need a serial terminal like hterm or putty, instruction here.
When you use a bluetooth model it is lot easier because windows automatically creates two virtual COM ports after pairing, you can look them up under Bluetooth Settings -> More bluetooth Options.
The port with 'direction - outgoing' is the correct one.
On the initial launch the program creates a file called 'config.ini' where you can permanently choose your port and language (only en and de).
After reading the Information you can show the values or save them as a CSV.
The value 'kWh Total' is calculated from the cumulated Ah and does not contain Energy charged by regen, so the actual amount of Energy your battery has been charged with might be 10-20% higher.
Also I don't know if the odometer value the program reads on US Vehicles is in miles or km, so the consumption value might be off.
The build date might fluctuate +-15 minutes or so as the car doesn't seem to update it's age continuously.
The source is available here and the portable .exe here
If there are any problems please let me know