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 / 466
465  |  467
Subject: 
Relationship between voltage and analog()
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sat, 1 Jun 1996 12:15:28 GMT
Original-From: 
Hajime <hajime1@mech.t.u-tokyo.acSPAMLESS.jp>
Viewed: 
1294 times
  
Hello!

Would anybody please send me a mail letting me to know the
relationship between the output of ananlog() function and
the voltage ?

For example, if my sensor works under the command
"if (analog(0)>47) then ...."  What would be the voltage ?

Any formula for this calculation ?

Thanks in advance



Message has 1 Reply:
  Re: Relationship between voltage and analog()
 
(...) The input voltage range is 0 to 5 v, and the output number range is 0 to 255. The relationship is linear, so 2.5v = 128 (for example) (...) to convert from the output # to the voltage, it would be 5v x (output # / 255) so 47 is about 0.92 (...) (28 years ago, 1-Jun-96, 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