This page documents the current implementation of the entry keypad, and proposed additions. If you would like to help out, you might want to make this page more accurate, or implement some of the wishlist. This system is a delicate balance of different people's needs and concerns, so changing the basic way that it operates would be poor form. To build an alternative way to access Noiseridge, consider building software that accesses the [[API]].

A script on [[Minotaur]] called <tt>[https://github.com/noisebridge/noisebridge-baron baron]</tt> manages the payphone keypad stationed outside Noisebridge's gate. The payphone is connected to Minotaur by a long blue CAT5 cable which runs up the stairwell and across the ceiling. This cable carries two-way serial data and 12VDC to power the arduino in the payphone. When a user enters a valid code followed by <tt>#</tt>, <tt>baron</tt> uses the Noisebridge [[API]] to open the [[gate]], while the payphone LED flashes blue, and a "happy" sound is heard. If an incorrect code is entered, or enough time passes between button presses, the payphone LED flashes red, and a "sad" sound is heard. If the gate API throws an error, the light turns red and a sad noise is played three times.

A script on [[Minotaur]] called <tt>[https://github.com/noisebridge/noisebridge-baron baron]</tt> manages the payphone keypad stationed outside Noisebridge's gate. The payphone is connected to Minotaur by a long blue CAT5 cable which runs up the stairwell and across the ceiling. This cable carries two-way serial data and 12VDC to power the arduino in the payphone. When a user enters a valid code followed by <tt>#</tt>, <tt>baron</tt> uses the Noisebridge [[API]] to open the [[gate]], while the payphone LED flashes blue, and a "happy" sound is heard. If an incorrect code is entered, or enough time passes between button presses, the payphone LED flashes red, and a "sad" sound is heard. If the gate API throws an error, the light turns red and a sad noise is played three times.

+

+

the pinout of the RJ45 to DB9 serial adaptor used on the minotaur end of the cable is standard, except that pin 7 of the RJ45 socket does not connect to the DB9F socket, but instead exits the connector in a wire headed to minotaur's power supply as +12v. Pins 4 and 5 of the RJ45 (which goes to 5 of the DB9F) is ground, which also connects to a wire headed to minotaur's power supply, to ground.

+

<br>

+

[http://www.lammertbies.nl/picture/db9_yost_dte.png diagram of RJ45 to DB9F NOT INCLUDING +12V MODIFICATION]

== Minotaur ==

== Minotaur ==

Line 25:

Line 30:

* The keypad hardware hooked up to Minotaur at /dev/ttyS3 https://www.noisebridge.net/pipermail/noisebridge-discuss/2012-February/028485.html

* The keypad hardware hooked up to Minotaur at /dev/ttyS3 https://www.noisebridge.net/pipermail/noisebridge-discuss/2012-February/028485.html

* The hardware above actually runs on 12V (not 5V) and the Arduino code in the above post is outdated.

* The hardware above actually runs on 12V (not 5V) and the Arduino code in the above post is outdated.

−

* Updated Arduino code for the doorkeypad hardware can be found here: http://spaz.org/~jake/r/mccad/arduino/doorkeypad3/doorkeypad3.pde

+

* Updated Arduino code for the doorkeypad hardware can be found here: https://github.com/jerkey/doorkeypad

A script on Minotaur called baron manages the payphone keypad stationed outside Noisebridge's gate. The payphone is connected to Minotaur by a long blue CAT5 cable which runs up the stairwell and across the ceiling. This cable carries two-way serial data and 12VDC to power the arduino in the payphone. When a user enters a valid code followed by #, baron uses the Noisebridge API to open the gate, while the payphone LED flashes blue, and a "happy" sound is heard. If an incorrect code is entered, or enough time passes between button presses, the payphone LED flashes red, and a "sad" sound is heard. If the gate API throws an error, the light turns red and a sad noise is played three times.

the pinout of the RJ45 to DB9 serial adaptor used on the minotaur end of the cable is standard, except that pin 7 of the RJ45 socket does not connect to the DB9F socket, but instead exits the connector in a wire headed to minotaur's power supply as +12v. Pins 4 and 5 of the RJ45 (which goes to 5 of the DB9F) is ground, which also connects to a wire headed to minotaur's power supply, to ground.
diagram of RJ45 to DB9F NOT INCLUDING +12V MODIFICATION

To improve, the code, please issue a pull request against https://github.com/noisebridge/noisebridge-baron. It you improve the hardware, please document the new state here, and make note of your changes in the changelog. If you would like to make changes to how the system works, as opposed to just how elegantly it's implemented, please talk to the people named above.

The software has to be gone over to make sure it can be run in multiple instances, because someday we will put a second keypad at the top of the stairs, so that buzzing someone in requires a code.

We should also create a web-accessible door-opener page which requires a code (from the same database) so that, in case we decide to end the uncredentialed door opener page, we will have a code-authorized alternative already in place.