Difference between revisions of "Door control system"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
The password is hackspace. If the arduino has somehow changed port, you might need to edit that in openDoor.py
 
The password is hackspace. If the arduino has somehow changed port, you might need to edit that in openDoor.py
  
'''Remember that once unlocked, the door must be opened and closed again to relock.'''
+
'''Please note that once unlocked, the door must be opened and closed again to relock.'''
  
 
'''If you unlock the door remotely, use the [http://hack.rs:8001 webcam] to ensure someone has entered the space.'''
 
'''If you unlock the door remotely, use the [http://hack.rs:8001 webcam] to ensure someone has entered the space.'''

Revision as of 09:36, 29 July 2010

Overview

Runs on Flowers, and code is on Github.

Access list is currently a text file, copied via a script from Lovelace. The text file just consists of card ID and name. To add a card:

lovelace:~$ doorbotcontrol/addid.sh

It uses netcat to robonaut on Babbage to announce whenever the door is opened.


                             +---------+     +---------+
                             | LM7805  |-----| 12V UPS |
                             +---------+     +---------+
                                                  |
                                                  |
+------+     +---------+     +---------+      +-------+
| RFID |-----| Flowers |-----| Arduino |------| Relay |
+------+     +---------+     +---------+      +-------+
                                                  |
                                                  |
                                             +---------+
                                             | Release |
                                             +---------+


Override

ssh flowers@flowers

sudo ~/openDoor.py

The password is hackspace. If the arduino has somehow changed port, you might need to edit that in openDoor.py

Please note that once unlocked, the door must be opened and closed again to relock.

If you unlock the door remotely, use the webcam to ensure someone has entered the space.