Bli medlem i Norsk elbilforening og støtt driften av Elbilforum. Som medlem får du i tillegg startpakke, medlemsfordeler og gode tips om elbil og lading. Du blir med i et fellesskap som jobber for mindre utslipp fra veitrafikken. Medlemskap koster 565 kroner per år. elbil.no/medlemskap

Think CANalyzer

Startet av PRensel, onsdag 02. november 2016, klokken 10:54

« forrige - neste »

PRensel

Hi all,

I have just finished up the raw-build of the Think CANalyzer :-)
What is it:
It is a small Arduino CAN enabled device which plugs into the ODB socket and listen for the CAN traffic.
You can connect a serial device like a PC or whatever to the USB port and every CAN packet is logged to the serial/USB port.
For most packets there is a translation provided with more meaningfull words.

Here's a logging i have just made from my (defective) Think (as you can see in the logging)

Only CAN data that changes is logged (otherwise your screen is flooded with similar data).

I'm offering this software (and future updates) for FREE, the only thing you have to do is buy your own hardware.
You can buy it with me or if you prefer directly at Hobbytronics in the UK.

===============
My personal EV collection:
----------------------------
- Audi A2 Electric
- Citroen Saxo Electrique 2-doors
- Vectrix VX1 (in different colors)
- CityEl Fact4
- MiniEl Targa/Cabrio/Basic: red, red
- Th!nk A266 PIV4 (also for sale)
- Th!nk A306 City (cars, parts, service)
===================

photonix

#1
Great, exactly what i'm looking for!
Can you provide me with the Arduino INO File?
I did the same thing with the CAN-Shield but i just see the codes and can't interpret them (what is what and which error i got):

Screenshot (CAN-Shield observed with "CAN-BUS TOOL.exe"):

https://www.dropbox.com/s/xcton0w24u4rp6s/scan2.png?dl=0
https://drive.google.com/file/d/0B_m0FwJ0F-IwRW9tV2djU0pLcVU/view?usp=sharing

i will send you my email in a PM. Thanks a lot :)

PS: Source for "CAN-BUS SuperSniffer": http://jeepjkcanbus.blogspot.co.at/p/can-bus-supersniffer.html

PRensel

I have corrected some decoding errors and added more decoding routines.
Most of the CAN bits are explained in the documents in another post on this forum.

Unfortunally i cant share the source code because parts of it are part of my own (commercialy used) libraries. But i can share the hex file which you can easily upload to the Arduino with an hexloader.
I'm using CS pin 17 for the CAN chip so in case you are using another CS pin let me know and i will make a hex file suited for that.

===============
My personal EV collection:
----------------------------
- Audi A2 Electric
- Citroen Saxo Electrique 2-doors
- Vectrix VX1 (in different colors)
- CityEl Fact4
- MiniEl Targa/Cabrio/Basic: red, red
- Th!nk A266 PIV4 (also for sale)
- Th!nk A306 City (cars, parts, service)
===================

photonix

this is absolutly ok for me. I already found the "A306 CAN Message Definitions" and hopefully i can decode my errors with this document.

And for the HEX File: i use an older CAN-Shield (v0.9) therefore my CS Pin is 10.
(Shield: http://wiki.seeed.cc/CAN-BUS_Shield_V1.2/)

Thank you very much :)

PRensel

Latest update:

I have covered almost all of the Zebra CAN traffic.
Next version adds Enerdel traffic.
Future versions: output to 4x20 display or over Bluetooth to mobile device.

Sample serial output of latest version from start, driving and stop attached.
===============
My personal EV collection:
----------------------------
- Audi A2 Electric
- Citroen Saxo Electrique 2-doors
- Vectrix VX1 (in different colors)
- CityEl Fact4
- MiniEl Targa/Cabrio/Basic: red, red
- Th!nk A266 PIV4 (also for sale)
- Th!nk A306 City (cars, parts, service)
===================

PRensel

Sitat fra: photonix på onsdag 02. november 2016, klokken 16:13
And for the HEX File: i use an older CAN-Shield (v0.9) therefore my CS Pin is 10.
(Shield: http://wiki.seeed.cc/CAN-BUS_Shield_V1.2/)


It is in your email :-)
===============
My personal EV collection:
----------------------------
- Audi A2 Electric
- Citroen Saxo Electrique 2-doors
- Vectrix VX1 (in different colors)
- CityEl Fact4
- MiniEl Targa/Cabrio/Basic: red, red
- Th!nk A266 PIV4 (also for sale)
- Th!nk A306 City (cars, parts, service)
===================

PRensel

Can anyone tell me what the following messages do ?

0x7E7
0x753
0x75B
0x737
0x73F

They seem to be involved with resetting (and probably reporting) faults
===============
My personal EV collection:
----------------------------
- Audi A2 Electric
- Citroen Saxo Electrique 2-doors
- Vectrix VX1 (in different colors)
- CityEl Fact4
- MiniEl Targa/Cabrio/Basic: red, red
- Th!nk A266 PIV4 (also for sale)
- Th!nk A306 City (cars, parts, service)
===================

stanislaus

Hi PRensel,

would you please share the CAN Definitions that you found out?

© 2024, Norsk elbilforening   |   Personvern, vilkår og informasjonskapsler (cookies)   |   Organisasjonsnummer: 982 352 428 MVA