The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
zemuss's Content
There have been 69 items by zemuss
(Search limited from 06-June 23)
My controller is a work in progress and am using the netduino go also. However there are a few things stopping me from working on the controller. Wireless and storage which are not out yet from what I understand.
Here is what I want to work on:
Temp Sensors
PH Probe
Lights using PWM
Web Server
Like you I am thinking of creating a API layer to communicate to the controller.
I actually just purchased a Netduino 2 Plus for my project as everything I have read thus far leads me to believe that the Netduino Go is being shelved.
I can still contribute to the project if you would like, but for me coding the Netduino2 Plus will be easier.
In the CalculateTemperature method, I added the following changes: AnalogInput ain = new AnalogInput(AnalogChannels.ANALOG_PIN_A0);
// take 10 readings to even out the noise
float average = 0.0F;
for (int i = 0; i < 10; i++) { average += (int)ain.Read(); } // ain.Read(); }
average /= 10;
(int) before the ain.read will convert from double to integer.
One of the things I want to do with the controller is create a website and data storage. I was thinking SQL express because I hate storing data in CSV files. Maybe a small access database?
WHy did you pick JS versus using a XML document for the config file? Was the XML getting to big or was it just because of the parsing reasons?
Ok I dropped all references and the code works.
Minor tweak = AnalogInput ain = new AnalogInput(AnalogChannels.ANALOG_PIN_A0);
HotRod let me know if you need any other help.
I just tried using the namespace recommended again and received this error "Error 2 The type or namespace name 'AnalogInput' does not exist in the namespace 'SecretLabs.NETMF.Hardware' (are you missing an assembly reference?) C:\Development\Code Examples\Netduino-Aquarium-Controller\Plugin-Temperature\Temperature.cs 5 33 Plugin-Temperature"
"Z"
I am only thinking our loud here. But the netDuino can produce a txt file correct? So if it can dump the file to a location: ftp, SD card, Drive space. I can create a windows service that moves the file and uploads the data at a set interval. I don't want my netduino to host a server, I know it can't perform that task and SQL isn't that small. LOL..
What I want to do is Netduino records data to file then file is uploaded then file is processed to SQL server. Thoughts?
Strent
Where did you get the relay and does it work with a 120 volt source?
I want to start building my power strip to manage pumps and lights.
Thanks,
I just received my netduino go, so let me get over the learning curve in the upcoming weeks and will be able to lend a hand.
Currently in school and work full time as a .net programmer so im pretty booked.
iced98lx thanks for posting your code. I have been away from the project due to a death in the fam and other work related things but getting back to it.