PCM Diagnostics & Tuning HP Tuners | Holley | Diablo

Feasible to create auto-lock from ODBII?

Thread Tools
 
Search this Thread
 
Old Oct 30, 2018 | 05:41 PM
  #1  
ewingr's Avatar
Thread Starter
TECH Enthusiast
 
Joined: Sep 2005
Posts: 618
Likes: 3
Default Feasible to create auto-lock from ODBII?

I have an LS3 in a '61 Chevy. I would like to be able to have my doors lock at 10mph or something like that.

Anyone know if it's possible to rig something up from the odb port to send a negative signal that I could hook to the door lock? Would be good to send it to the unlock at ign off.

I've been looking to see if there is any aftermarket thing for this but haven't run across anything.

Reply
Old Oct 30, 2018 | 06:22 PM
  #2  
LLLosingit's Avatar
TECH Junkie
10 Year Member
Liked
Loved
Community Favorite
iTrader: (4)
 
Joined: Aug 2013
Posts: 3,845
Likes: 487
From: Iowa
Default

Most likely that would have been controlled by the BCM not the ECU but that doesn't mean you can't make something yourself to make it work.

Not that you're going to spend the money to make the switch but an aftermarket ecu would be able to make that possible. I run a Holley system that locks out reverse at speeds above 5mph.
Reply
Old Oct 30, 2018 | 06:23 PM
  #3  
gofastwclass's Avatar
TECH Addict
iTrader: (2)
 
Joined: Aug 2009
Posts: 2,949
Likes: 28
From: KCMO
Default

Roger, locking the doors once the car is in motion would come from the body control module not the PCM. Can something be put together using factory or aftermarket parts? Possibly, but at what cost (time and financial). I'm a simple guy so I ask why not just lock the doors if you want them locked?
Since your car is an automatic what would be simpler is setting a switch to activate a relay that locks the doors when you put the car in gear and unlocks them when you move back to park. Some aftermarket alarms will do this.
Reply
Old Oct 30, 2018 | 06:39 PM
  #4  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,298
Likes: 3,619
From: Central Cal.
Default

Originally Posted by gofastwclass
Since your car is an automatic what would be simpler is setting a switch to activate a relay that locks the doors when you put the car in gear and unlocks them when you move back to park. Some aftermarket alarms will do this.
I think this would be your best plan of action. Simple but effective.
Reply
Old Nov 1, 2018 | 02:00 AM
  #5  
PeteS160's Avatar
TECH Enthusiast
5 Year Member
 
Joined: Oct 2017
Posts: 567
Likes: 159
Default

Sure it can be done exactly like your describing but it's probably not worth the cost to have someone else design and build something for you for something that just does lock/unlock.

You'd need a micro controller
1 Mcp2551/2515 combo, 2 output resistors and 2 caps
1 linear voltage regulator/I/O caps to feed the micro controller and CAN chips as well as stabilize the voltage.
2 Npn transistor and gate resistor
2 Songle micro relays - These are good for 10 amps

Send the pid request 0x01 0x0D every 100-200ms to get vehicle speed then read the response and convert it to MPH.
A simple program something along the lines of.......
if (speed > 10 && LockPin == LOW) { digitalWrite(LockPin, HIGH);} // turn on lock relay if it's not on and speed is more then 10 mph
else if (speed > 10 && LockPin == HIGH) { digitalWrite(LockPin, LOW);}// if speed is more then 10 mph and lock relay is on turn the relay off
​​​
if (speed < 10 && UnlockPin == LOW) { digitalWrite(UnlockPin, HIGH);}// turn on the relay to unlock the doors when speed is less then 10 mph
else if (speed < 10 && UnlockPin == HIGH) { digitalWrite(UnlockPin, LOW);}// IF the unlock relay is on then turn it off

That gives you an idea how simple it is..you could add a timer to the above code to control how long the lock/unlock pulse from the relay lasted if it didn't turn on the relay long enough to activate the locks fully. Hell could even add a delay so that it'd wait X number of seconds before trying to activate the locks again so the locks aren't cycling on and off at parking lot speeds.

If your handy with a soldering iron and spent a couple of hours reading on basic programming for something like an Arduino and a few more hours writing your program and assembling the parts you could build this your self in a couple of nights for about 15 bucks worth of parts on a blank pcb. Hell you could just but an Arduino, a CAN shield and micro relay board for around $30-35 bucks but you'd still need to come up with a regulator to step the voltage down to something a micro controller can worth with and it'd be a bit larger.
Reply
Old Nov 1, 2018 | 04:18 AM
  #6  
gametech's Avatar
TECH Veteran
20 Year Member
Active Streak: 30 Days
Active Streak: 60 Days
Top Answer: 1
iTrader: (1)
 
Joined: Sep 2004
Posts: 4,915
Likes: 908
From: Stockbridge GA
Default

Originally Posted by PeteS160
Sure it can be done exactly like your describing but it's probably not worth the cost to have someone else design and build something for you for something that just does lock/unlock.

You'd need a micro controller
1 Mcp2551/2515 combo, 2 output resistors and 2 caps
1 linear voltage regulator/I/O caps to feed the micro controller and CAN chips as well as stabilize the voltage.
2 Npn transistor and gate resistor
2 Songle micro relays - These are good for 10 amps

Send the pid request 0x01 0x0D every 100-200ms to get vehicle speed then read the response and convert it to MPH.
A simple program something along the lines of.......
if (speed > 10 && LockPin == LOW) { digitalWrite(LockPin, HIGH);} // turn on lock relay if it's not on and speed is more then 10 mph
else if (speed > 10 && LockPin == HIGH) { digitalWrite(LockPin, LOW);}// if speed is more then 10 mph and lock relay is on turn the relay off
​​​
if (speed < 10 && UnlockPin == LOW) { digitalWrite(UnlockPin, HIGH);}// turn on the relay to unlock the doors when speed is less then 10 mph
else if (speed < 10 && UnlockPin == HIGH) { digitalWrite(UnlockPin, LOW);}// IF the unlock relay is on then turn it off

That gives you an idea how simple it is..you could add a timer to the above code to control how long the lock/unlock pulse from the relay lasted if it didn't turn on the relay long enough to activate the locks fully. Hell could even add a delay so that it'd wait X number of seconds before trying to activate the locks again so the locks aren't cycling on and off at parking lot speeds.

If your handy with a soldering iron and spent a couple of hours reading on basic programming for something like an Arduino and a few more hours writing your program and assembling the parts you could build this your self in a couple of nights for about 15 bucks worth of parts on a blank pcb. Hell you could just but an Arduino, a CAN shield and micro relay board for around $30-35 bucks but you'd still need to come up with a regulator to step the voltage down to something a micro controller can worth with and it'd be a bit larger.
And just what is to stop him from hooking up a junkyard BCM to whatever late model style accessories he wants to use? He could do power locks, windows, etc., just like the later model vehicles. No need to know anything other than basic wiring and hardware skills. It would require tuning software, but I am guessing he should have that anyway.
Reply
Old Nov 1, 2018 | 01:09 PM
  #7  
MontecarloDrag's Avatar
10 Second Club
iTrader: (3)
 
Joined: Aug 2005
Posts: 889
Likes: 6
Default

You have 2 options, one is using a BCM, the second is an aftermarket alarm.
Most BCMs can be configured to lock the doors when you put the trans in drive or when it reaches certain speed and unlock them when the shifter is put in park.
Aftermarket alarms can only be programmed to lock when ignition is ON and unlock when switched OFF (at least most common models)
Reply




All times are GMT -5. The time now is 09:01 PM.

story-0
Topdon ONE vs. Artidiag 800 BT2: Which is the Diagnostic Tablet For You?

Slideshow: We take a close look at the ONE and Artidiag 800BT2 diagnostic tools from Topdon and the reasons to buy one over the other.

By Pouria Savadkouei | 2026-05-28 11:05:11


VIEW MORE
story-1
Gas Monkey Built a 6-Wheel Ferrari Testarossa With a Corvette LT4 Engine

Slideshow: The controversial Ferrari F6 swaps its original flat-12 for a Corvette Z06-derived LT4 V8 and sends power to four rear wheels through a custom-built drivetrain.

By Verdad Gallardo | 2026-05-26 18:23:54


VIEW MORE
story-2
7 Most Reliable High-Performance Engines GM Has Ever Built

Slideshow:These GM engines didn't just make huge power, they survived abuse, boost, track days, and six-digit mileage with a reputation for refusing to quit.

By Verdad Gallardo | 2026-05-21 16:45:27


VIEW MORE
story-3
Amazing '71 Camaro Restomod Is Modern Muscle Car Under the Skin

Slideshow: This heavily modified 1971 Camaro mixes classic muscle car styling with a fifth-generation Camaro interior and modern LS3 power.

By Verdad Gallardo | 2026-05-12 18:06:42


VIEW MORE
story-4
6 Common C5 Corvette Failures and What's Involved In Repairing Them

Slideshow: From wobbling harmonic balancers to failed EBCMs, these are the issues that define long-term C5 ownership and what repairs typically involve.

By Pouria Savadkouei | 2026-05-07 18:44:57


VIEW MORE
story-5
Retro Modern Bandit Pontiac Trans AM Comes With Burt Reynolds' Autograph

Slideshow: A modern Camaro transformed into a retro icon, this limited-run "Bandit" build blends nostalgia with brute force in a way few revivals manage.

By Verdad Gallardo | 2026-04-21 13:57:02


VIEW MORE
story-6
Top 10 Greatest Cadillac V Series Performance Models Ever, Ranked

Slideshow: Cadillac didn't just crash the high-performance luxury vehicle party, it showed up loud, supercharged, and occasionally a little unhinged...

By Pouria Savadkouei | 2026-04-16 10:05:15


VIEW MORE
story-7
Top 10 Most Powerful Chevy Trucks Ever Made!

Slideshow: Top ten most powerful Chevy trucks ever made

By | 2026-03-25 09:22:26


VIEW MORE
story-8
Hennessey's New Supercharged Silverado ZR2 Has 700 HP

Slideshow: Hennessey has turned the Silverado ZR2 into a 700-hp off-road monster with supercharged V8 power and a limited production run.

By Verdad Gallardo | 2026-03-24 18:57:52


VIEW MORE
story-9
Coachbuilt N2A Anteros Is an LS2-Powered C6 Corvette In Italian Clothes

Slideshow: A one-off sports car that looks like a vintage Italian exotic-but hides a C6 Corvette underneath-just sold for the price of a new mid-engine Corvette.

By Verdad Gallardo | 2026-03-23 18:53:41


VIEW MORE