To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 14975
14974  |  14976
Subject: 
Re: calculating sensor resistance (Ohm's Law)
Newsgroups: 
lugnet.robotics
Date: 
Sat, 7 Apr 2001 03:03:43 GMT
Viewed: 
538 times
  
Pete Sevcik <lego-robotics@crynwr.com> wrote in message
news:3ACE6E90.3FA776D0@austin.rr.com...
Lauren,

Your diagrahm is correct.  Your voltage assumption is not.  On RCX the • full
scale is 2 volts to 5 volts, not 0-5 like you have assumed.  Try
re-calculating with a 3 volt span.

That is not true for passive mode.  The scale is 0v = 0 and 5v = 1023 in
passive modes like touch or temperature.

The problem with what Lauren is doing is that the Temperature conversion is
far from linear.  There is a piece-wise conversion inside the RCX used to
fit the thermistor's curve.  You really need to use the raw digital values.
There are ways to see the raw value using standard RCX code, but not ways to
use the values in a RCX code program.  If you need some more background see:
http://www.plazaearth.com/usr/gasperi/lego.htm



Message has 1 Reply:
  Re: calculating sensor resistance (Ohm's Law)
 
Michael, As usual, you are correct. Thanks for pointing out my error. - pete. (...) Techno-stuff Robotics (URL) for FUN ! (23 years ago, 8-Apr-01, to lugnet.robotics)

Message is in Reply To:
  Re: calculating sensor resistance (Ohm's Law)
 
Lauren, Your diagrahm is correct. Your voltage assumption is not. On RCX the full scale is 2 volts to 5 volts, not 0-5 like you have assumed. Try re-calculating with a 3 volt span. - pete. (...) -- Pete Sevcik sevcik@flash.net Techno-stuff Robotics (...) (23 years ago, 7-Apr-01, to lugnet.robotics)

6 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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