Is it possible to use a car's onboard diagnostic port to toggle the headlights, interior lights, or parking lights? If not through the OBD-II port, how would I go about remotely toggling the lights on a car?
-
1It depends on if the lights are controlled by a body control module or not. You would need a scantool that can do bidirectional controls as well.– BenCommented Apr 15, 2016 at 23:59
-
1Most light control relays see switched ground on pin 86 and either ignition or battery voltage on pins 30 and 85. So you could intercept the wire at pin 86 and turn the relay on with a remote switch that was grounded. I believe this is how aftermarket alarms do it.– BenCommented Apr 16, 2016 at 0:14
2 Answers
The short answer is: no - not without the manufacturer's diagnostic tools.
The long answer is: maybe. Modern cars have most (if not all) exterior and interior lights controlled by the body control module (BCM). Most (if not all) switches are connected to the BCM as well. This provides a lot of flexibility. A prime example is if you leave your headlights or interior lights on, the BCM can override and turn them off after a timeout to prevent a dead battery.
Another interesting example is the way turn signals operate. In older cars, switching the turn signal on would close a circuit from the battery to a component with a spring in the path. This spring would expand from the heat as current passed through it. Once it expanded enough, it would open the circuit, and as it cooled down, it would shrink and close the circuit again. This in operation generated a clicking sound that we're all too familiar with. Software in the BCM of modern vehicle's control the turn signals, and the "clicking" sound is simulated (usually by a transducer in the instrument cluster).
It is possible to control (or actuate) the lights via the OBDII port by issuing an "input/output control" diagnostic command (as defined in ISO-14229 Unified Diagnostic Services) with the ID of the light you want to control. The problem is finding this ID, as they are vehicle manufacturer specific. Only the official diagnostic software/hardware from the manufacturer contains this information.
It would be possible to brute force the IDs by sending the IO control command for every possible ID in the system supplier specific range (which is around 500 IDs). This would take a lot of knowledge, time, and effort - but is not impossible.
-
I always thought the clicking sound (originally) came from a relay. Never bothered to look, though. (The original turn signal patent, however, does mention a heated spring.)– JoeyCommented Jan 22, 2017 at 9:52
-
Just to add some personnal experience to this absolutely correct answer: I actually spent some time for a personnal project looking for constructor specific IDs and that kind of stuff, so if you want a first approach on how I did, here is a link youtube.com/watch?v=KU7gl1n1tIs– P1kachuCommented Jun 7, 2018 at 9:19
Well the correct answer is 100% yes you can and this is how. Speed turtle 2.0 easy flash module. Look them up also note that this will make your factory headlights strobe lights without any mods but if this is not what your looking for then disregard.
-
1Welcome to the site. Please don't use all-caps, it is considered shouting and is rude. I've edited it to normal case.– Nick C ♦Commented Jun 7, 2018 at 8:41