1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Security of ELM 327 Bluetooth Module

Discussion in 'Gen 3 Prius Technical Discussion' started by zm15, Apr 9, 2012.

  1. KK6PD

    KK6PD _ . _ . / _ _ . _

    Joined:
    Mar 24, 2008
    4,003
    944
    118
    Location:
    Los Angeles Foothills
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Like I mentioned in an earlier episode in this thread, I am just going to put a switch, relay, whatever, just so Pin 16 is not feeding power to external devices when the car is off. If you have something that needs 24/7 power from that pin, there are other arrangements that will work!
     
  2. macman408

    macman408 Electron Guidance Counselor

    Joined:
    Mar 21, 2010
    1,179
    365
    1
    Location:
    California
    Vehicle:
    2010 Prius
    Model:
    V
    No, we didn't try establishing the connection while the car was off. We established the connection in IGN-ON, then turned the car off; the connection kept working. I don't know if that leaves some of the computers on that would otherwise be powered down or not, but it didn't seem any different from being normally powered down.
     
  3. PaJa

    PaJa Senior member

    Joined:
    Sep 3, 2009
    678
    113
    92
    Location:
    Czech republic
    Vehicle:
    2017 Prius
    Model:
    N/A
    I was not able to conenct via TechStream and Tactrix interface when car is OFF. The Toyota service manual states to turn car to IGN-ON (or Ready) status when working with TS.
     
  4. ajtozzi

    ajtozzi Junior Member

    Joined:
    Apr 7, 2012
    94
    13
    0
    Location:
    NJ
    Vehicle:
    2012 Prius
    Model:
    Two
    Pins 16 and 18 on an OBDII plug are 12+ and 12- constant. This is standard.

    The BT module (or any other scan tool) can not communicate with the vehicle with the key off due to the CAN networks shutting on/off with the key (though some CAN activity can be seen while the vehicle is off and for a short time after the car has been shut down).
     
  5. FrankTiger

    FrankTiger Member

    Joined:
    May 26, 2010
    63
    118
    0
    Location:
    Madrid, Spain
    Vehicle:
    2010 Prius
    Model:
    V
    Hi ajtozzi :rapture:

    In my earlier post (16Apr2012) I confirmed what you say, but I tested that the CAN bus also listens to the ELM327BT connected to the OBD port. My test is as follows:

    1. My 2010 Prius parked and off for several hours with the ELM327BT module connnected to the OBD port. The receiver (WindowsMobile 6.1 phone) is out of range of BT communications.

    2. I walk to the car, stand at about 4meter (12ft) distance and establish BT communications with the ELM327 module.

    3. I send a few ELM327 AT commands to initialize the module (ATWS, ATDP, AT@1) All of them are answered correctly, which means that the OBD port is hot and the ELM327 powered on.

    4. I send ATMA command to ELM327 module which monitors the CAN bus, then it shows traffic in the following IDs: 610 611 620 621 622 624 626 630 638 639 and also with 63B which contains a time counter. The traffic lasts 4 seconds at a rate of about 20messages/second, and after those seconds the CAN bus silences.

    5. I walk nearer the car, and the car dome light illuminates, then the CAN bus shows four characteristic messages [611 21 00 00 12 00 00 54 38] [620 10 00 02 58 80 00 00 80] [620 10 00 02 57 80 00 00 80] and [626 1C 00 30 00 00 00 00 00] Since this moment, the CAN bus traffic continues at about 20 messages/second repeating these messages, and also earlier ones at 610, 621, 622, 624, 630, 638, 639 and the time stamped 63B

    6. I touch the door handle and the car unlocks, then the CAN Bus shows some one hundred messages in some addresses, a new one is 631, and after these, the CAN Bus silences again.

    7. I open the driver door and the CAN bus shows traffic for about two seconds with 2 characteristic messages [611 21 00 00 12 00 00 54 38] and [620 10 00 02 57 80 00 00 80] Then the CAN bus silences again until I close the door.

    I hope this information is useful.

    Big hugs from Frank
     
  6. szgabor

    szgabor Active Member

    Joined:
    Jul 29, 2009
    993
    175
    0
    Location:
    Oceanside NY
    Vehicle:
    2012 Prius
    Model:
    Two
    What is pin 18 ?? my OBDII connector only has 16 pin so does the BT unit ??

    Also wondering where does OBD gets -12 ??? the lowest the car 12V system goes is ground (also considered 0V).

    This is maybe some misunderstanding ...
     
  7. ajtozzi

    ajtozzi Junior Member

    Joined:
    Apr 7, 2012
    94
    13
    0
    Location:
    NJ
    Vehicle:
    2012 Prius
    Model:
    Two
    Sorry I was thinking of something else when I typed that - it's pins 4 and 16!!!

    In the DC system in a car we generally refer to 12V+ and 12V- or simply positive and negative.
     
  8. szgabor

    szgabor Active Member

    Joined:
    Jul 29, 2009
    993
    175
    0
    Location:
    Oceanside NY
    Vehicle:
    2012 Prius
    Model:
    Two
    That would indicate 24V difference btw them which clearly not the case. Just to be sure you mean the 0V/ground as 12V-

    Pin 4 (and 5) should be ground or 0V basically the car body... I do not think the "negative" terminal is actually wired all over ... with separate wires. Pin 5 actually Signal Ground but for all practical purposes is the same as Pin 4 ... in my cheap BT OBD2 interface pin4 and pin5 simply soldered together ...
     
  9. bilofsky

    bilofsky Privolting Member

    Joined:
    Nov 14, 2011
    525
    177
    0
    Location:
    S.F. Bay Area, CA
    Vehicle:
    2014 Chevy Volt
    Just to add to this old thread about battery drain from and OBD II sender with the ignition off:

    I just bought this ELM 27 Bluetooth sender from Newegg.com for $17 including shipping. It worked right away with Torque Lite on my Android.

    It has three status LEDs including power, so no need to whip out the voltmeter. Haven't tried it on my PiP yet, but on the 2004 Ford I got it for, it is powered with the ignition off.
     
  10. bwilson4web

    bwilson4web BMW i3 and Model 3

    Joined:
    Nov 25, 2005
    27,191
    15,431
    0
    Location:
    Huntsville AL
    Vehicle:
    2018 Tesla Model 3
    Model:
    Prime Plus
    Thanks!

    I bought one of those cheap, Harbor Freight, 1.5 W solar panels and some $2 solar buck-boost converters. My plan is to put the solar panel in the car and use a Lowe's RJ-45, wallboard jack to hold the converter and feed power at 13.1-13.2 V using the Scangauge OBD connector. This should keep the battery 'healthy' until I need to it again.

    I am using a BMW i3-REx around town so the Prius is sitting unused ... the 12 V battery discharged when I must have left the passenger side door ajar. So this should keep the car ready to go if needed. In a year or so, we'll readdress whether or not we keep it.

    Bob Wilson
     
    Rangerdavid likes this.
  11. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,371
    15,148
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    I know I'm replying to a years-old post, but just for the record about ELM 327, it can speak KWP just fine. I was playing with one on my old Gen 1, which has no CAN bus at all.

    -Chap
     
  12. RobH

    RobH Senior Member

    Joined:
    Sep 18, 2006
    2,369
    978
    70
    Location:
    Sunnyvale, California
    Vehicle:
    2006 Prius
    So the ELM apparently speaks Gen1 KWP protocol. The Gen2 KWP bus is a slightly different animal which I've never managed to connect to with an ELM. ATMA works, but establishing a connection with the TPMS and key ECUs fails. These are KWP, not CAN, bus devices on Gen2.
     
  13. ChapmanF

    ChapmanF Senior Member

    Joined:
    Mar 30, 2008
    23,371
    15,148
    0
    Location:
    Indiana, USA
    Vehicle:
    2010 Prius
    Model:
    IV
    Gen 1 was a strange hodgepodge. It had ECUs reachable on the same bus but with some of them talking KWP at 9600 baud and some talking 9141-2 at 10.4 kbaud. Depending on the configuration commands sent to the ELM, it could see these and not those, or those and not these, but never at the same time.

    If I remember right, I never got any of the KWP boxes to respond to any kind of broadcast; you could poke one directly if you knew its address, and see something was there. I was meaning to do further experimentation before my Gen 1 got crunched.

    -Chap