Electronic Door Lock keypad with Arduino

Hey all i have a project i am interested in doing. It involves an Arduino and a Kwikset 909 Smartcode Electronic Deadbolt. I am looking to program the Arduino to mimic me pushing the keypad on the deadbolt face so that it will unlock using my cell phone, webpage, etc etc since the Arduino will be hooked up using the Ethernet Shield to a web server at the house.

The image of the deadbolt unit is this:

Problem being is that i do not know how to go about using the arduino to "push" the buttons since they seem to have 2 digits per button. Also, how would i go about wiring them up so that i only have to use one ground wire for each button so it minimizes the wiring i'll have to use?

Is this possible? What would the wires to each button need to be? Positive or negative to trigger the button?

since they seem to have 2 digits per button.

Be nice to see the other side of that to see what is really going on. I ran around the monitor to look, but it's too dark to see...

It looks like, though, that the switches are SPDT switches (single pole, double throw), so that there are effectively 2 switches in one housing, only one of which can be pressed at a time.

Sometimes buttons are all grounded on one side. Sometimes they are all +V on one side. Sometimes they are multiplexed.

Open the case and see if all six buttons share a common connection. Measure the voltage on that common connection relative to Ground (or battery minus if you can't find Ground). Report back.

Ok i will be picking this lock up today so i will be sure to post images of the housing and electronic board to better give a visual as to what all i need to do.

I guess i could hook up to the relay but i am not sure if their software checks for anything and locks it out if the keypad is not used or what not?

It would probably be easier to insert the Arduino between the electronics and the motor.

We use a similar lock for our apartments (ours is a Schlage). The unit comes apart pretty easy, since you need access to the battery. The PCB pulled right out. Can't remember how the motor was wired though.

What i plan to do with it is this:

Create an Android App that runs in the background and after 5pm it checks every 3 minutes the GPS lat & long of my position and when I'm around the house it will send a command to the server and it will unlock the door before i get to it from my driveway.

I just wanted to make sure i would be able to mod the deadbolt first since i have not seen any Google listing s for the model i will be purchasing.

these are already out there. if you don't own the lock already you aren't going to save any money.. if that's the point :wink:

that lock must be $50, plus you need an arduino at $30. plus misc stuff, plus time. Is yours going to do something different or better? Or just a cool project to play with.

I think it would be much cooler if you use some kind of manikin (sp?) hand that actually pushed the buttons when you got close. That would creep somebody right out :wink:

my doorlock has a remote that came with the unit. If you picked that one up you could just use the arduino to simulate a button press. it may be the easiest/cleanest solution

http://www.smarthome.com/51895BN/MiLocks-BQF-01OB-Touchpad-Deadbolt-and-Remote-Control-Handleset-Combo-Oil-Rubbed-Bronze/p.aspx

i believe the remote even has an easy access for a wired trigger

jointtech:
these are already out there. if you don't own the lock already you aren't going to save any money.. if that's the point :wink:
http://www.amazon.com/Schlage-Wireless-Keypad-Entry-Bright/dp/B001NEK6HY
that lock must be $50, plus you need an arduino at $30. plus misc stuff, plus time. Is yours going to do something different or better? Or just a cool project to play with.

I think it would be much cooler if you use some kind of manikin (sp?) hand that actually pushed the buttons when you got close. That would creep somebody right out :wink:

Thats just an addon. heres the kit you would need: http://www.amazon.com/Schlage-Wireless-Keypad-Starter-System/dp/B001NEK6LU/ref=pd_cp_hi_1

But in any situation, its a project and i like to do things myself so i know how it all works :slight_smile:

Just an update... I haven't forgotten about doing the pictures. Just been busy moving in to the new home. Will get those done tonight!

Does the motor always turn one way or does it turn one way to lock and the other way to unlock?

If it reverses I would expect the transistors near the connector to be an H-bridge. You should be able to tap in between the processor and H-bridge to both sense the motor being activated and override the controls.

johnwasser:
Does the motor always turn one way or does it turn one way to lock and the other way to unlock?

If it reverses I would expect the transistors near the connector to be an H-bridge. You should be able to tap in between the processor and H-bridge to both sense the motor being activated and override the controls.

Would you mind showing me where the h-bridge is? :slight_smile:

If there is an H-bridge, the outputs will be connected to the black and red wires that go to the motor/actuator.

I can't tell from the pictures taken what drives the actuator.

Sorry again for the delay! Moving into a new home and having boxes everywhere kinda slows down the process of modding stuff.

I should have some time today to test out the motor and see if it reverses and also what voltages it uses.

StealthRT:
Ok heres the stats on the power for the motor:

I hooked up my volt meter and this is what i am up with;

O O When locking

    • = +5v

O O When un-locking

    • = -5v

So it does look like it reverses the motor. However, i have yet to provide it +5 using both ways (+ - | - +) and seeing if the motor stops on its own or if the microchip stops it manually.

Thoughts before i do this? :slight_smile:

You might be able to tell from listening it the motor seems to bog down at the end of travel (mechanical stop) or not. You should also look for any mechanical (switch), optical, or possible magnetic sensors that would tell the microprocessor when to stop the motor. Look at the gears and shafts to see if they press anything or have holes or magnets that line up with anything.

What's that spring near the screw holding down the circuit board? Does that move when the motor stops? Could be a switch.

Look for traces from the main chip to the area of transistors near the motor connector. Typically there will be two traces to control the H-Bridge, enabling forward and backward control. Sometimes it's one trace for Direction and one for Enable but more often with products like this each trace will control one side of the H-bridge. If both sides connect the motor to +5 or Ground then no current flows. If one side is +5 and the other is Ground the motor will run.

Worst case is FOUR traces from the chip to the H-bridge. That means each quarter-bridge is controlled separately and it is possible to short-circuit by enabling both +5 and Ground on the same side. :frowning:

Well I applied 5v to those 2 pins and whatcha know it... yeah you guessed it.

:confused:

Hum well i went ahead and bought this one for now (LockState LS-DB500R-RB ). I will be ordering another replacement again sometime soon and will update this post when i have! :slight_smile: