To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4339
4338  |  4340
Subject: 
HB's analog inputs
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 26 Aug 1998 18:35:10 GMT
Original-From: 
edmund <ho106@singnet.com.SAYNOTOSPAMsg>
Viewed: 
1156 times
  
does anyone know if the handy board's analog inputs can accept analog
current output(4-20mA) from a photo-electric distance sensor? (e.g. the
sensor might return 4mA if the object is 1 ft away and 15mA if it's 3 ft
away) or can it only accept analog voltage output(0-5V).

if the function 'int analog()' is used and the analog input is 2.5V, would
the handy-board return a value of 127? i believe the range of values is
from 0-255 for 0-5V. what if the analog input is current?

the distance sensor i'm going to buy comes with either a current or a
voltage output and i don't know which will suit the HB best. can anyone
help? thanks in advance.


edmund



Message has 1 Reply:
  Re: HB's analog inputs
 
(...) Edmund, Typically the solution is to pass the 4-20 mA through a 250 ohm resistor and measure the voltage across that resistor. As long as your A/D input impedance is high, it can be ignored. A resistor is essentially a current to voltage (...) (26 years ago, 26-Aug-98, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR