priusfan
Posts: 194
Joined: Mon Oct 08, 2012 7:39 am
Location: France

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu Oct 18, 2018 9:48 am

As you are using an OBDLINK LX, you should send the following sequence:
"ATZ" & Chr(13) ' reset dongle
"ATSP6" & Chr(13) ' CAN 11 bits @ 500k
"ATE0" & Chr(13) ' Echo OFF
"ATH1" & Chr(13) ' Header ON
"ATL0" & Chr(13) ' no crlf
"STFAP 374, FFF" & Chr(13) ' put pass filter B_SoC
"STM" & Chr(13) ' read frames

You should receive only frames with id 374, they look like this:
374 B8 BC 00 00 43 3F 4E 00
the SoC is in the second data byte BC
BC converted to dec = 188
formula to apply:
SoC= (X- 10) / 2
SoC= 89% (188- 10) / 2

What you started to develop is not the right way to start with....

Xavier

Ghost128k
Posts: 12
Joined: Tue Sep 19, 2017 10:59 pm

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu Oct 18, 2018 10:26 am

many thanks for the code!
i try it with the raspberry as soon as posible and tell the results.
Thanks again.

Serhge
Posts: 93
Joined: Mon Jul 16, 2018 7:35 pm

Re: Decyphering iMiEV and iON CAR-CAN message data

Sun Dec 30, 2018 11:00 pm

how to solve a problem ?

Image

https://ibb.co/N2Kr4R5
My theme : hobdrayv - and i-MIEV ion zero, electronic control units, resetting errors

http://myimiev.com/forum/viewtopic.php?f=9&t=4101

kiev
Posts: 1427
Joined: Sun May 03, 2015 7:15 am
Location: The Heart o' Dixie
Contact: Website

Re: Decyphering iMiEV and iON CAR-CAN message data

Mon Dec 31, 2018 3:26 am

What was the length of your CAN data capture--i suspect you either need a longer time slice or need to hold the last value until it is updated.

The cell PIDs are not sent out in any order, nor at any regular frequency--some seem to show up more than others. i don't know if this is due to PID ranking (lower number PIDs have higher priority), or due to controller (no need to report a value that hasn't changed from the previous scan cycle).
kiev = kenny's innovative electric vehicle

Serhge
Posts: 93
Joined: Mon Jul 16, 2018 7:35 pm

Re: Decyphering iMiEV and iON CAR-CAN message data

Mon Dec 31, 2018 9:37 am

Such a mistake is not just me.
Perhaps there is an error in the work with the order of blocks and the number of cells.
it is not clear in what config and how to fix
My theme : hobdrayv - and i-MIEV ion zero, electronic control units, resetting errors

http://myimiev.com/forum/viewtopic.php?f=9&t=4101

CZeroOwner
Gold Member
Posts: 37
Joined: Mon Jan 15, 2018 1:47 am
Location: Denmark

Re: Decyphering iMiEV and iON CAR-CAN message data

Tue Feb 19, 2019 8:49 am

You are right Serhge. This is an error in the presentation. The battery contains 22 blocks of 4 cells. The blocks are arranged in 12 modules, 10 with 2 blocks and 2 with one block each. The temperature sensors are between cells in each block. That means 66 temperature readings for 88 cells. I just released a new version of OBDZero version 3 which presents the voltages and temperatures in a way that corresponds to this arrangement of cells and sensors. This also brings OBDZero in line with other programs such as Canion. If anyone has been collecting cell data I can send a list that shows how to convert the old OBDZero cell numbers to the new system. All the voltage and temperature reading should be in the files they just need renaming. You can also send the data in e.g. a comma separated text and I will try and convert it.

kiev is also right. Not all cell PIDs are captured by OBDZero in each program cycle. It takes up to 20 cycles or about 2 minutes before all of the cells have been outdated.

israndy
Posts: 2
Joined: Thu Jun 11, 2015 6:19 pm

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed Feb 24, 2021 9:49 am

I am the proud owner of a new CANServer, a product that plugs into the OBD and provides a WiFi connection to the car and a MicroSD to capture CAN data. Sadly it was designed for the Tesla, and comes with a .dbc for those cars.

I am able to capture data just fine, but I am looking for information on what the messages mean so I can build a display that will show what is going on in the car.

I see the apps for Android, but unfortunately I have an iPhone, and like I said, a WiFi interface not Bluetooth. But it seems that someone knows what all this data means and how to read it.

zzcoopej
Posts: 66
Joined: Wed Jul 08, 2015 7:23 pm
Location: Gosford, Australia
Contact: Website

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed Feb 24, 2021 10:19 pm

israndy wrote:I see the apps for Android, but unfortunately I have an iPhone, and like I said, a WiFi interface not Bluetooth. But it seems that someone knows what all this data means and how to read it.


What are you looking at achieving? We may be able to collaborate if you are trying to do something different to what's already out there.

EvBatMon App for iMiEV/C-Zéro/iOn
Android https://play.google.com/store/apps/details?id=com.EvPositive.EvBatMon_iMiEV
iOS (iPhone,iPad,iPod) https://itunes.apple.com/us/app/evbatmon-for-mitsubishi-imiev/id1143905475
www.EvPositive.com

Return to “Instruments - Radio/USB/Nav - CAN - Climate Controls - Remote”