Netduino home hardware projects downloads community

Jump to content


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.

Quattro

Member Since 20 Jun 2011
Offline Last Active Dec 04 2011 11:29 PM
-----

Posts I've Made

In Topic: Greenhouse/Terrarium automation

02 August 2011 - 01:15 AM

Hey Mario and CW2,

Thanks for responding to the post, and I've figured out that the DHT-22 uses a weird 1 wire protocol, and that the lack of precision with the .NET framework is going to be a deal breaker. So I would recommend avoiding this sensor despite it's alluring price.

Therefore, I have decided to go with an analog approach. I've decided that dealing with an analog voltage signal should be much easier than trying to decode some strange 1-wire protocol or do any kind of bit hacking which is way over my head at this point.

So, I've ordered a new set of sensors. I have purchased a 10K thermistor, the SEN - 00250 to be exact. I have also purchased a humidity sensor in the form of a HIH-4030 Breakout Board. I'm planning on reading the 10K thermistor using a simple voltage divider with another 10K resistor. I'm hoping that will give me the right voltage range and close enough accuracy for measuring temperature +/- a few degrees F.


I'll let you know when I get everything set up.

In Topic: Greenhouse/Terrarium automation

19 July 2011 - 10:06 PM

I've been working on the program to interface with the DHT22 sensor, and I have based it off of the code written for the arduino at the website below.

http://sheepdogguide...ne1humDHT11.htm

I've had a friend write a stopwatch class to handle the microsecond delays required, and the rest I've tried to piece together based on the arduino code. I've had trouble writing anything that will print out the values from the sensor, so if anyone can give me some help there I would really appreciate that.

Other than that I hope this is helpful, and I would appreciate any and all feedback.

Attached File  DHT 22.zip   53.08KB   27 downloads

In Topic: Greenhouse/Terrarium automation

28 June 2011 - 02:07 AM

So, I'm trying to read data off of the DHT22 Temperature and Relative Humidity Sensor. I've found code written for the Arduino but, I have an extremely limited knowledge of C# and Visual Basic. I am wondering if anyone wants to take a look at the code for the Arduino and help translate that to a C# file for me. I have had a very basic introduction to C++ but not a working knowledge of it, and I am brand new to C# so any explanation and translation of the code I've attached would be extremely helpful.

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.