Hey,
I just cleaned the code a little bit. Here´s the new code which will work better. It stops somehow after ~18h, and i think it has something to do with an overflow in the variable which stores the “delay”…will work this out later. Here´s the code:
#include <Ethernet.h> //library for ethernet functions #include <Client.h> //library for client functions #include <DallasTemperature.h> //library for temperature sensors #include <OneWire.h> //library for the onewire bus read more...
Hey People,
Had no time to really get into the code, especially because i have to do some html/php and i´m not yet very experienced. But the project is in my thougths every day. I should be learning very hard but i only make 4-5hrs a day… In the remaining time i´m thinking about concepts for new projects (beside sports and friends) , like a giant 8×8 RGB-Matrix like Richard Kline did here (seen on makezine.com)
I really would like to use an rainbowduino for this, but i didn´t found anything about “external” RGB-matrices in the rainbowduino-sphere…
Hey, folks.
Today i finished somewhat of a 0.8 version of my attempt to read temperature data from several DS18B20 temperature sensors with the arduino and to send them to my “kitchenserver”. Why kitchenserver? Because its running all night long and therefore had to go to kitchen.
What is my goal?
To read temperature data and store it in a database for further processing.
My father always says: “Die Sprache des Ingenieurs ist die Zeichnung” what means as much as ” the language of an engineer is drawings” so i made a little “graphic”:
DS18B20—–>Patchpanel—–>(Arduino—>Ethernetshield)—->Network—–>(Server(Apache—->PHP—>MySQL)
Edit: I found out that my first code is only working for one sensor, due to some Arduino->PHP inconsistencies (Arduino called the script for every temperature, but script wants to write all data in one call) So I rewrote the code to send all temperatures in one call. I have now 5 sensors up and running and storing data to my database. I would try the setup with more sensors but i have only 5 of them so i first have to buy some. If you want to build a system like this, use the newer code, the old code is only for educational purposes now ;)