Plugging along on my Garduino project (I even called PA One Call to make sure I'm not going over any public utility lines!) and now I'm trying to figure out how I want to communicate with it.
Now I have a small business that I run out of my house and realized I have a pretty diesel Windows 2008 Server that I'm hardly using 1/10th of its ability, so this afternoon I got an intranet website (running IIS7) up and running with PHP and its working perfectly.
Obviously I can control my Arduino through a web interface, there are plenty of opensource examples and writeups, but I'm thinking baby steps first. I would like to be able to simply view the data my arduino collects on dynamically created web pages. Now, what is your opinion with the data coming off the arduino? Should I:
- Store all the sensor data on the Arduino Ethernet Shield SD Card, and have my server grab it, or
- Have the Arduino send all the data via ClientPrint and have the server hold the data, or
- Something else that I haven't thought of?
The nice thing about ClientPrint is that it keeps all the data on the server, but is there a chance I could lose data in transmission? I'm thinking writing to the SD Card will be fast, and having an offsite backup of data is a good thing, but then I'm writing more code to control the SD card instead of just including a library and sending the data down the RJ45.
Again, thanks for your continued help. It adds an extra bit of fun to the project knowing that I can bounce ideas off like minded crackpots
P.S. - I have read your lesson about using Windows, Python and Pyserial.