Go to Post the point is that FIRST is successful, in so many different ways - Pamela [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2007, 14:17
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
motor wiring

our motors are driving opposite ways when we move the joystick forward. i need to know what to do.
__________________

"Is it the anime?..."
  #2   Spotlight this post!  
Unread 17-02-2007, 14:28
woody's Avatar
woody woody is offline
Too much metal for one hand! \m/
FRC #0033 (Killer Bees)
Team Role: Alumni
 
Join Date: Jul 2006
Rookie Year: 2005
Location: Michigan
Posts: 90
woody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to behold
Re: motor wiring

Just figure out which motor is driving in reverse, then swap its leads on your Victor motor (Red to M- and black to M+).
__________________
"The greatest of all mistakes is to do nothing because you can only do a little; do what you can." - Sir Sidney Smith
  #3   Spotlight this post!  
Unread 17-02-2007, 14:33
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
Re: motor wiring

ok, i'll try it now.
__________________

"Is it the anime?..."
  #4   Spotlight this post!  
Unread 17-02-2007, 14:48
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
Re: motor wiring

my instructor doesn't want to do that...
__________________

"Is it the anime?..."
  #5   Spotlight this post!  
Unread 17-02-2007, 15:50
woody's Avatar
woody woody is offline
Too much metal for one hand! \m/
FRC #0033 (Killer Bees)
Team Role: Alumni
 
Join Date: Jul 2006
Rookie Year: 2005
Location: Michigan
Posts: 90
woody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to behold
Re: motor wiring

Why not? When you reverse the motors with the joystick, the Victor does the exact same thing internally. Thats just the way motors work; they are not polarity sensitive. This is the simplest solution and is perfectly safe.
__________________
"The greatest of all mistakes is to do nothing because you can only do a little; do what you can." - Sir Sidney Smith
  #6   Spotlight this post!  
Unread 17-02-2007, 16:21
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
Re: motor wiring

fyi our instructor is really stupid, all team members quit. All that is left is three ppl. i'm near quitting as well...
__________________

"Is it the anime?..."
  #7   Spotlight this post!  
Unread 17-02-2007, 16:26
woody's Avatar
woody woody is offline
Too much metal for one hand! \m/
FRC #0033 (Killer Bees)
Team Role: Alumni
 
Join Date: Jul 2006
Rookie Year: 2005
Location: Michigan
Posts: 90
woody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to behold
Re: motor wiring

I'm sure your instructor isnt stupid, and I'm sorry your teammates quit. Stick with it, and you'll have a great time and learn/teach plenty.
As far as the motors go, just explain that it won't hurt anything, its just changing the way the motor turns.
__________________
"The greatest of all mistakes is to do nothing because you can only do a little; do what you can." - Sir Sidney Smith
  #8   Spotlight this post!  
Unread 17-02-2007, 16:27
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
Re: motor wiring

you have no clue... even the other instructors quit!
__________________

"Is it the anime?..."
  #9   Spotlight this post!  
Unread 17-02-2007, 16:29
woody's Avatar
woody woody is offline
Too much metal for one hand! \m/
FRC #0033 (Killer Bees)
Team Role: Alumni
 
Join Date: Jul 2006
Rookie Year: 2005
Location: Michigan
Posts: 90
woody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to beholdwoody is a splendid one to behold
Re: motor wiring

Well, I think the best thing to do is try to work through it and make the best of your situation. I wish you and what is left of your team the best of luck this season!
__________________
"The greatest of all mistakes is to do nothing because you can only do a little; do what you can." - Sir Sidney Smith
  #10   Spotlight this post!  
Unread 17-02-2007, 16:30
Armando's Avatar
Armando Armando is offline
...I'm hungry...
AKA: Naoki
FRC #2061
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 21
Armando is an unknown quantity at this point
Re: motor wiring

thanks
__________________

"Is it the anime?..."
  #11   Spotlight this post!  
Unread 17-02-2007, 17:17
imax48236's Avatar
imax48236 imax48236 is offline
El Presidente
AKA: The Elf
FRC #1701 (Robocubs)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Detroit
Posts: 44
imax48236 will become famous soon enough
Send a message via AIM to imax48236
Re: motor wiring

The inspection team at the regional event may not approve of reversing the polarity on the victors. They like + voltage to be red, and ground to be black.
__________________
2007 Events:
Great Lakes Regional
Detroit Regional
<THIS SPACE FOR RENT, $3000 donation to Team 1701>
  #12   Spotlight this post!  
Unread 17-02-2007, 17:31
Kims Robot's Avatar Unsung FIRST Hero
Kims Robot Kims Robot is offline
Onto a New Chapter...
AKA: Kim O'Toole Eckhardt
no team
 
Join Date: Aug 2004
Rookie Year: 1996
Location: Framingham, MA
Posts: 1,467
Kims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond reputeKims Robot has a reputation beyond repute
Send a message via AIM to Kims Robot
Re: motor wiring

M+ and M- are simply the outputs of the victor speed controllers. Motors can be given polarity in either direction, it just causes a reverse in the motor. This is a proper way to do it and GOOD PRACTICE. It allows your programmers to give equal control to the motors when they are running the opposite directions.

If you are interested, read up on motors:
http://www.howstuffworks.com/motor1.htm

This will explain that it is OK to reverse the polarity on a motor, and in fact the ONLY way to drive it in the other direction.

Another way to do it is through the programming, but switching your leads is the easiest and gives you the most even control.
__________________
~kim~
Kimberly O'Toole Eckhardt <3
Principal Systems Engineer & Program Manager
History - Team 176, Team 229, Team 1511, FIRST Volunteer!!
My new FIRST Photography Hobby & Angry Eric's Fan Page
Excellence - is the result of caring more than others think is wise, risking more than others think is safe, dreaming more than others think is practical, and expecting more than others think is possible.
  #13   Spotlight this post!  
Unread 18-02-2007, 23:51
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Re: motor wiring

The programming of 1 motor in a forward direction(right side) to match the programming of another motor in the reverse direction(left side) is impossible to do with the FIRST supplied code. Autonomous maybe, but in telematic mode, that would mean one joystick forward and 1 in reverse just to drive straight. Your robot must be spinning in circles literally.

As far as the victors, they don't care what is attached to the M+,M- terminals. The V+,V- terminals are the ones to be concerned about. Yes, attach the wires reversed there and you will have learned a very expensive lesson and see some magic smoke.

Good luck this season. And as the losing NFL team fans always say: There is always next year. TIP: Find a another close by team to come in and mentor whats left. Maybe the instructor will come around with more experienced input.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
  #14   Spotlight this post!  
Unread 19-02-2007, 00:56
Ari Allyn-Feuer Ari Allyn-Feuer is offline
Registered User
FRC #0753
 
Join Date: Feb 2006
Location: Bend, OR
Posts: 22
Ari Allyn-Feuer is on a distinguished road
Re: motor wiring

I'm terribly sorry about the mentoring situation, but if they won't agree (which they should, no questions) there is an easy way around it which will solve the problem pretty well.

In the drive, where you're having code like

pwm03 = p1_y;

if that causes the motor to go backwards and you can't switch the leads (which is the best way to do it), you can effectively do the same thing by saying

pwm03 = 255 - p1_y;

which will map pulling the joystick back to the "forward" pwm ranges and vice versa. Neutral is still neutral of course.

This will be almost the same as switching it. Good luck with your mentor issues. Where are you and what regionals are you going to?

Ari.
Closed Thread


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
Globe Motor Wiring almsfan21 Motors 3 08-02-2007 17:51
Wiring battery pack to motor via switch... Jeremiah Johnson Electrical 5 15-08-2006 18:50
White Paper Discuss: Approx. Motor Spec for Taigene Motor Joe Johnson Motors 2 22-01-2005 16:36
Seat Motor Wiring zainali Electrical 3 15-02-2004 15:22
Wiring of Torque Motor Tom Fennell Motors 3 25-01-2002 20:26


All times are GMT -5. The time now is 05:41.

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