Hi,
I'm quite new to Arduino (and learning slowly) and planning a project at this moment. It is to control the humidity in a glazing system. The task is to monitor 8 sensors and switch on 1 of 8 pumps when the right humidity condition has been met. So far I've got 8 inputs (from the sensors) and 8 outputs (to the pumps); I'll probably add a simple LCD display (one of those 16 x 2 ones) and link it all in to my home network.
I've ordered a Mega and Ethernet shield, which should arrive shortly.
I'm trying to work out if it is possible to alter the humidity threshold point over my home network from say a web page form or similar. Not sure how this should be done, do I need to save a web page on the SD card and store the humidity threshold points as variables and then call them from the Arduino sketch? Presumably there is a better way of doing this or a tutorial on this sort of thing?
Any advice much appreciated.
Cheers
Ron
You can enter data in a web page text box, send it to the arduino server, then save the data as a variable to be used in some fashion.
Hi and thanks,
Forgive me for being a bit thick but I plan to have the Arduino on a timer so that it switches on in the morning and switches off overnight. Will the variable I set via the web page be stored so that after switching everything off and on again it is still there?
Cheers
Ron
You could save it in EEPROM and read it back each time the Arduino starts up.
Are you new to using the Ethernet card? I'm looking for the address of a tutorial I used, I'll post if I find it.
Or maybe zoomkat has a bit of code in his seemingly infinite library of awesome goodies....
EDIT... have a look at this tutorial
Hi,
Errr....the the Ethernet card is still on its way in the post to me....so very very new to it.
I've tried to find a tutorial but without any luck, so if you know of one please post the link...but I think I also need another tutorial on how to find a tutorial out in the infinity!
Cheers
Ron
Hi,
Thanks,
It'll take a bit of time to work through but I think it's probably got what I want in it somewhere.
Cheers
Ron