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.
Photo

Analog Read


  • Please log in to reply
4 replies to this topic

#1 DracoRSA

DracoRSA

    New Member

  • Members
  • Pip
  • 9 posts

Posted 27 January 2011 - 02:09 AM

Hi, I am quite a newbie at electronics and specifically the Netduino. I would like some help on setting up the relevant circuit to allow me to do the following: I have a sensor that communicates on a range of 4mA to 20mA based on what it senses. I would like to monitor this reading with the Netduino. The sensor has two outputs used to connect an external monitor (Netduino) to it. A postive and negative analog connection. Could anybody help me with what I need in the circuit to connect this sensor to the Netduino? I would really appreciate some help :)

#2 bill.french

bill.french

    Advanced Member

  • Members
  • PipPipPip
  • 260 posts
  • LocationPrinceton, NJ

Posted 27 January 2011 - 03:19 AM

Could you post a link to the specific sensor?

#3 DracoRSA

DracoRSA

    New Member

  • Members
  • Pip
  • 9 posts

Posted 27 January 2011 - 07:15 AM

Could you post a link to the specific sensor?


The product information can be found at Hanna Instruments

http://www.hannainst...8931A&id=017006

#4 bill.french

bill.french

    Advanced Member

  • Members
  • PipPipPip
  • 260 posts
  • LocationPrinceton, NJ

Posted 27 January 2011 - 01:39 PM

Well I'm stumped. I don't think the netduino can measure current directly. You might need something like this that outputs varying voltage:

http://www.sparkfun.com/products/8883

Posted Image

#5 Jan Olof

Jan Olof

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts
  • LocationSweden

Posted 27 January 2011 - 02:50 PM

Well I'm stumped. I don't think the netduino can measure current directly. You might need something like this that outputs varying voltage:

http://www.sparkfun.com/products/8883


Thats overkill! :)
You only need a resistor. Calculated by Ohms law.
You need a voltage drop of 3.3 V at 20 mA, and then you just measure the volage over the resistor with the analog input of the Netduino.

165 Ohm at 20 mA gives a drop of 3,3V (max for the Neduino analog input) (U=R*I)

I would select the one closest below 165 Ohm I can find, with 1% accuracy I would take 162 Ohm.

/Jan Olof




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.