Ziggurat29, I am sorry I just realized I posted this in two different places on the forum. I found a solution to the problem thanks to another forum member. There was a data type issue in the code I was using from http://www.tinyclr.c...hare/entry/438. They were using ushort instead of short during the conversion/casting. So I would get correct readings down to 32 deg F or 0 deg C but then once it tried to read below that it would show readings in the 7k range this is all because ushort only allows positive values. Thanks for the attempt in lending a hand, I appreciate it!
- Netduino Forums
- → Viewing Profile: Posts: awthorn
Community Stats
- Group Members
- Active Posts 6
- Profile Views 6357
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Friends
awthorn hasn't added any friends yet.
Latest Visitors
No latest visitors to show
Posts I've Made
In Topic: DS18B20 Readings
29 April 2013 - 12:11 PM
In Topic: DS18B20 readings in 7K range
25 April 2013 - 10:45 PM
The code change did the trick, thank you so much for the help! I will let the author of that article know about the issue i experienced. Thanks again!
In Topic: DS18B20 readings in 7K range
23 April 2013 - 07:06 PM
Purchased some 4.7k? resistors at lunch and am going to make the code changes tonight. Hopefully we get some desirable results. Thanks for the help!
In Topic: DS18B20 readings in 7K range
22 April 2013 - 06:40 PM
The sensor is powered by the 5V ND output that is jumped from the ND to the Bread board. I was not able to get a reading from the sensor until i used a resistor. I am not sure how many ohms the one I am using at the moment is, as I am a new to all of this and have only what came in my starter kit.
I am using the same code that Brad used in his blog post here (http://bradsduino.bl...vices-with.html) with just a slight modification to output the serial number along with the temp.
Thanks for the help.
- Netduino Forums
- → Viewing Profile: Posts: awthorn
- Privacy Policy