Projects/Space Automation: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
No edit summary
 
(→‎Hardware: Moflash is disabled)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:Automation-1.jpg|right|thumb|Hackspace Automation System]]
[[Category:In_Progress|Space Automation]]
'''NOTE:'''  Space Automation could do with a lot of development work.  Much of the informatio below is incorrect.
 
How to you tell your hackspace is occupied? Alert those in the space to important happenings? Control the all important nerf gun to remotely fire foam darts at the person who just arrived? Welcome to the wonderful world of hackspace automation.
How to you tell your hackspace is occupied? Alert those in the space to important happenings? Control the all important nerf gun to remotely fire foam darts at the person who just arrived? Welcome to the wonderful world of hackspace automation.


== Hardware ==
== Hardware ==
[[File:Moflash.jpg|right|Moflash Spectrum]]
[[File:Moflash.jpg|right|Moflash Spectrum]]
So far we have:


;Arduino Diecimila
;Arduino Diecimila
:Acts as an interface between all the other components and one of the servers at the space, a simple serial protocol is used for the server to be able to send commands to various items, or poll for data.
:Acts as an interface between all the other components and one of the servers at the space, a simple serial protocol is used for the server to be able to send commands to various items, or poll for data.
;Moflash Spectrum 600
;Moflash Spectrum 600
:Lights up red, amber or green, flashes, makes a lot of noise. Currently triggers a flashing amber whenever someone mentions curry on the leeds hackspace irc channel.
:Lights up red, amber or green, flashes, makes a lot of noise. Currently triggers a flashing amber whenever someone mentions curry on the leeds hackspace irc channel. Currently disabled (see below).
[[File:Automation-2.jpg|right|thumb|bottom|Hackspace Automation System - now with added laser!]]
[[File:Automation-2.jpg|right|thumb|bottom|Hackspace Automation System - now with added laser!]]
;RC Servo
;RC Servo
Line 18: Line 19:
:Regularly polled by the server, changes in state are logged to a database - can be used to determine if the space is occupied or not.
:Regularly polled by the server, changes in state are logged to a database - can be used to determine if the space is occupied or not.
;Laser
;Laser
:Requested by Mick, webcam can be used for targetting. '''Everything''' is better with lasers.  
:Requested by Mick, webcam can be used for targetting. '''Everything''' is better with lasers.


== Alerting ==
== Alerting ==
The Moflash unit has this problem cracked - it's bright, it's loud, and when over used it's intensely annoying, but look on the bright side, nobody need ever miss out on a curry trip ever again.
The Moflash unit has this problem cracked - it's bright, it's loud, and when over used it's intensely annoying. So it's disabled and now broken.


== Presence Detection ==
== Presence Detection ==
The PIR provides a basic indication of whether the space is occupied - if it was triggered within the last few minutes, then you can be pretty certain that someone is around, and the space is open. It should also be possible to monitor the MAC table on the server to determine who is around, and how busy the space is.
It is possible to monitor the MAC table on the server to determine who is around, and how busy the space is.


== Environmental ==
== Environmental ==
Line 30: Line 31:


== Webcam ==
== Webcam ==
Mainly so people can keep an eye on what we're up to, could provide a feed if we want to take part in the [http://hackerspaces.org/wiki/Synchronous_Hackathon Synchronous Global Hackathons]. IRC control of this "left a bit, right a bit" was suggested by tamonten - should be easy enough to add to the irc bot.
Mainly so people can keep an eye on what we're up to, could provide a feed if we want to take part in the [http://hackerspaces.org/wiki/Synchronous_Hackathon Synchronous Global Hackathons]. IRC control of this "left a bit, right a bit" is part of the irc bot.


== IRC Bot==
== IRC Bot==
Provides a means for people elsewhere to interact with the space, and an essential part of the curry alarm. Written in perl, uses POE::Component::IRC
Provides a means for people elsewhere to interact with the space, and an essential part of the curry alarm. Introducing [[Marvin_P_Droid]] !


== Daemon ==
== Daemon ==
Another lump of perl code, checks a database event queue for commands, and also handles the polling of the sensors connected to the arduino.
Another lump of perl code, checks a database event queue for commands, and also handles the polling of the sensors connected to the arduino.

Latest revision as of 17:21, 7 February 2015

NOTE: Space Automation could do with a lot of development work. Much of the informatio below is incorrect.

How to you tell your hackspace is occupied? Alert those in the space to important happenings? Control the all important nerf gun to remotely fire foam darts at the person who just arrived? Welcome to the wonderful world of hackspace automation.

Hardware

Arduino Diecimila
Acts as an interface between all the other components and one of the servers at the space, a simple serial protocol is used for the server to be able to send commands to various items, or poll for data.
Moflash Spectrum 600
Lights up red, amber or green, flashes, makes a lot of noise. Currently triggers a flashing amber whenever someone mentions curry on the leeds hackspace irc channel. Currently disabled (see below).
File:Automation-2.jpg
Hackspace Automation System - now with added laser!
RC Servo
Intended for mounting a webcam, but further servos could be added for controlling other items (nerf gun? laser?). IRC control of this "left a bit, right a bit" was suggested by tamonten.
TC74 temperature sensor
Monitors the ambient temperature in the space. Polled by the server every minute and logged to a database.
PIR
Regularly polled by the server, changes in state are logged to a database - can be used to determine if the space is occupied or not.
Laser
Requested by Mick, webcam can be used for targetting. Everything is better with lasers.

Alerting

The Moflash unit has this problem cracked - it's bright, it's loud, and when over used it's intensely annoying. So it's disabled and now broken.

Presence Detection

It is possible to monitor the MAC table on the server to determine who is around, and how busy the space is.

Environmental

We're currently just logging temperature, but other sensors could be added, both internal and external (anyone fancy building a weather station?)

Webcam

Mainly so people can keep an eye on what we're up to, could provide a feed if we want to take part in the Synchronous Global Hackathons. IRC control of this "left a bit, right a bit" is part of the irc bot.

IRC Bot

Provides a means for people elsewhere to interact with the space, and an essential part of the curry alarm. Introducing Marvin_P_Droid !

Daemon

Another lump of perl code, checks a database event queue for commands, and also handles the polling of the sensors connected to the arduino.