I picked up my Netduino, breadboard, Onewire temperature sensor and bits 'n bobs and installed C# on my son's laptop. This afternoon, after some fiddling to figure out someone else's onewire code, I can now tell you the temperature of my apartment every 30 seconds or so.
The plan is to keep my son entertained until he's off to university to study programming and get myself a nice little aquarium controller.
at iced98lx's suggestion we started off with the temperature probe. The one I chose is based on something called onewire. Its almost like a primitive network protocol in that you can have a whole bunch of onewire devices connected to the same wire and have them all talk to your controller, which, in this case, is a Netduino.
Long story short, we ended up copying a class written by someone else to simplify talking to the sensor. It would have been quite a challenge to figure out with little programming experience.
Right now the code runs in debug mode and sends its temperature data back to the development environment on the laptop.
The next step is to store the data somewhere and find a way to pull or push it to a connected laptop. I'm thinking it would be nice to pull the data into a browser window from the get go. If we do this with the temp data, it should be easy to incrementally add other data sources like ph, or alkalinity.
Iced, when you read this, I'd like your suggestions on where to start reading to figure out stage two. Don't want to keep copying other people's code otherwise junior is never gonna learn anything.
The plan is to keep my son entertained until he's off to university to study programming and get myself a nice little aquarium controller.
at iced98lx's suggestion we started off with the temperature probe. The one I chose is based on something called onewire. Its almost like a primitive network protocol in that you can have a whole bunch of onewire devices connected to the same wire and have them all talk to your controller, which, in this case, is a Netduino.
Long story short, we ended up copying a class written by someone else to simplify talking to the sensor. It would have been quite a challenge to figure out with little programming experience.
Right now the code runs in debug mode and sends its temperature data back to the development environment on the laptop.
The next step is to store the data somewhere and find a way to pull or push it to a connected laptop. I'm thinking it would be nice to pull the data into a browser window from the get go. If we do this with the temp data, it should be easy to incrementally add other data sources like ph, or alkalinity.
Iced, when you read this, I'd like your suggestions on where to start reading to figure out stage two. Don't want to keep copying other people's code otherwise junior is never gonna learn anything.
