10

I'm trying to figure out how to lock and unlock the doors of a 2016 Mercedes Citan using the CAN bus via the OBD-II port. Is there some kind of OBD-II interface where I can control this with plain negative pulses?

thanks

Sebastian Breit
  • 203
  • 1
  • 2
  • 5

4 Answers4

8

The OBD-II port supports a number of electrical protocols, but all of them are serial in nature. There is nothing you can do to any of the OBD-II pins with "plain negative pulses" to do what you want to do.

One path to what you want is a cheap ELM327 device sold by just about everyone on Amazon.com. They are very inexpensive and easy to use. If you get one that has a USB cable on it, you can talk to it with Putty, or any serial data application you like. Putty is free, and easy to use.

Once you have connected your PC / laptop to the ELM327, you can send commands to the vehicles ECM (Engine Control Module) and anything else that's connected directly to that bus.

Here's the hard part, the command you want is likely going to be a mode 8 PID. (See this link for general information about modes and PIDs Wikipedia OBD link

The reason that's the hard part is that most manufactures don't like to publish what their mode 8 PIDs are, or what the data format is. Getting this information could be difficult, or expensive.

But at the end of the day, you cannot just send single ended pulses to a pin on the OBD port and control anything. Most of the signaling protocols are double ended (differential) btw.

References:
ELM327 Data Sheet

cdunn
  • 9,326
  • 8
  • 44
  • 76
2

I have been trying to find information on the same thing and the conclusions I arrived at are that it would be easier to repurpose an old/new key fob to do just that in combination with a BLE/WiFi microcontroller. Matt Frost did that here:

https://gitlab.com/milagrofrost/esp8266-car-key-fob-iot/-/tree/master

0

If you read Voyo FAQ it states they use “wireless relays” to add Convenient functions that when an “authorized” device is in range can trigger relays.

So Voyo doesnt appear to be using the OBD port to trigger locks. OBD in the lock scenario is just a coordinator for the Voyo wireless addons relays.

0

Voyomotive does somehow lock/unlock doors and pop trunk without anything additional than their obd2 unit. I have one so I can vouch for this. The relays (which they still haven't come out with yet) have some other functions like starting/stopping the engine.

Raj
  • 1