Warning: Table './lockneyn_dorkbotpdx/cache_page' is marked as crashed and should be repaired query: SELECT data, created, headers, expire FROM cache_page WHERE cid = 'http://dorkbotpdx.org/blog/wardcunningham/twilight_sensor' in /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc on line 172

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 488

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 489

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 490

Warning: Cannot modify header information - headers already sent by (output started at /home/lockneyn/public_html/dorkbotpdx/includes/database.mysql.inc:172) in /home/lockneyn/public_html/dorkbotpdx/includes/bootstrap.inc on line 491
Twilight Sensor | DorkbotPDX

Twilight Sensor

Equi-temporal Contours

I've added a CdS photocell to my network of home temperature sensors. I'm reading it as an analog input using the WebServer Arduino code that goes with the Ethernet shield.

I'm calling this a Twilight Sensor because the sensor range I happened to choose covers that half-light of mornings and evenings. I've cooked up a special FLOT graph that traces equi-temporal contours from day to day.

http://c2.com/~ward/arduino/twilight.cgi?hours=360

If you study this long enough you will see that, yes, the days are getting longer.