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 / 22716
22715  |  22717
Subject: 
Re: Steering Drive
Newsgroups: 
lugnet.robotics
Date: 
Wed, 25 Aug 2004 04:15:00 GMT
Viewed: 
877 times
  
"Jon Gilchrist" <robots@DEELEETEf3p.com> wrote in message
news:cmsni0t76f5vr92g29g4d7ecg6gbu5r60i@4ax.com...
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



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
sensor, reverse the motor and the touch sensor will stop the steering motor.
The low power is to prevent unwanted disassembly of the steering.



Message is in Reply To:
  Steering Drive
 
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 (...) (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