NFC Central Locking/Ignition
Moderators: IMC, Club Staff
- Vectose
- Forum Moderator
- Posts: 3948
- jedwabna poszewka promocja
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
NFC Central Locking/Ignition
Thought I'd start a thread for this just to keep it a little documented.
The idea is to be completely keyless and to only have to carry an NFC ring or even a card in your wallet.
Started this project a couple of years ago and have had it running on my bike for the past year.
I've had the door locks working in the FTO for the past year as well, but not hooked up because having the reader on constantly drains too much power and would eventually drain the battery.
I have since figured out a way to only have the reader turn on when you put your hand up to it. And that is by using a capacitive touch sensor.
I have made a larger conductor out of a piece of copper board.
I was worried that it would interfere with the NFC signal as anything metal does. But I have made it small enough to not interfere with the antenna.
The only downside to this is it causes a 1.2sec delay. From when you put your hand to it to when it unlocks/locks the doors.
In the video it's running off an arduino so the time is a little longer as it takes longer to boot, but using just the chip on its own is faster.
The lights on the left indicate it's powered up and the light on the right indicates the door is locked/unlocked.
The reader sits in the drivers side quarter window.
It takes an input from the switch in the central locking actuator to know if the car is locked or unlocked and does the opposite.
When it unlocks the car it also flips a latching relay which turns on the reader for the ignition. The latching relay will stay in its position even if it loses the signal power, which it will as the circuit is only on when your hand is near it. The relay flips off again when the doors are locked.
The ignition circuit is a lot more complicated.
So first let me go through the steps of which it operates.
The FIRST tap with an NFC tag turns on accessory. If you open a door at this point the beeper will warn you that it's on, just like leaving your key in the acc position.
A SECOND tap turns on the ignition.
A THIRD tap brings it back to accessory. Now if you open the door here everything will shut off. Let's call this state retained accessory power (RAP)
Now whenever it's in the RAP state, if you tap it will bring it back to ON and keep cycling back and forth.
While in the ON position if you put your foot on the brake and then tap, it will start cranking the engine until it either starts the car or you tap again to go back to the ON position.
When it gets an input from an RPM switch that activates once the car is running above a certain RPM, it stops cranking and we are now in the running state.
At this point tapping will do nothing. So there are no accidental taps and you don't turn the car off at speed.
To turn the car off you need to pull the handbrake up at which point you can tap and it brings you to the RAP state where accessories stay on until you exit the vehicle.
Here is a video that might be easier to understand if you didn't understand some of that.
There are also some mechanical safety features built into the circuit.
The acc and ignition are also on latching relays, so if for some reason power to the chip is lost while the engine is running it won't shut the car down.
If power to the chip is lost when the engine is running it will automatically reset itself to the running state.
I will also be making another reader for the boot release. So you just hold your hand at the bumper and it pops the boot.
I will keep this thread updated as I progress.
The idea is to be completely keyless and to only have to carry an NFC ring or even a card in your wallet.
Started this project a couple of years ago and have had it running on my bike for the past year.
I've had the door locks working in the FTO for the past year as well, but not hooked up because having the reader on constantly drains too much power and would eventually drain the battery.
I have since figured out a way to only have the reader turn on when you put your hand up to it. And that is by using a capacitive touch sensor.
I have made a larger conductor out of a piece of copper board.
I was worried that it would interfere with the NFC signal as anything metal does. But I have made it small enough to not interfere with the antenna.
The only downside to this is it causes a 1.2sec delay. From when you put your hand to it to when it unlocks/locks the doors.
In the video it's running off an arduino so the time is a little longer as it takes longer to boot, but using just the chip on its own is faster.
The lights on the left indicate it's powered up and the light on the right indicates the door is locked/unlocked.
The reader sits in the drivers side quarter window.
It takes an input from the switch in the central locking actuator to know if the car is locked or unlocked and does the opposite.
When it unlocks the car it also flips a latching relay which turns on the reader for the ignition. The latching relay will stay in its position even if it loses the signal power, which it will as the circuit is only on when your hand is near it. The relay flips off again when the doors are locked.
The ignition circuit is a lot more complicated.
So first let me go through the steps of which it operates.
The FIRST tap with an NFC tag turns on accessory. If you open a door at this point the beeper will warn you that it's on, just like leaving your key in the acc position.
A SECOND tap turns on the ignition.
A THIRD tap brings it back to accessory. Now if you open the door here everything will shut off. Let's call this state retained accessory power (RAP)
Now whenever it's in the RAP state, if you tap it will bring it back to ON and keep cycling back and forth.
While in the ON position if you put your foot on the brake and then tap, it will start cranking the engine until it either starts the car or you tap again to go back to the ON position.
When it gets an input from an RPM switch that activates once the car is running above a certain RPM, it stops cranking and we are now in the running state.
At this point tapping will do nothing. So there are no accidental taps and you don't turn the car off at speed.
To turn the car off you need to pull the handbrake up at which point you can tap and it brings you to the RAP state where accessories stay on until you exit the vehicle.
Here is a video that might be easier to understand if you didn't understand some of that.
There are also some mechanical safety features built into the circuit.
The acc and ignition are also on latching relays, so if for some reason power to the chip is lost while the engine is running it won't shut the car down.
If power to the chip is lost when the engine is running it will automatically reset itself to the running state.
I will also be making another reader for the boot release. So you just hold your hand at the bumper and it pops the boot.
I will keep this thread updated as I progress.
Last edited by Vectose on Thu Jun 23, 2016 9:24 pm, edited 5 times in total.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
Reserved.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
- Technikhaus
- Oldtimer
- Posts: 3656
- Joined: Wed Dec 28, 2011 4:45 pm
- Location: Dunedin - NZ
- Contact:
Re: NFC Central Locking/Ignition
Nice work!
I've been considering doing this since you showed it to me around a year ago, but just haven't gotten off my backside to give it a go..
Also, the images don't work for me
I've been considering doing this since you showed it to me around a year ago, but just haven't gotten off my backside to give it a go..
Also, the images don't work for me
Man '96 FTO GPX
Man '89 Legacy RS Rally car
Man '90 MR2 GT
Auto '08 Fairmont Ghia
Man '89 Legacy RS Rally car
Man '90 MR2 GT
Auto '08 Fairmont Ghia
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
Images should work nowTechnikhaus wrote: Also, the images don't work for me
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
-
- Grease Monkey
- Posts: 152
- Joined: Fri Apr 11, 2008 5:00 pm
- Contact:
Re: NFC Central Locking/Ignition
i want this... and an ignition start button!
- Supplanter
- Forum Moderator
- Posts: 6417
- Joined: Tue Oct 22, 2002 5:00 pm
- Location: Arizona Bay
- Contact:
Re: NFC Central Locking/Ignition
Are you using a rolling code between the ring and the scanner or can I shake your hand at the next bonfire with a hidden NFC reader and take your car for a drive?
LED ALL the things.
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
:lol: I'm not gonna reveal everything about how it works.
Leaving a fair bit of info out of what I post.
Leaving a fair bit of info out of what I post.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
-
- Grease Monkey
- Posts: 152
- Joined: Fri Apr 11, 2008 5:00 pm
- Contact:
Re: NFC Central Locking/Ignition
so is this something i can *easily* build from scratch too?
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
"Easily" No.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
-
- Grease Monkey
- Posts: 152
- Joined: Fri Apr 11, 2008 5:00 pm
- Contact:
Re: NFC Central Locking/Ignition
is there a plan/instructions for this or did you make from scratch?
a community electronic makerspace has just opened close by and this is the sort of project they want me to bring!
a community electronic makerspace has just opened close by and this is the sort of project they want me to bring!
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
There's no instructions. I built it all from scratch and the design is all mine.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
-
- Grease Monkey
- Posts: 152
- Joined: Fri Apr 11, 2008 5:00 pm
- Contact:
Re: NFC Central Locking/Ignition
are you willing to share?
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
Everything I'm willing to share is in this thread.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
- PHIL069
- Oldtimer
- Posts: 4719
- Joined: Sun Sep 20, 2009 5:00 pm
- Location: Central Coast > South Australia
Re: NFC Central Locking/Ignition
Are you going to manufacture, market and sell these units?
If so, will they be plug and play?
If so, will they be plug and play?
mikeey01nzl wrote:Hats off to you too Phil for spending so much time on the phone trying to help someone out, your a top man and only a few would've spent so much time. well done!
Daniel2019 wrote:Come on phil, we bonded at the bonfire, lets be honest here...me and phil are besties now...
- Sahin
- HULK
- Posts: 5518
- Joined: Wed Oct 05, 2011 10:38 pm
- Location: Up to me nuts in boys guts
Re: NFC Central Locking/Ignition
He could then at the bonfire steal everyone's cars lol
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
Nah, won't be producing these. Can't make em plug and play as need to tap into too many places.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
- Vectose
- Forum Moderator
- Posts: 3948
- Joined: Sun Nov 28, 2010 8:45 pm
- Location: Newcastle
Re: NFC Central Locking/Ignition
Also have the steering lock to worry about.
Bennoz wrote:A whoooole lot 'o jismTechnikhaus wrote:What is in said Bens big penis by the way?
-
- Grease Monkey
- Posts: 152
- Joined: Fri Apr 11, 2008 5:00 pm
- Contact:
Re: NFC Central Locking/Ignition
r-i-g-h-t... without turning the key... the wheel is locked... dammit...