User Tools

Site Tools


projects:temperatureandhumiditylogger

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:temperatureandhumiditylogger [2011/11/15 23:10]
raster
projects:temperatureandhumiditylogger [2014/12/27 04:42] (current)
raster
Line 5: Line 5:
 It gets really hot and really cold (depending on the time of year) in my home office, so I wanted something to log the temperature.  It gets really hot and really cold (depending on the time of year) in my home office, so I wanted something to log the temperature. 
  
-I used an Arduino along with a [[http://rasterweb.net/raster/2011/07/20/logging-temperature-humidity/|DHT22 temperature-humidity sensor]] from Adafruit to capture the temperature and humidity, and a bit of code (first written in Perl, and later ported to Processing) to do the logging.+I used an Arduino along with a [[http://rasterweb.net/raster/2011/07/20/logging-temperature-humidity/|DHT22 temperature-humidity sensor]] from Adafruit to capture the temperature and humidity, and a bit of code (first written in Perl, and later ported to Processing, and then back to Perl) to do the logging.
  
-For a while I had it tweeting the data every few hours, but I turned that off. Eventually I'd like to look at getting the data online, either using Pachube, another service, or something I write myself.+It also tweets the data every few hours and the data goes online via Pachube.
  
 I'll also be adding other sensors, probably a PIR sensor to check for humans (or cats) and a photocell to see which lights are on. I'll also be adding other sensors, probably a PIR sensor to check for humans (or cats) and a photocell to see which lights are on.
Line 15: Line 15:
     * http://rasterweb.net/raster/2011/07/20/logging-temperature-humidity/     * http://rasterweb.net/raster/2011/07/20/logging-temperature-humidity/
     * http://rasterweb.net/raster/2011/07/26/logging-the-temperature-and-humidity-code/     * http://rasterweb.net/raster/2011/07/26/logging-the-temperature-and-humidity-code/
- 
-Project members: [[members:peteprodoehl|Pete Prodoehl]] 
  
  
 **Below I'll post updates to this project as they happen.** **Below I'll post updates to this project as they happen.**
 +
 +===== Update: 2013-06-19 =====
 +
 +The system is down because I moved. It may return running on Raspberry Pi...
 +
 +===== Update: 2012-07-05 =====
 +
 +No new updates to report, but it's been interesting seeing the temperature in the office go above 90˚ F lately...
 +
 +===== Update: 2012-05-09 =====
 +
 +Pachube is now known as Cosm. I'm not entirely happy with some of the new interface, but it looks like they've got some cool new things in store for users. I've also come up with a design for the light sensor(s) holder, which is sort of a DIY-gooseneck thing using small PVC pipe. 
 +
 +
 +===== Update: 2012-02-27 =====
 +
 +As mentioned in the last update, I've moved the Arduino and code to my home Linux server. The next step will be to write code for the light sensor(s) and PIR.
 +
 +
 +===== Update: 2012-02-19 =====
 +
 +I've managed to move the Arduino and code over to my Eee PC so it's not running on my main home computer. This is useful as I've been meaning to get the Eee PC up to speed for such tasks, but ultimately, I may be better off just connecting the Arduino to my home Linux server. (It's an old PowerBook running Ubuntu.)
 +
 +
 +===== Update: 2012-01-21 =====
 +
 +The previous graph I mentioned required Flash, but this graph builder on the Pachube site does not.
 +
 +{{:projects:pachubegraphbuilder.png?|}}
 +
 +See [[https://api.pachube.com/v2/feeds/39584/datastreams/temperature.png?width=500&height=200&colour=%23f15a24&duration=30days&title=Temperature&stroke_size=2&show_axis_labels=true&detailed_grid=true&scale=manual&min=50&max=105|the actual image this creates]], which you can embed in your own page.
 +
 +===== Update: 2012-01-20 =====
 +
 +Oooh, I like this project at LVL1: http://wiki.lvl1.org/Father_AI_Sensor_Array
 +
 +===== Update: 2012-01-15 =====
 +
 +You can create a live [[http://apps.pachube.com/google_viz/|zoomable 30 day graph]] using the .csv data that the datastream generates. (though Flash is required.)
 +
 +Here's a screen shot:
 +
 +{{:projects:30daygraph.png?nolink&|}}
 +
 +
 +===== Update: 2011-11-28 =====
 +
 +I eventually want to add two more sensors to this thing. 
 +
 +The first would be a [[http://www.ladyada.net/learn/sensors/cds.html|photocell]] pointed towards my desklamp that will be able to track when I'm at my desk, or at least when the lamp is on, which usually (but not always) means I'm at my desk.
 +
 +The second would be a [[http://www.ladyada.net/learn/sensors/pir.html|PIR sensor]] to track when there is movement in the office, either of a human, or a cat.
 +
 +The third would be a microphone to sense sound levels in the room.
 +===== Update: 2011-11-16 =====
 +
 +Pachube also provides an archive of data. 
 +
 +Here are the links for the two items in the feed I've created:
 +
 +http://www.pachube.com/feeds/39584/datastreams/temperature/archive.csv
 +
 +http://www.pachube.com/feeds/39584/datastreams/humidity/archive.csv
 +
 +These could be used for external graphing of data, etc.
  
  
Line 28: Line 91:
 I've started digging into Pachube a bit.  I've started digging into Pachube a bit. 
  
-There is now a feed here: https://pachube.com/feeds/39584+There is now a feed here: http://cosm.com/feeds/39584
  
-And an iPhone (mobile) view is here: http://apps.pachube.com/i/39584 +And an iPhone (mobile) view is here: http://apps.pachube.com/i/39584
  
 The code is still janky and needs a lot of cleanup, but I'm going to let it run for a while and see what happens. The code is still janky and needs a lot of cleanup, but I'm going to let it run for a while and see what happens.
Line 41: Line 104:
  
 I probably need to dig into the graphing code again, or find an elegant data presentation solution, or just try using [[http://pachube.com/|Pachube]] (since it's free now.) For now, you may be able to see the data here: http://twitter.com/2xlnetworks I probably need to dig into the graphing code again, or find an elegant data presentation solution, or just try using [[http://pachube.com/|Pachube]] (since it's free now.) For now, you may be able to see the data here: http://twitter.com/2xlnetworks
 +
 +===== Project Members =====
 +
 +   * [[Members/PeteProdoehl|Pete Prodoehl]]
 +
 +
  
  
projects/temperatureandhumiditylogger.1321398615.txt.gz · Last modified: 2011/11/15 23:10 by raster