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 / 22712
22711  |  22713
Subject: 
Steering Drive
Newsgroups: 
lugnet.robotics
Date: 
Wed, 25 Aug 2004 02:20:16 GMT
Reply-To: 
robots@deeletef3p+IHateSpam+.com
Viewed: 
1008 times
  
So I'm building this robot because my FLL kids told me it couldn't be
done.  It has to do a few things, line following, bumpers, nothing too
special.  I made it with a steering drive because it has to have
wheels that turn to make it look right (I'll explain after it's done,
I have to keep the design a secret for another 2 weeks).  Not a big
problem, I'm using the basic linkage that came with the racers
(8473-1) I got at the Brickfest outlet store sale.  I've got a
differential in there with a motor to drive it, and a rotation sensor
hooked up for distance measuring.  I have a light sensor for finding
the line I'm going to follow.  Here's the tricky part.  I have a touch
sensor hooked up much like this one
(http://www.marioferrari.org/brlm/f1614.jpg) so that I can tell when
the wheels are pointed straight ahead.

So my problem is, how do I tell which way I need to turn the motor to
get the wheels back to straight?

If the sensor is touched, I know that it is going straight, but if the
sensor is not touched I can't figure out any good way to tell which
side of the switch the cam is on.  At least, not without using another
sensor port, which I don't have available.  I can't double up on the
light sensor, because I can't have the sensor value go to 100 just
because I'm going straight.

Help.  Any advice appreciated.

-Jon



Message has 6 Replies:
  Re: Steering Drive
 
How precise does the distance measuring have to be? Why not use the rotation sensor for the steering position, and use the touch sensor in an arrangement similar to a land-measuring wheel (one click equals x distance) for the distance? That'd be my (...) (20 years ago, 25-Aug-04, to lugnet.robotics)
  Re: Steering Drive
 
(...) Well, you can use a second touch sensor and a raised portion on half the steering rack so that it is always depressed when not in the center or the other half. This second sensor can be multiplexed with a passive sensor such as you would find (...) (20 years ago, 25-Aug-04, to lugnet.robotics)
  Re: Steering Drive
 
(...) Instead you could have another light sensor, and something like this (URL) attached to the steering shaft. That way the light sensor can tell 3 different states - straight, left or right. ROSCO (20 years ago, 25-Aug-04, to lugnet.robotics)
  Re: Steering Drive
 
"Jon Gilchrist" <robots@DEELEETEf3p.com> wrote in message news:cmsni0t76f5vr92...4ax.com... (...) Initialize the steering by running the motor at a low power setting in one direction for a short period of time. If it does not engage the touch (...) (20 years ago, 25-Aug-04, to lugnet.robotics)
  Re: Steering Drive
 
--- Jon Gilchrist <robots@DEELEETEf3p.com> wrote: [snip] (...) It also just occured to me that if you want to avoid multiplexing with external parts, the line sensor can be doubled up with a touch sensor. If the bumper switch is doubled up on the (...) (20 years ago, 25-Aug-04, to lugnet.robotics)
  Re: Steering Drive
 
"Jon Gilchrist" <robots@DEELEETEf3p.com> wrote in message news:cmsni0t76f5vr92...4ax.com... (...) I don't understand why you need to know which way to turn the wheels to go straight? When you initialize the robot you can test with low power first (...) (20 years ago, 25-Aug-04, to lugnet.robotics)

10 Messages in This Thread:






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

Custom Search

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