I’m not so sure. If the key is powered on, the button on the handle will still work just fine. It’s what I use daily anywho. And then when you walk away the door automatically locks when the fob is out of range. In the simplest terms I think just giving the key power is enough.
I’d like it to unlock the car as well so I’ll wire that up, but I think it’s a nice to have not a nessesity.
Also yes have the soft top. Was planning on hiding the key inside the door panel, and putting the antenna in the front tiny window panel.
That said!! How do you like your ND? love these things
The issue I’m seeing isn’t with the fob not working its with the button on the door not working when the fob is not outside of the vehicle and within the read range of the exterior antennas. Otherwise anyone could open the door even after you have locked yourself inside the vehicle.
edit: The car might also be looking for the fob outside the car and moving away for the automatic door locks to work.
edit2: there will have to be some testing by removing and reconnecting the battery in various scenarios
Yeah you’ll have to do some scenario testing to fully understand all the behaviors before you decide how to handle it. For me, the outside button would not work with the fob inside the car. So I simulated the unlock button press when there was a RFID scan. On my fob, I needed to wait a bit after powering up the fob before I simulated the unlock button press. I also had to disable the “hey dummy you left the key in the car” horn beeps. Fortunately my car had a way to turn that off. Not sure all do.
I didn’t use a battery. I used a 3.3v regulator so I don’t have to worry about the battery dying.
So far so good. Still waiting on shipping from china, but have been able to get the xiao and a pn532 from amazon working so far. At this time using circuitPy which is kinda cool if it works. I need to verify If I can use 3rd party c libraries so I don’t need to learn c
Now I need to get the breadboard up and running so I can test this thing from a battery 9v?. and then start connecting the key.
One issue thus far is trying to understand how to step down voltages correctly. The car is 12v from the battery but needs to be stepped down to 5v and then again to 3v for the key fob.
Progress is being made, but it’s slow going as I’m in WAY over my head on the electronics side. Fun though as it’s one hell of a challenge. Once I get the breadboard up I’ll post a pic or two.
I’m glad to hear things are progressing. For stepping down voltages you may consider looking on amazon for “3.3v buck converter” for instance. A variety of places have them and some are quite small. We do have a bunch of people here who are good with electronics. Feel free to ask for help when/if you get stuck.
Just swapped over to the pro micro to tinker with the repo… Sadly got myself wayyyyy in the weeds with voltages… the Xiao has 5v out and 3.3v out which woks with the pn532… but the pro micro I have is a 5v out. Trying to now understand how to reduce voltages from 5 to 3.3 for the pn532 and then again to 3v for the fob… in all honesty feeling super lost
Alright, prototype in a working state. Still need to tinker with the simple ac code to get it to do what I want. but card is read → on success key gets power, car unlocks… huge fucking win in my book!!
-understand how to remove these two buck converters from the project
-modify code to deal with both inputs(car off/ car on)
-wire up other buttons like unlock and trunk
3d print enclosure
-maybe come up with a pcb?