Hello everyone,
I would say I'm like a new born when it comes to the arduino boards. I recently discovered them because a friend of mine wanted to make a mame cabinet which we decided a pi would be best.
I have an idea for my own project though. I want to modernize my suv. It's a 95 with no key fob but electric locks. I've already got the wiring diagrams and I know which color is for lock and unlock directly to the physical door lock switch on the driver side(that will work correct?). I have a few questions though because I have not purchased any parts yet. I think I need at least the nano v3.0 as it would hide nicely. I also would want to get a buck converter, at least a 2 channel relay, 4pin bluetooth module and lastly a big set of jumper wires. Does this sound like everything? Update I want ahead and bought a uno r3, some jumper wires, a 2 and 4 channel relay, buck converter, bluetooth module and a connector so I can wire the power plug to the converter
As far as the code, I took 2 courses with python 4 years ago which I hardly remember but I see that scratch appears to be mildly simple. I've not actually tried writing the code yet but I have an idea of what it should do or the logic to it at least after doing some research.Once the parts arrive, I'm going to start attempting to write my code for this. I am looking at the examples provided both online and within the Arduino exe
I basically want the bluetooth module to be looking for my phone. once it establishes a connection, I want it to listen for the command, (Lock)(lock)(L)(l) or (Unlock)(unlock)(U)(u). An app that would send those commands in a button layout instead of a terminal would be great and I think I've seen a few around but I want it pretty simple.
When it receives the unlock command, it will trigger relay 1 to provide power to just the single unlock wire for .5 to 1 second which will act as if I were physically pressing the unlock button on my door right? The only trouble I may have is that with a single press it unlocks the driver side and a second unlocks all doors. Not sure how much a delay I would have?
When it receives the lock command, it will trigger relay 2 to provided power to just the single lock wire for .5 to 1 second (I'm not sure on the timing yet) which will lock all the doors. (maybe later on, have it beep my horn to confirm or send a confirmation to my phone)
I also want to retain the physically buttons in my suv as well, but I have seen/used connectors that splice into a wire while leaving it intact. Would that cause any type of feedback issue or would the relays being in place protect the arduino?
If I can get this working I'd like add features to it like unlocking my rear hatch or even remote start. I can always buy a 4 or 8 channel relay later on. Anyways, that is my basic idea. Does this sound like I am on the right track? Does it sound like there are any flaws? I would appreciate any and all advise or criticism
I added the diagram with how I basically plan on connecting it so you guys have a better idea of my setup.
