Anonymous

Project:Spacensus: Difference between revisions

From London Hackspace Wiki
no edit summary
No edit summary
Line 3: Line 3:
[[File:Spacensus bare.jpg|250px|thumb|Prototype]]
[[File:Spacensus bare.jpg|250px|thumb|Prototype]]
Part of the [[Project:LHS Graphs and Visualizations|London Hackspace graphs and visualisations]] project.
Part of the [[Project:LHS Graphs and Visualizations|London Hackspace graphs and visualisations]] project.
==Overview==
I have located two Laser Diode Retroreflective Sensors in our stores which I intend to use to monitor space occupancy by having the beams cross the main doorway. The beams will be staggered so that direction (arriving, leaving) can be determined by the order in which the beams are broken. I was thinking of mounting them at waist height.
The occupancy level is [http://hack.rs/cacti/graph.php?action=view&local_graph_id=35&rra_id=all charted on cacti].


==Status==
==Status==
Line 13: Line 20:
* Temporary prism reflector being used (permanent replacement on order)
* Temporary prism reflector being used (permanent replacement on order)


==Overview==
====What next====
I have located two Laser Diode Retroreflective Sensors in our stores which I intend to use to monitor space occupancy by having the beams cross the main doorway. The beams will be staggered so that direction (arriving, leaving) can be determined by the order in which the beams are broken. I was thinking of mounting them at waist height.
* Fit reflector
 
* Move sensor closer to door
* Try some different timing configurations to improve detection
* The [https://github.com/londonhackspace/spacensus python script] that provides the data to cacti implements only the 'poll for status' command, but will later allow more control and configuration of the counting sensors.


==Location==
==Location==
The [http://www.flickr.com/photos/travelbot/5421523049/ current mounting location] has the lasers In close proximity in the middle of the entrance way. To avoid issues with occlusion of beams by coats etc, the coat hooks have been moved to the next wall along, with the lab coats. This arrangement greatly simplifies the detection of the true direction of someone entering/leaving the space. Detection works reasonably well.
The [http://www.flickr.com/photos/travelbot/5421523049/ current mounting location] has the lasers In close proximity in the middle of the entrance way. To avoid issues with occlusion of beams by coats etc, the coat hooks have been moved to the next wall along, with the lab coats. This arrangement greatly simplifies the detection of the true direction of someone entering/leaving the space. Detection works reasonably well.


The occupancy level is [http://hack.rs/cacti/graph.php?action=view&local_graph_id=35&rra_id=all charted on cacti]. The [https://github.com/londonhackspace/spacensus python script] that provides the data to cacti implements only the 'poll for status' command, but will later allow more control and configuration of the counting sensors.
====Powering off====
====Powering off====
# Remove the USB cable from the side of the unit.
# Remove the USB cable from the side of the unit.
Line 42: Line 50:


[[File:Spacensus state machine diagram.png|border|640px]]
[[File:Spacensus state machine diagram.png|border|640px]]
==What next==
Spacensus still miscounts - especially when the door is opened for an incoming guest. I am aware of a few issues in the code where detection could be improved so will try a couple of modifications and see how it goes.


==FAQ==
==FAQ==
1,649

edits