Are-we-open

From Voidwarranties - Hackerspace Antwerp, Belgium
(Difference between revisions)
Jump to: navigation, search
 
Line 9: Line 9:
 
[[file:Are-we-open_switch.jpg|thumb|left|The switch]]
 
[[file:Are-we-open_switch.jpg|thumb|left|The switch]]
 
[[file:Serverroom arduino.jpg|thumb|left|The server side, about 15m twisted pair away]]
 
[[file:Serverroom arduino.jpg|thumb|left|The server side, about 15m twisted pair away]]
The scissor switch is connected to an arduino in the server room. That arduino is polled every minute to check if we are open.
+
The space state enables visitors of the hackerspace to know whether the space is open. The state can be checked by various means: an image on the website, spaceAPI, [http://discuss.hackerspaces.be/listinfo.cgi/antwerp.announce-hackerspaces.be an email alert], or a light outside the space's door.
  
If we are open an e-mail is sent to the [http://discuss.hackerspaces.be/listinfo.cgi/antwerp.announce-hackerspaces.be announce mailinglist].
+
The space state is set manually using a scissor switch in the space.
 
+
When engaged the switch closes two circuits (double pole, single throw). One of them is a 12V DC circuit that lights up our logo and doorbell outside. The second pole is connected to a utp pair that runs back to the server cabinet, where an arduino reads out whether the switch is closed. A server polls the arduino every minute and sends out emails, changes the picture on the front page and updates the space api. The source code [https://github.com/voidwarranties/are-we-open?source=cc can be found on github]
The source code [https://github.com/voidwarranties/are-we-open?source=cc can be found on github].
+
  
 
==todo==
 
==todo==
 
*Add some relays to the open state, to prevent stand-by power consumtion (arround 40W at the moment).
 
*Add some relays to the open state, to prevent stand-by power consumtion (arround 40W at the moment).
 
*Add some more sensors to the arduino to monitor space stats (humidity, temperature, number of times the bel rang, ...)
 
*Add some more sensors to the arduino to monitor space stats (humidity, temperature, number of times the bel rang, ...)

Latest revision as of 02:09, 23 December 2013


Are-we-open
What:
This is a construction to tell the world if the hackerspace is open.
Are-we-open switch.jpg
Participants:
User:Warddr
Category:
Coding
Locations:
Den Bunker
The switch
The server side, about 15m twisted pair away

The space state enables visitors of the hackerspace to know whether the space is open. The state can be checked by various means: an image on the website, spaceAPI, an email alert, or a light outside the space's door.

The space state is set manually using a scissor switch in the space. When engaged the switch closes two circuits (double pole, single throw). One of them is a 12V DC circuit that lights up our logo and doorbell outside. The second pole is connected to a utp pair that runs back to the server cabinet, where an arduino reads out whether the switch is closed. A server polls the arduino every minute and sends out emails, changes the picture on the front page and updates the space api. The source code can be found on github

todo

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
Content Creation
Belgian Spaces