Project:Spacensus: Difference between revisions

From London Hackspace Wiki

Line 13: Line 13:


==Status==
==Status==
====Debugging====
* I added a fair bit of code to log the various states of the system to try and determine why it over counts.
* Writing to the serial port takes time I had to place the logging code carefully so as not to interfere with the critical timing of beam break detection.
* I now have a log file to analyse which includes a good amount of traffic from a Tuesday evening.
* Summary stats from the log file:
:Beam breaks:
;Outer:    655
;Inner:    694
:Actions initiated:
;Entrances: 401
;Exits:    337
:Actions completed:
;Entrances: 173
;Exits:    129
:Actions never completed - timed out - noise:
;Entrances: 84
;Exits:    83
:Actions not counted because they were fast/slow:
;Entrances: 144
;Exits:    125
====Recent modifications====
====Recent modifications====
* Milled [http://www.flickr.com/photos/travelbot/5571860429/in/pool-londonhackspace new bracket] for sensors.
* Milled [http://www.flickr.com/photos/travelbot/5571860429/in/pool-londonhackspace new bracket] for sensors.
Line 19: Line 39:
* Beams are now polarized
* Beams are now polarized
* Beams are now very close together
* Beams are now very close together
* Temporary prism reflector being used (permanent replacement on order)
* Prism reflector
 
====What next====
* 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.


==How it works==
==How it works==
1,649

edits