Now that we have installed the analog to numeric converter (refer to previous article), we are going to setup the rendering part of the project, taking benefice of the server mode of OWFS.
The main idea is to use the famous RRD-tools on my internal web server (MICKEY, running Ubuntu 10.04 Desktop edition). And to create specific perl scripts to interface OWFS with RRD database, and, at last, generate the graphs out of RRD database.
Continue reading “Temperature probes (part 3&4): graph rendering and scripting” »
It’s been a long time since first part of this project was published… Sorry for that, but end of year, here, in France, is usually very busy, both from a professional and a personal point of view: projects to complete before holidays, kids demonstrations in their various activities, end of school year meetings,…
Now that the hardware is installed (see previous article), it’s time to have a quick view to the analogic to numeric converter part of the project.
Continue reading “Temperature probes (part 2): Analogic to Numeric converter” »
The very first question I get was: what kind of hardware are you using ?
In fact, I searched a little bit on the web, and I came to the conclusion that the simplest solution was to use Maxim 1-wire bus. This bus is very simple (2 or 3 lines are needed, despite the name), and the devices I need (temperature probes) are simple and cheap !
There is a very interesting introduction video on Maxim’s web.
Let’s start with a nice project I implemented last week-end: setup temperature probes on my air conditioner and display results on an internal web server, using nice looking graphs.
Project is simple:
- hardware setup: I used 1-wire temperatures probes, that I connected myself over a long long cable. This is my “analogical network”
- analogical to numeric data converter, via a computer: I selected the wonderful owfs running on various OS (Linux Ubuntu for me). This software is giving you the possibility to query the temperature probes from the computer (and even from another computer over the data network), as simply as you would list a disk directory…
- graph rendering: I turned to a well-known solution, RRDtools, installed on my local network webserver, querying information on temperatures over my data network
- develop a little set of html/php pages to display the graphs provided by RRDtools (home made pages)
To make it short, a little drawing of the main principles of this project:
(yes, I built a solution with 7 temperature probes… right now, they are not in their final place, but grouped altogether in a pack, that I moved from one place to another, which explains the quick temperature variation you can see….).
It’s getting late now, it’s time to have a rest. This project description will be continued in a future article with details of each step above (next one = 1-wire network).