jdseymour
Posts: 1
Joined: Wed Jun 03, 2015 10:00 am
Delivery Date: 03 Jun 2015

Looking for simplest ELM327 command to test if ECU is on

Wed Jun 03, 2015 10:09 am

We are developing an ELM327-based device and need to send a command just to test whether the car's ECU is on or not.

For all other vehicles I've tested with, simply sending the command "0100" (to query the supported PIDs for Mode 1) is sufficient. If the ECU is ON, it will return a valid response. Otherwise, I'll get "UNABLE TO CONNECT".

However, for the Leaf, the only way I've been able to talk to the ECU is to send a series of init commands (such as turning headers and CAN formatting off, and then specifying a specific CAN address).

Does anyone know if there is a "generic" command that will work on the Leaf, but also work on other cars?

Once I've determined the ECU is ON, I can jump through extra hoops - but the basic detection needs to be as simple as possible.

Any thoughts or ideas would be appreciated.

Thanks.

Turbo3
Gold Member
Posts: 2012
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Looking for simplest ELM327 command to test if ECU is on

Wed Jun 03, 2015 1:08 pm

I would guess you could just put the ELM into monitor mode with a mask set to allow all or some common subset of messages through. If the CAN is alive you will get flooded with messages and overrunning the ELM buffer. If the CAN is idle you will get nothing.

Return to “LEAF CANBus”