Go to Post I know the code works, I wrote it! It must be a hardware problem. - buss [more]
Home
Go Back   Chief Delphi > Other > Math and Science
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-12-2004, 13:26
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Turn 90 Degrees

Hey guys, recently my team (237) gave me the Robovation kit. I'm still looking around the source code, but i'm starting to understand it. Right now I'm trying to make a function that'll make it turn 90 degrees. I have a good idea on how to do it via the programming aspect, but im mind blocked on the math part.

Heres a pic I drew in paint.


Whats the formula to figure out how many times the wheel needs to turn to go 90 degrees? I'm sure I can just go manually turn it and figure it out, but the formula would be better when I need to have it turn other angles.


I probably didn't make much sense... it's a saturday.

Last edited by Mike : 04-12-2004 at 20:03.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-12-2004, 13:47
colt527 colt527 is offline
Registered User
AKA: Ken Colton
FRC #0527
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Long Island
Posts: 123
colt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to behold
Send a message via AIM to colt527
Re: Turn 90 Degrees

Well, it's not that simple. In the code there is no direct way to make the robot turn 90 degrees. You control the motors through the PWM variables. And in that you do not control how many times they turn directly. You control the amount of power that is sent to the individual motor. For example, if pwm01 and pwm02 control the left and right side of you mini-bot:

pwm01 = 0;
pwm02 = 255;

Your robot would go spining to the left, it would not stop until you set pwm01 and pwm02 back to 127. The easiest, but least accurate method of doing what you are talking about would be "dead reconing" in which you just set pwm01 = 0 and pwm02 = 255 for a certain amount of time, which you can control by using a simple incrementing variable.

Here is some source to help you out. I'm just typing it in here, so I don't know if I made a stupid syntax error, but the general logic should all be there.

Code:
long int timer = 0; //Declare this globally at the top of the file. Right under the includes.

... //Code left out for posting purposes. 

//Here is you main function you will be editing in. 
//This function gets called every 17ms, so you can make a simple timer based off that

void Process_Data_From_Master_uP(void)
{
  Getdata(&rxdata);   /* Get fresh data from the master microprocessor. */

  Default_Routine();  /* Optional.  See below. */

  /* Add your own code here. */

//Start 90 degree turn code
//All this is doing is saying send 12 volts to the motor hooked up to pwm07 and send -12 volts to the motor hooked up to pwm08 for 1 second. After 1 second is done make both motors neutral. 1 second = about 59 loops though the code since it updates every 17ms. If you use a stop watch to grab the amount of time it takes to turn 90 degrees you can use the following equation to figure out what to put in. 
//Number got on stop watch * 1000/17. Then just throw that in place of 59.

if(timer > 0 && timer < 59)
{
 pwm07 = 255;
 pwm08 = 0;
}
else
{
 pwm07 = 127;
 pwm08 = 127;
}

timer++;//Increment the timer variable by 1, this says 17ms has passed.

  printf("PWM OUT 7 = %d, PWM OUT 8 = %d\n",(int)pwm07,(int)pwm08);  /* printf EXAMPLE */

  Putdata(&txdata);             /* DO NOT CHANGE! */
}
I hope I helped, if its still confusing IM me at coltfive2seven on AIM

The next ways which are more advanced but still not 100% accurate would be to use a gyroscope, which sences angular rate. So if the robot is turning to the right then it would sence it. You could use that in combination with some guese and check to get a reasonable accurate 90 degree turn.
__________________
Mentor, Team 527 -- Plainedge Red Dragons
FIRST Volunteer
SUNY Stony Brook Computer Science 2010
kcolton@gmail.com

Last edited by colt527 : 04-12-2004 at 14:11.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-12-2004, 14:01
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by colt527
Well, it's not that simple. In the code there is no direct way to make the robot turn 90 degrees. You control the motors through the PWM variables. And in that you do not control how many times they turn directly. You control the amount of power that is sent to the individual motor. For example, if pwm01 and pwm02 control the left and right side of you mini-bot:

pwm01 = 0;
pwm02 = 255;

Your robot would go spining to the left, it would not stop until you set pwm01 and pwm02 back to 127. The easiest, but least accurate method of doing what you are talking about would be "dead reconing" in which you just set pwm01 = 0 and pwm02 = 255 for a certain amount of time, which you can control by using a simple incrementing variable. Ill post some source code for that in a second.

btw: IM me on AIM @ coltfive2seven if you want some more in-depth explination.

The next ways which are more advanced but still not 100% accurate would be to use a gyroscope, which sences angular rate. So if the robot is turning to the right then it would sence it. You could use that in combination with some guese and check to get a reasonable accurate 90 degree turn.
I think a gyroscope is out of the question, i'll be sure to IM you later. Thanks.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-12-2004, 14:13
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Turn 90 Degrees

The way that is more accurate than dead reckoning but not as complex as a gyroscope is an encoder. You can use either an optical sensor, like the Banner sensor in the KOP, or a potentiometer that has no stop (multi-turn, you call that?). Either one of these will count the revolutions of the wheel, which makes it easier to measure how far it has gone. To implement the optical sensor, you'd have to paint white dots on the wheels so the sensor can have something to count. You wouldn't have to do that, and you'd have less error with a pot, but it's a little trickier to figure out how to mount a pot on the EDU bot. There are numerous coding examples on these forums that will explain how you can program this.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #5   Spotlight this post!  
Unread 04-12-2004, 14:22
Matt Attallah's Avatar
Matt Attallah Matt Attallah is offline
Now at sub 14's in a 5000lb vehicle
AKA: Maher Attallah
FRC #0005 (Robocards)
Team Role: Alumni
 
Join Date: Sep 2001
Rookie Year: 2000
Location: Detroit area, Michigan
Posts: 1,660
Matt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond reputeMatt Attallah has a reputation beyond repute
Send a message via AIM to Matt Attallah Send a message via MSN to Matt Attallah Send a message via Yahoo to Matt Attallah
Re: Turn 90 Degrees

...Shouldn't this be under Programming?
__________________
That rug really tied the room together...
Reply With Quote
  #6   Spotlight this post!  
Unread 04-12-2004, 14:51
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by Matt Attallah
...Shouldn't this be under Programming?
I thought it was more of a math question then a programming one.

EDIT: Mods feel free to move it if I was wrong
Reply With Quote
  #7   Spotlight this post!  
Unread 04-12-2004, 15:34
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,188
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Turn 90 Degrees

http://www.chiefdelphi.com/forums/sh...threadid=31122

check that thread for info on encoders
Reply With Quote
  #8   Spotlight this post!  
Unread 04-12-2004, 15:39
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Turn 90 Degrees

Thanks, Tom. I knew there was a thread around here somewhere.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #9   Spotlight this post!  
Unread 04-12-2004, 15:46
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by Tom Bottiglieri
http://www.chiefdelphi.com/forums/sh...threadid=31122

check that thread for info on encoders
Thanks, heres what I'm going to do.

Somehow measure the amount of time it takes for the wheel to spin one revolution at speed x.
Set it to run at speed x for the needed amount of length/time.

EDIT: thats not exactly what im going to do, I can't explain it... but it'll work

Last edited by Mike : 04-12-2004 at 16:18.
Reply With Quote
  #10   Spotlight this post!  
Unread 04-12-2004, 18:42
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by MikeWasHere05
Whats the formula to figure out how many times the wheel needs to turn to go 90 degrees?
You'll have to start by figuring out how far the wheel has to travel. Then you can divide by the circumference of the wheel to turn that into the number of revolutions.

To compute the required travel, you'll need to know the position of the stationary center of rotation and the distance from that point to the wheel. If you're trying to turn by applying power to one of the rear wheels, the other wheel is the stationary point and the turning radius is the distance between the wheels. If you're going to apply forward power to one wheel and reverse power to the other, the stationary point is directly between them and the turning radius is 1/2 the distance.

Then just use the simple formula for the circumference of a circle (C = 2*pi*r) and divide by four to find out how far the wheel has to go for a quarter turn. Now divide by the circumference of the wheel itself et voila! you now know how many revolutions the wheel must make to perform the 90 degree turn.

Making the wheel turn that many times is left to you as an exercise.
Reply With Quote
  #11   Spotlight this post!  
Unread 04-12-2004, 20:51
Salik Syed Salik Syed is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Stanford CA.
Posts: 514
Salik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud ofSalik Syed has much to be proud of
Send a message via AIM to Salik Syed
Re: Turn 90 Degrees

i think it is only simple to do it mathematically w/ a 2 wheel drive robots... .use the distance between two wheels as your turning diameter multiply that times pi for circumferance... now to turn 90 deg it is the (circumferance / 4 )/(wheel circumfrence) to get revoutions of wheel needed....
now if you have four wheels i think it gets trickier because the radius along which each wheel / side turns seems to be uncalculable ...easily ... at least i can't think of a way... also the other side kinda affects it...
__________________
Team 701
Reply With Quote
  #12   Spotlight this post!  
Unread 04-12-2004, 21:52
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by MikeWasHere05
Somehow measure the amount of time it takes for the wheel to spin one revolution at speed x.
Set it to run at speed x for the needed amount of length/time.
Here's what I would suggest. This is kinda pseudo-code, but you'll get the idea.

Code:
#define COUNT 20 //determine this number experimentally

void turn90(void)
{
   int i=0;
   int last=0;
   while(i<COUNT)
   {
      pwm01=255;
      pwm02=0;
      if(rc_ana_in01<last)
         i++;
      last=rc_ana_in01;
   }
   pwm01=127;
   pwm02=127;
}
COUNT is the number of revolutions it takes for your robot to turn 90 degrees. You have two servos connected to pwm01 and pwm02. You have a multi-turn pot on analog input 01. The value from the pot goes from 0 to 1023, and then starts over at 0 again. (That's just how the processor does it, for some reason. I dunno why they went with 10 bits instead of 8.) If the number is suddenly less than it was last time it checked, then the pot has made a complete revolution. This is more precise than measuring time, because the values needed for other angles are not 1:1, due to inertia and stall friction. If you wanted an angle of 45º, change it to while(i<COUNT/2). If you want 180º, change it to while(i<COUNT*2). I'm not sure if I'm making any sense, so ask me if you don't understand it.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_

Last edited by jgannon : 04-12-2004 at 22:01.
Reply With Quote
  #13   Spotlight this post!  
Unread 05-12-2004, 12:08
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by jgannon
Here's what I would suggest. This is kinda pseudo-code, but you'll get the idea.

Code:
#define COUNT 20 //determine this number experimentally

void turn90(void)
{
   int i=0;
   int last=0;
   while(i<COUNT)
   {
      pwm01=255;
      pwm02=0;
      if(rc_ana_in01<last)
         i++;
      last=rc_ana_in01;
   }
   pwm01=127;
   pwm02=127;
}
COUNT is the number of revolutions it takes for your robot to turn 90 degrees. You have two servos connected to pwm01 and pwm02. You have a multi-turn pot on analog input 01. The value from the pot goes from 0 to 1023, and then starts over at 0 again. (That's just how the processor does it, for some reason. I dunno why they went with 10 bits instead of 8.) If the number is suddenly less than it was last time it checked, then the pot has made a complete revolution. This is more precise than measuring time, because the values needed for other angles are not 1:1, due to inertia and stall friction. If you wanted an angle of 45º, change it to while(i<COUNT/2). If you want 180º, change it to while(i<COUNT*2). I'm not sure if I'm making any sense, so ask me if you don't understand it.
Thanks, a few questions tho.

You keep on mentioning "the pot"... whats that?
A member on my team said that doing it this way wouldn't be reliable, because as the battery dies it won't be able to spin the wheel as fast as it did before. Will this fix that?


I'd rather ask questions then just copy/paste... =/
__________________
http://www.mikesorrenti.com/
Reply With Quote
  #14   Spotlight this post!  
Unread 05-12-2004, 18:54
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by MikeWasHere05
You keep on mentioning "the pot"... whats that?
I'm referring to a potentiometer that has no stopping point. I believe this is called a multi-turn potentiometer. If you don't know what this is, one of your mentors probably does. It's a fairly fundamental electronic component.

Quote:
Originally Posted by MikeWasHere05
A member on my team said that doing it this way wouldn't be reliable, because as the battery dies it won't be able to spin the wheel as fast as it did before.
Right... that's the problem I was trying to point out with the method of
Quote:
Originally Posted by MikeWasHere05
Somehow measure the amount of time it takes for the wheel to spin one revolution at speed x. Set it to run at speed x for the needed amount of length/time.
As the battery wears out, or if you just want to use a different speed, the amount of time to do something will vary. A potentiometer used in this manner measures revolutions, not speed. The amount of revolutions to go a certain distance or make a certain turn will be the same at any speed, assuming that your wheels are not slipping on the driving surface. Does it make more sense now?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #15   Spotlight this post!  
Unread 05-12-2004, 19:46
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Turn 90 Degrees

Quote:
Originally Posted by jgannon
I'm referring to a potentiometer that has no stopping point. I believe this is called a multi-turn potentiometer. If you don't know what this is, one of your mentors probably does. It's a fairly fundamental electronic component.


Right... that's the problem I was trying to point out with the method of As the battery wears out, or if you just want to use a different speed, the amount of time to do something will vary. A potentiometer used in this manner measures revolutions, not speed. The amount of revolutions to go a certain distance or make a certain turn will be the same at any speed, assuming that your wheels are not slipping on the driving surface. Does it make more sense now?
Yes, thanks
__________________
http://www.mikesorrenti.com/
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Six Degrees of John V-Neun Amanda Morrison Chit-Chat 47 24-07-2007 18:11
G4 wont turn on! MattK General Forum 14 26-08-2003 09:44
College Advisor turn outs Guyute General Forum 4 20-06-2003 13:35
Yaw Rate Sensor to 90 degrees? Bruce C. Programming 4 11-02-2003 00:36
PWM Antonio Technical Discussion 21 06-01-2003 14:44


All times are GMT -5. The time now is 14:09.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi