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 / 18639
18638  |  18640
Subject: 
Re: LEGO Purism
Newsgroups: 
lugnet.robotics
Date: 
Sat, 10 Aug 2002 13:31:22 GMT
Viewed: 
1590 times
  
In lugnet.robotics, John Barnes writes:
In lugnet.robotics, John Gerlach writes:

To Paul:  Try running a wire from the RCX power output, to your motor, and
also to an RCX sensor input.  I think you can measure the power draw on the
motor, if it goes too high you can guess that it has stalled.

As far as detecting an overload state, the sensor input circuitry will only
measure 0 - 5 volts, so while the motor supply is greater than 5 volts
(assuming it's set to the proper direction to avoid the ground short already
mentioned), the input will appear to be just pegged at 1023. By the time the
motor output has dropped to below 5 volts thus giving you something to
measure other than 1023, your motor and batteries will really be working hard!

JB

A little experimentation shows that you are right :-) or should that be :-(



Message has 1 Reply:
  Re: measuring motor voltage on sensor input
 
Quoting Paul Andrews <paul@jools.net>: (...) How about a simple resistive divider across the motor output, say two 1 Kohm resistors, with the motor on the top of the two and the sensor input on the midpoint, so it sees the battery divided by two? (...) (22 years ago, 10-Aug-02, to lugnet.robotics)

Message is in Reply To:
  Re: LEGO Purism
 
(...) Erh, I'm not so sure about that? One side of the sensor input is ground, the other side is the input to the voltage measurement circuitry. The motor output on the other hand has two connection, which are either ground and +8(ish) or +8 and (...) (22 years ago, 9-Aug-02, to lugnet.robotics)

39 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