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.

Travis B.

Member Since 05 Oct 2011
Offline Last Active Apr 12 2012 03:21 PM
-----

Posts I've Made

In Topic: Netduino Firmware v4.2.0 RC3 (all editions)

01 March 2012 - 07:01 AM

Hi to all! I've installed the new bootloader and the new firmware without errors, but when I want run my project the visual studio says "An error has ocurred. Please check your hardware". I was working with the v4.2 RC3 release and all was working fine. Any idea? Thanks so much!! Mario

In Topic: Convert.ToDouble

07 November 2011 - 06:03 PM

Could this perhaps be related with http://netduino.code....com/workitem/2 ?


It seems to be the same problem, but VS launches the same exception after calling the Double.Parse("0.0") method.

Did it work on 4.1?


I don't know, I need to work on NMF 4.2

Travis, avoid using double, unless strictly necessary.


I know that, but how can I convert a string into a single directly? I might convert the string into a double and then convert the double into a single, isn't it?

(Single)Convert.ToDouble("0.0");

In Topic: TMP36 Temperature Sensor/SB Protoshield

15 October 2011 - 03:44 PM

Hi! I've a Rev B Board.

In Topic: TMP36 Temperature Sensor/SB Protoshield

15 October 2011 - 11:35 AM

Is the same component a potentiometer than a trimpot?

I used a potentiometer and this is the resulting schema:

Posted Image

I calibrated the potentiometer for reading 2.982 V at 25 degrees, is that correct?

It seems to work properly! When the Ethernet connector is plugged in, I get values with differences up to 10 degrees. Without the connector the difference is less than 2 degrees.

Can I avoid the jittering? If not, I will program an average algorithm.

Thanks so much Mario!

In Topic: TMP36 Temperature Sensor/SB Protoshield

13 October 2011 - 07:30 PM

Hi everyone!

I've tried it again Mario and this is the resulting schema.

Posted Image

And the code I'm using to get the Celsius degrees.

double voltage = ADC_Value * 5.0 / 1023;
double tempK = voltage * 100;
double tempC = tempK - 273.15;

I think I have done it correctly this time, but I get values between 180 and 190.

Is there something wrong? Do I need to do a calibrated sensor?

Thanks for your help!

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.