To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 8852
8851  |  8853
Subject: 
Re: joystick help
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Tue, 26 Aug 2003 19:03:48 GMT
Viewed: 
514 times
  
In lugnet.org.ca.rtltoronto, Vineet Honkan wrote:
Steve-

These general questions (even follow-up questions) should be directed to
everyone.  Someone else may have a better answer.  Remember, you're talking to a
large group of people.

You've heard how I have connected the touch sensors to the input ports.
Likewise, I did the same to connect four motors to the output ports.

hmm. bad idea.  That REALLY won't do what you want.  And it could be bad for the
RCX.

You can't easily control four separate motors from a single RCX.

My problem is, I want it set up so that when I press one of the touch sensors,
it will operate one motor, and when I touch another sensor, it will operate
another motor (by means of a joystick with four degrees of rotation; front,
back, left, right. What's amazing is that this took me a few days to figure
out!). Would an OR or an AND setup be beneficial here?

First, are you really sure that's what you want?

It sounds like you want to be able to move forward/back or left/right.

A common use for a joystick would be to drive two motors, like a tank.

So, when you press the stick forward, both motors go forward.
Stick backward, motors backward.
Stick to the right, left motor forward, right motor back.
Stick to the left, left motor back, right motor forward.

If that's what you want, you only need two motors.

If you really need four motors, you'll need another RCX.  Talk to Chris.  He has
extras.  :)

And I doubt I'll make the next dinner.  I don't think most of these guys want to
see me that much...  :)

Steve
"I don't buy RCXs.  I win them"



Message has 1 Reply:
  Re: joystick help
 
(...) How did you win your first RCX? :) Jeremy. Always check your boundary conditions ;) (21 years ago, 26-Aug-03, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: joystick help
 
Steve- This is a bad habit of mine, not finishing my thoughts. My full question is, You've heard how I have connected the touch sensors to the input ports. Likewise, I did the same to connect four motors to the output ports. My problem is, I want it (...) (21 years ago, 26-Aug-03, to lugnet.org.ca.rtltoronto)

8 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