JoeS
Site Moderator
Posts: 3553
Joined: Thu Dec 15, 2011 5:47 am
Location: Los Altos Hills, California

Re: Decyphering iMiEV and iON CAR-CAN message data

Sat May 04, 2013 2:28 pm

TestO wrote:Was googling for information regarding i-Miev CAN and find this information regarding i-Miev CAN Gateway.
http://www.pref.nagasaki.jp/ev/ev&its/120614/navi/gateway_gaiyou.pdf
Here we can see some message transmission intervals - that is a big clue and should help us narrow things down while decrypting CAN messages.
Thank you! Google Translate works well with this file!
EVs: 2 Wht/Blu SE Prem., '13 Tesla MS85, 3 156v CorbinSparrows (2 Li-ion), 24v EcoScoot(LiFePO4)
EV Conv: 156v '86 Ram PU, 144v '65 Saab 96
Hybrids: 48v1kW bike
ICE: '88 Isuzu Trooper. Mothballed: '67 Saab (orig.owner), '76 MBZ L206D RHD RV

TestO
Posts: 23
Joined: Sat Apr 07, 2012 9:01 am
Location: Norway

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu May 09, 2013 1:22 pm

Have started looking into adding OVMS support for our i-Miev's.

http://www.openvehicles.com/

To be able to add support we need at least discover CAN messages to determine if the car is On/Off and if the car is charging or not.

Hopefully several of you are interested in OVMS support for our i-Miev, and we will be succeeding in discover the needed CAN messages.

plaes
Posts: 2
Joined: Wed May 22, 2013 8:46 am

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed May 22, 2013 8:59 am

I've been playing around with I-Miev for a while now, and I've summarized my findings here:

https://github.com/plaes/i-miev-obd2

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

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed May 22, 2013 10:09 am

hello
here are my findings for the Peugeot iOn : https://docs.google.com/file/d/0B8dQaQF ... sp=sharing

do you confirm ???

plaes
Posts: 2
Joined: Wed May 22, 2013 8:46 am

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed May 22, 2013 11:47 am

priusfan wrote:here are my findings for the Peugeot iOn : https://docs.google.com/file/d/0B8dQaQF ... sp=sharing

do you confirm ???


Wonderful, at least some of the data seems to be the same, for example:

208 - brake pedal
6E1-6E4 that contain battery pack information (Haven't had much time to document these yet, though)

236 - steering wheel position sensor, shouldn't that be every 10ms?

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

Re: Decyphering iMiEV and iON CAR-CAN message data

Wed May 22, 2013 12:50 pm

hello
236: 10ms is OK for me
the last column in my doc is Frame/Sec, so 100 means 10mS...

6E1 - 6E4 is a bit tricky : the first data byte is a sequence number from 1 to 12.
the 3 following bytes contain info about temps in °C (offset 50°C)
only 66 sensors in my car.

last 4 bytes contain infos about individual V (maybe with a correction factor (1.28???))

so, at the end, you get an array of 96 position....

I can publish the code I am using for this part, and in fact you can get my dev here:

https://drive.google.com/folderview?id= ... sp=sharing

it was made using B4A, but you can read the file named scanner.bas with any text editor and try to follow the way it works...

cristi
Posts: 11
Joined: Thu May 23, 2013 6:52 am

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu May 23, 2013 7:30 am

Hi

After getting an iMiEV rental for one day I tried to connect to it using a ELM-CAN Wifi device for a project.

http://www.wgsoft.de/images/phocagaller ... anwlan.jpg

I had tested the device before with a VW Polo (no CAN but ISO 9141-2, still it shows that the hardware and drivers work)

I connect using telnet (no need for serial communication with Wifi). This worked well with the other car.

In communication mode 6 I keep getting NO DATA from iMiEV

Code: Select all

Trying 192.168.0.74...
Connected to 192.168.0.74.
Escape character is '^]'.
ati
ati
ELM327 v1.3a

>ate0
ate0
OK

>atsp6
OK

>atdp
ISO 15765-4 (CAN 11/500)

>01 00
NO DATA


Has anybody got any ideas on what could be wrong? Did anybody actually get an ELM device (i.e. not a STN1110 device like OBDLink) to work with the iMiEV?

I ordered a OBDLink and an Arduino CAN bus shield, maybe one of them will fly. But maybe I'm making some other mistake.

Thanks!

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

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu May 23, 2013 10:44 am

the OBDLink is (imho) an excellent device.
I started using the BT version with full success.
anyway the STN1110 is fully compatible with ELM327 and much more advanced.

the iMiev is not a standard car. you should send the right command sequence...

for instance try this:

atsp6
ate0
ath1
stcfp
stfap 373,FFF
stm

it should show only the messages for pid 373, in wich are infos about V & Amps
Last edited by priusfan on Fri May 24, 2013 8:47 am, edited 1 time in total.

cristi
Posts: 11
Joined: Thu May 23, 2013 6:52 am

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu May 23, 2013 1:33 pm

Merci beaucoup! Waiting for my OBDLink...

Does OBD one-time individual PID retrieval like

Code: Select all

01 412

work with the iMiEV? Or just commands that continuously retrieve PIDs such as ATMA or STM?

Thanks!

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

Re: Decyphering iMiEV and iON CAR-CAN message data

Thu May 23, 2013 11:10 pm

hello cristi
be carefull when trying to send requests:
the traditional requests will not give traditional responses, and be warned you can lose brake assistance if you play this game.

using atma, you will get 1625 frames/sec
using filters with a STN1110, I can get the most interesting infos @180 fps (only 298, 346, 373, 374 & 412)

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