First graphical representation of temperature

Blogged by Twan as Daily life,Home automation — Twan Sun 23 Jan 2011 3:21 pm

This morning I installed the JpGraph lib for PHP to create some nice graphs of the readings. Yesterday I managed to create a script which records the readings of the 3 temperature sensors in a database. I first had an interval of 5 minutes but realized that hourly readings should be enough.

[my home-server is a bit slow at the moment so took this graph offline]

 

Logging temperature

Blogged by Twan as Daily life,Home automation — Twan Sat 22 Jan 2011 2:10 pm

The first step in my home automation project is logging the temperature on different places in my appartment. The goal is to have small wireless battery powered temperature sensors in every room. These sensors send their data to a base receiver where the data is processed in stored in a database.

I bought some DS18B20 digital temperature sensors and connected them to my arduino board for a test/prototype setup. At the moment I have three of these sensors on the same board, which ofcourse doesn’t make that much sense. But it’s just to play around a bit. The board is still on USB, connected to my Ubuntu server. Every hour, the arduino sends the readings from the sensors to the server.

I now write the readings from the sensors to a log file, but this weekend I want to write the data to a MySQL database.

DS18B20 Digital temperature sensor

New hobby project: Home automation

Blogged by Twan as Daily life,Home automation — Twan Sat 22 Jan 2011 12:55 pm

ai ai ai (as they sometimes say here in swiss german), last post was in June 2010. I think I already opened a lot of posts here with ‘time for an update’. It’s pretty difficult to come up with something interesting every time. But since I have a new hobby project, I think I can update this blog on a more regular basis.

So what’s new? Well, I already had the idea for a long time that when I have a house/appartment it should be stuffed technological gadgets that make the house/appartment into a smart home. Home automation is not so futuristic anymore as it was when I visited the house of the future in the early ninetees. Now 20 years laters, I have my own appartment (well, rental) and I’m very interested in developing my own home automation system.

I’m ofcourse not the only one that has this idea. You can find home automation hobby projects all over te world. There are also a number of commercial systems available. However, I don’t want an off the shelf system, but play around with sensors, microcontrollers and write my own interface.

© 2009 Twan Sevriens