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 / 14963
14962  |  14964
Subject: 
Re: calculating sensor resistance (Ohm's Law)
Newsgroups: 
lugnet.robotics
Date: 
Fri, 6 Apr 2001 22:42:20 GMT
Viewed: 
1753 times
  
hi Lauren,

you're quiet right,
the inside of the RCX (in touch-sensor mode) is ok, and Ohm's law is also.
So the problem lies probably in the sensor used. The cheap resistive pressure sensors are totally non-linear, more expensive sensors are full bridges and you've to use a more complex cirquit.
What sensor are you using ?


lauren klein wrote:

> I've been helping my little sister with her RCX-intensive science
> project, but we just finished all the calculations and her results seem
> screwy.  Does anyone who understands RCX internals and/or Ohm's Law have
> some time to look this over and make sure I've got all everything right?
> 
> This is what we've done: We first made a couple of pressure sensors;
> each one has a force sensitive resistor (FSR; same functionality as a
> pot) in series with a 1K resistor.
> 
> With these sensors (one plugged into each RCX input), we were able to
> record raw values 0-1023 in the datalog. We can convert these values to
> voltages just by scaling 0-1023 to 0-5, but what I need to figure out is
> the resistance of the FSR that corresponds to each of these voltage
> values.
> 
> This is an Ohm's Law question. The problem is that I do not know what
> the inside of the RCX brick looks like. With the information I could
> find on the web, I can only guess that the whole setup looks like this:
> 
> inside the lego -----+          my sensor
>                      |
>     +5v       10k    |             1k
>     +-----/\/\/\/\/--+-- input --/\/\/\-+
>     |                |                  |
>    ---              +-+                 |
>     -               |V|                 |
>    ---              +-+                 |
>     -                |                  |
>     |                |                  |
>     +----------------+-- input --/\{}/\-+
>   ground             |            FSR
>                      |           (pot)
> inside the lego -----+
> 
> In which case it's a series resistance and I can find the resistance of
> the FSR with the following equation:
> 
>  V      1+pot
> --- = --------
>  5    10+1+pot
> 
> But the values I'm getting don't really make sense. I just wanted to
> check, is this the correct formula? And is my picture of the inside of
> the RCX correct?
> 
> Thanks so much.
> Lauren

--

met vriendelijke groet,

Stef Mientki

email: s.mientki@ids.kun.nl
tel:  024 361 3905
fax:  024 354 1211

Postadres:
KUN / fmw
171 Instrumentele Dienst
Postbus 9101
6500 HB Nijmegen

Bezoekadres:
F.C.Donderslaan 2
6525 GJ Nijmegen

homepage: http://baserv.uci.kun.nl/~smientki/



Message has 1 Reply:
  Re: calculating sensor resistance (Ohm's Law)
 
Stef Mientki <s.mientki@ids.kun.nl> wrote: : the inside of the RCX (in touch-sensor mode) is ok, and Ohm's law is also. I actually used temperature sensor mode, since I wanted a passive mode that wasn't just boolean. Would that have made a (...) (25 years ago, 7-Apr-01, to lugnet.robotics)

Message is in Reply To:
  calculating sensor resistance (Ohm's Law)
 
I've been helping my little sister with her RCX-intensive science project, but we just finished all the calculations and her results seem screwy. Does anyone who understands RCX internals and/or Ohm's Law have some time to look this over and make (...) (25 years ago, 6-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
    

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