User Tools

Site Tools


sensornetwork

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
sensornetwork [2013-03-04 22:04] timsensornetwork [2013-03-25 16:40] tim
Line 32: Line 32:
 ===== Status ===== ===== Status =====
  
-Tim's Raspberry Pi (timpi) is running an AMQP server in the lab.+An AMQP server (RabbitMQ) is running on amqp.hacklab (one of the virtual machines). 
 + 
 +timpi (Raspberry Pi in G1) is running a script to play sounds and speech. 
 + 
 +doorpi (Raspberry Pi in G1 Door switch) - see below.
  
 Publisher scripts: Publisher scripts:
Line 47: Line 51:
 Code has been uploaded to https://github.com/edinburghhacklab/hacksense and local copies cloned to /srv/hacksense (on whichever servers are used). Code has been uploaded to https://github.com/edinburghhacklab/hacksense and local copies cloned to /srv/hacksense (on whichever servers are used).
  
-Interested parties: Aaron, Tim+===== Doorbot ===== 
 + 
 +Aaron's new in/out switch is now operational. It houses two buttons, a two-line LCD, a 13MHz RFID reader and a Raspberry Pi ("doorpi"). 
 + 
 +  * /srv/hacksense/services/doorpi/buttons - reads the buttons via GPIO and generates events: 
 +    * doorbot.buttons.{red,green}.{up,down,shortpress,longpress} 
 +  * /srv/hacksense/services/doorpi/lcd - listens for events and updates the LCD: 
 +    * doorbot.lcd.display - {"line1": "Hello", "line2": "World"
 +    * Optionally, add "delay" field to wait a number of seconds before continuing 
 +    * Optionally, add "flash" field to display the message for a number of seconds before restoring the previous display. 
 + 
 +Todo: 
 + 
 +  * Move the PIR sensor to Doorbot and add it to the //buttons// script. 
 +  * Move the speaker to Doorbot and copy the existing scripts from //timpi//
 +  * Implement the RFID card reader 
 + 
 +Interested parties: Aaron, Tim, Rob

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki