Actions

Occupancy Sensor: Difference between revisions

From HacDC Wiki

No edit summary
(Replaced content with "Obsolete.")
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
----
Obsolete.
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ocavyle.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://ocavyle.co.cc CLICK HERE]=
----
</div>
{{Floating TOC}}
 
[[Category:Ongoing Projects]] [[Category:In the Space]]
 
== HacDC Lab Occupancy Sensor ==
 
HacDC's lab occupancy sensor is now operational.
 
Key features include:
# Real-time and historical occupancy data is available for your projects.  Perhaps a twitter bot, data visualization heat map or remote occupancy indicator?
# The underlying architecture demonstrates an approach allowing bidirectional communications between many microcontrollers and many application
# The Google Calendar "[email protected]" is updated every five minutes with current occupancy data
 
== Technical Overview ==
 
Martin configured a sensor system consisting of an Arduino, a Radioshack photoresistor (276-1657) and a Quest passive infrared motion detector as shown in the following schematic diagram.
 
[[Image:OccupancySensor.png]]
 
This Arduino is connected to the jukebox computer via USB and monitored by a simple Python script that forwards occupancy sensor data to a Spread messaging system (see spread.org).  Several "agent" applications receive occupancy status messages via Spread and perform tasks such as updating a Google Calendar and data logging.
 
All software developed as part of this project is GPLed and available via LaunchPad at: https://launchpad.net/hacdcoccupancy
 
A demonstration agent is also included in the distribution, providing a convenient starting point for your projects.  This demo agent currently toggles LEDs in my house based on HacDC lab occupancy status.
 
== HacDC Doorman Google Calendar ==
&lt;include iframe src="//www.google.com/calendar/embed?mode=WEEK&amp;amp;height=600&amp;amp;wkst=1&amp;amp;bgcolor=%23FFFFFF&amp;amp;src=hacdcdoorman%40gmail.com&amp;amp;color=%23A32929&amp;amp;ctz=America%2FNew_York" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no">&lt;/iframe>

Latest revision as of 22:55, 12 April 2015

Obsolete.