Door Access

From Sudo Room
Revision as of 20:42, 16 February 2014 by Maximilianklein (talk | contribs) (Update 2/16/2014)
Jump to: navigation, search

Summary

People may enter SudoRoom through the side door on 22nd and Broadway. This often confuses visitors since our official address is 2141 Broadway.

Door-Related Projects

Door access related projects:

Door App

SudoPad

EXPERIMENTAL Developing a Android/iOS app for opening/closing sudo doors.

Android Version Here: File:Sudopad 0 1.zip

INSTALL: You need to rename the file to .apk (do not unzip, just rename) and copy to your device and run it to install.

INSTRUCTIONS: "A" to open downstairs door, "B" to open upstairs door, "C" to lock upstairs door.

NOTES: You must be connected to the appropriate wifi network for the downstairs door to open.

ISSUES: Work in progress, upstairs will prompt you about certificate bs, just hit whatever.

TODO's: Connect to sudo-api to update sudo's open/close status. Add actual security mechanisms. Add iOS version.

This project is being done by thex, hit me up on irc.freenode.net in #fort

Screenshot 2013-02-06-13-28-53.png

Sudo Door Intercom

There is an old intercom system that is wired from the outside facing door up to the phone closet. One the first things we did when we got in to the space was to reconnect this intercom and attach it to a phone we had lying around. Here's a picture:

Sudoroom-intercom.jpg

Right now if the space is occupied you can get in without a key by:

  1. Pressing the intercom button outside the door
  2. Waiting for a sudoer to answer
  3. Saying "I'm here for sudoroom", or "My voice is my passport"
  4. Waiting for an awesome sudoer to come and let you in
  5. Saying thank you!


Door Open Indicator

This project will detect if the Inside Door is open and share that information.

Our current plan involves using a TI MSP4302553 via the TI Launch Pad to generate a tone. When the door is closed, the tone will stop. Anything that can pickup the audio will be able to detect if the door is open. We have a python script that does just that. Here is a picture of the tone generator in progress:

Ti-launchpad-tone-generator.jpg


Outside Facing Door

Sudodooryay.png

You can also open the outside facing door using an EM41000 Family RFID Tag and the Parallax RFID Card Reader. Read more about RFID Door Access

Parallax rfid.jpg

In addition you can use the Keypad to get in. Learn more about Keypad Door Access

Door Keypad.jpg


The arduino key pad code is at [1]

These are the connections for the keypad to the arduino. Door2.jpg Door3.jpg

Inside Door

Sudoroom has its own tiny hallway with trash cans and a private elevator opening. The hallway is technically outside Sudoroom, and the door separating it should be locked when nobody's around. As the elevator is the primary path for automated entry, this door's lock will be controlled by a tiny Raspberry Pi. Some preliminary info about this box:

hostname tamale
local ip 192.168.1.222
ssh pi@room.sudoroom.org:222
source

SSH is KEY-ONLY. Contact Max, Yardena, or Bill for the key. :)

"Tamale" will implement an HTTP/CURL entry system with Max's script doorman.py, a tornado-based webserver written in python. When a visitor accesses a secret URL, Tamale will activate a motor that turns a key in the dead bolt.

Update 12/11/2012

Doorman lives!

  • ISSUE: You need to push into the door for the unlocking mechanism to work. (this is a feature until we prevent accidental remote unlocking)
  • ISSUE: The server does not autostart upon reboot
  • ISSUE: Upon rebooting or reconnecting, the device may not work well. You may need to fiddle with the ground cable.
  • NOTE: Please contact Max or Yardena or Jae or Andrew for the secret.
  • NOTE: You can also unlock the door by appending '_close'.

Update 2/16/2014

doorphoto
doorphoto
doorphoto

just document the chip that is there, on the beige protoboard, and document the color of the motor wires going to which pins on that chip

here is the PDF for that chip: http://www.ti.com/lit/ds/symlink/l293d.pdf

we are using the 16 pin version. You should document which color stepper-motor wire goes to which pin (1Y 2Y 3Y 4Y) on the chip.

Also i wrote on the plastic housing the wire colors, in a way that was obvious to me which wires were pairs. There are four wires, which represent two windings in the motor. I call the wires for a winding a "pair" and we should document that, because a different stepper will have different color wires but will still have two pairs, or two windings, which we can determine from measuring with a meter.

if you tell me what i wrote on the 3d printed lock housing, i will explain better what it means.

you might also document which pin of the L293 chip goes to which pin of the TI MSP430 microcontroller board. This might be documented in the software but not very well, so we should explicitly record it.

Of course there is a lot of info in Jaekwon's github pages, but that data should be forked immediately to sudoroom's github.

the "fix" the other day consisted only of repairing the connections from the motor to the L293 chip, and also i added a capacitor (which should have been there already) and i changed the power supply to 19V insteafd of 12V