Logging temperature
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.