Front Door Deadbolt Control

Automating the control of the front door (or any inside/outside access door) presents a few challenges. For quite a number of years there were only door strikes available.
Your options were to: Kwikset Titan

Fortunately, Kwikset now offers their Titan Access One door lock. Power is only used when changing from locked to unlocked or vice versa. It also has manual control from the inside as well as a normal key lock from the outside.

Titan Access One
The Access One is battery operated (4 AA) which I initially thought to hardwire to save on batteries. However, one set of batteries lasts about a year and there is a warning before they die. Also there is the added benefit of not having to run wires on or through the door.

It comes with two four button remotes. A button to lock, one to unlock, a third that works with Genie garage doors, and a fourth to turn on a light if you purchase extra hardware. Now, I want the door to be integrated into the whole-house automation. That means getting the signal that I want to open the door to the controller and having the controller open the door. If I used the existing remotes, the controller would be left out of the loop.

Code Encryptor
Code Encryptor Street Smart Security has a security remote (3 button) and receiver that uses that same 4 billion code rotation as the Access One. However, Code Encryptor is a stand alone unit that can interface into existing security systems. It can also interface directly into a controller.

The Whole Package
The Code Encryptor can now be used as input to the whole-house controller. In order to give the controller the ability to control the lock a remote is attached to the controller.

The Code Encryptor remote only has three buttons. The third is a panic button that must be held for three seconds to activate. In order to be able to conserve on button use, only one button is used to lock and unlock the front door. The controller will need to know whether the door is locked or unlocked in order to know how to command the door. There are a couple ways to provide this. First, a plunger switch can be placed in the doorjamb that gets pressed when the door is locked. I prefer to use a micro switch with a curved metal arm that gets pressed when the bolt is closed (the curved metal arm keeps the bold from getting stuck).

The flow occurs as such: You press the button on the Code Encryptor remote, the controller determines if the door is locked, if it is then it presses the unlock button on the Access One remote, if it is unlocked, then the controller presses the unlocked button. One second later, the controller stops pressing the button.

Code Encryptor
Attach the brown wire and the brown/white wire to a supervised input and the common (doesn't matter which goes where) on the SECU-16 and add a resistor per the SECU-16 instructions. This responds to the first button. Be sure to change the jumper to "supervised input."

Titan Access One
Install the lock per the instructions. Be sure to program the lock with the two remotes. Take one remote apart and remove the circuit board. Take the output from a 6V transformer and attach it to a 6V voltage regulator (6V transformers put out about 9V at low current). Attach the positive end to the large circle and the negative end to the small square next to it (see picture). I chose to hard wire the remote because I didn't want the problem of batteries going dead.

Wiring Diagram To wire the buttons, attach the common wire to the large circle, the lock wire to the right side of the top button (SW1), and the unlock wire to the left side of the middle button (SW4).

Attach the lock wire and the common wire to the first relay on the SECU-16. Then attach the unlock wire and the common wire to the second relay.

Micro Switch
Install the microswitch in the recepticle for the dead bolt so that when the bolt is locked, it closes the contacts on the switch. Run the two wires and attach them to a supervised input on the SECU-16 per the instructions.

The following code is based the these presets:
Module 1: Point 0: Code Encryptor button 1
Module 1: Point 3: Door microswitch
Module 1: Point 8: Access One lock button
Module 1: Point 9: Access One unlock button

If Module# 1/Point# 0 Turns ON
 And Module# 1/Point# 3 Is ON
  Then Module# 1/Point# 9 Turns ON
  Then Timer 0 is = 1
If Module# 1/Point# 0 Turns ON
 And Module# 1/Point# 3 Is OFF
  Then Module# 1/Point# 8 Turns ON
  Then Timer 0 is = 1
If Timer 0 becomes > 1
  Then Module# 1/Point# 8 Turns OFF
  Then Module# 1/Point# 9 Turns OFF
  Then Timer 0 is = 0
    If you press your remote
 And door is locked
  Then unlock door
  Then start timer
If you press your remote
 And door is unlocked
  Then lock door
  Then start timer
If timer becomes greater than 1 second
  Then release lock button
  Then release unlock button
  Then reset timer

Additional Ideas
Other things to think about (i.e. I want to implement) are having a sensor to determine if the door is closed and automatically lock the door if it is unlocked.
Add locking the door to the list of things automatically done at "bed time."

Access One Deadbolt $120 ($90)
Code Encryptor $70
Microswitch under $1
Power supply under $7
Voltage regulator under $3
CPU-XA $160 ($120)
SECU-16 $100 ($70)