Results 1 to 5 of 5

Thread: Can I lock and unlock the doors of a RAV4 via the CAN bus?

  1. #1
    Newbie
    Join Date
    Jul 2013
    Posts
    1

    Question Can I lock and unlock the doors of a RAV4 via the CAN bus?

    This is something I need to be able to do for multiple cars, but for development I'm using my own Toyota 2010 RAV4. I have built a CAN interface that I've plugged into the OBD-II port. Normally, when the car is turned off, the bus is quiet. Unlocking the door causes a brief flurry of messages, which I can record. I don't know if any of those message specifically relate to unlocking the door, or whether they're just flashing the lights, beeping etc. When I replay them, nothing happens. So here are my questions:

    1) Is it likely that the doors could be controlled from the OBD-II port, which I believe only exposes the CAN C (high-speed bus for engine diagnostics)?

    2) Is there anywhere convenient I could access the other CAN buses from? Are the doors even controlled by CAN messages?

    3) Is it possible that I'm seeing the right messages, but they're being forwarded from another bus via a one-way gateway?

    4) Where would I find a full wiring diagram online?

    There are lots of tantalising hints from Google searches, but nothing is quite useful enough. Really, anything anyone can offer that will help me in the right direction would be really useful.

    (As for whether my replays work, recording turning on the headlights and playing that back does cause the headlight indicator on the instrument cluster to come on, so that's something.)

  2. #2
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    572
    Get a shop manual for your car. The same one the dealer uses to repair your car. You need this to be able to track what components your car has.

    If you decode the commands I believe there is information there that ID's the module it is coming from and to. I have a shop manual for my GM truck and I should be able to use this along with the CAN data to decode most commands and duplicate them. The manual gives me the names of the modules, where they are, what they are responsible for, and their CAN id addresses so with this information I should be able to communicate with them.

    If you look at where the commands are coming from and where they are going to and the order they happen you will likely be able to figure out what is going on. Since the CAN bus has been somewhat standardized since 1996 with ODBII you should be able to find information on the structure of a command and it should become simple. There are generic commands that are spelled out in the protocol but there is plenty of room for proprietary commands which all manufacturers use but they still use the same structure so you should be able to decode them relatively easily.

    This is NOT a simple mater of just recording the information and playing it back as you have noticed. You will likely have a command response sequence you need to follow.

  3. #3
    Constant Bitrate
    Join Date
    Nov 2012
    Posts
    140
    You should be able to duplicate anything that TECHII can generate.

    Snap-on also makes a similar unit for about $5k.

    Door lock and unlock may not be a can bus command.

  4. #4
    Maximum Bitrate
    Join Date
    May 2012
    Location
    Grandville, MI
    Posts
    572
    You may try starting from here:

    http://www.alldatadiy.com/index.html

    Sounds like they are pretty reasonable but I have no experience with them.

    If you are getting some chatter it is likely you can figure out the stuff once you decode the commands and responses.
    This is apparently an online manual source. There are manuals available for your vehicle but seem to be very expensive.

  5. #5
    Constant Bitrate
    Join Date
    Nov 2012
    Posts
    140
    Here is a very good article and some info.

    http://theksmith.com/technology/hack...p-easy-part-1/

Similar Threads

  1. RFID-Based Auto-lock/unlock System
    By Ryven in forum Hardware Development
    Replies: 49
    Last Post: 03-23-2013, 01:06 PM
  2. First Project - Rav4
    By Ghostgum in forum Newbie - Proposed setup
    Replies: 19
    Last Post: 12-07-2010, 03:41 AM
  3. remote lock/unlock does not work until pc is off
    By jmc1414 in forum Power Supplies
    Replies: 3
    Last Post: 05-12-2008, 09:27 AM
  4. Single Pulse to Lock and Unlock Using a mechanical latching relay
    By rotarypower101 in forum Hardware Development
    Replies: 3
    Last Post: 08-16-2006, 02:40 PM
  5. Power up/down with unlock/lock remote
    By Chainjack in forum Hardware Development
    Replies: 25
    Last Post: 03-01-2006, 06:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •