To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1655
1654  |  1656
Subject: 
Re: Parallel sensor problem
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 23 Jan 2001 23:50:57 GMT
Viewed: 
1465 times
  
"Ross Crawford" <rcrawford@csi.com> writes:

Hi, all.

I'm experiencing a strange problem. I'm using two RCXs to control my crane, and
I have a single touch sensor connected to input 1 on RCX 1 & input 2 on RCX 2.
However, when I run both programs, which both have a wait_event function like:

I don't know if this is your problem, but the input ports have polarity
(one lead is connected to ground and the other to +5V through a resistor,
if I remember correctly).  Have you tried to change polarities?

Both programs work OK until one switches on a motor! As soon as that happens
the *other* program does the slow-down! When the motor stops, correct
functioning returns! But this *only* happens when the sensor is connected to
both inputs!

Maybe the problem is not in polarity but in a voltage drop on the RCX with
the motor on, draining current for the input port of the other RCX (that
accounts for the fact that one RCX thinks the sensor is pressed).

Hope it helps!

bye
Bernardo



Message has 1 Reply:
  Re: Parallel sensor problem
 
Bernardo Dal Seno <piu1759@cdc8g5.cdc.polimi.it> wrote in message news:87d7dd25ge.fsf@...o.bogus... (...) crane, and (...) RCX 2. (...) like: (...) Thanks. I'll try that. (...) happens (...) connected to (...) Nup. I disconnected the motor, but the (...) (24 years ago, 24-Jan-01, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Parallel sensor problem
 
Hi, all. I'm experiencing a strange problem. I'm using two RCXs to control my crane, and I have a single touch sensor connected to input 1 on RCX 1 & input 2 on RCX 2. However, when I run both programs, which both have a wait_event function like: (...) (24 years ago, 23-Jan-01, to lugnet.robotics.rcx.legos)

4 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