Difference between revisions of "Door control system"

From London Hackspace Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
==Overview==
 
Runs on [[System naming|Flowers]], and code is on [http://github.com/londonhackspace/doorbot Github].
 
Runs on [[System naming|Flowers]], and code is on [http://github.com/londonhackspace/doorbot Github].
  
Line 7: Line 8:
 
It uses '''netcat''' to '''robonaut''' on [[System naming|Babbage]] to announce whenever the door is opened.
 
It uses '''netcat''' to '''robonaut''' on [[System naming|Babbage]] to announce whenever the door is opened.
  
More coming soon...
 
  
  
Line 23: Line 23:
 
                                               | Release |
 
                                               | 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

Revision as of 07:21, 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