Go to Post amazing stuff. - Specialagentjim [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 26-02-2014, 09:33
Jon Stratis's Avatar
Jon Stratis Jon Stratis is online now
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,719
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Motors Only Work When Being Calibrated

I'm going to spell out what I think your setup and observations are, then give you the problem and solution, assuming my understanding of the setup and observations are correct.

Setup: You have two motors going into a single gearbox to power each side of the robot. This would be for a normal "tank" drive robot, for example having 6 wheels on each side all chained together.

Observations:
- One side does not move when the code tells it to
- When calibrating the motor controllers, you see:
1. Calibrating controller "1" makes the wheels spin forward when you want them to go forward in the calibration
2. Calibrating controller "2" makes the wheels spin backwards when you want them to go forward in the calibration - ie it acts opposite of controller "1"

Is all of that correct? If so, then I've got another test for you. Unplug controller "2" and try driving. Does that side work as expected? Now, plug that controller back in and unplug controller "1" and try driving. Does that side work as expected?

I suspect you somehow got the motor leads "swapped" for controller "2". As a result, when you try driving forward on that side, motor "1" sees a +12V signal, while motor 2, with the leads swapped, seeings a -12V signal. The motors run against each other and stall in the gearbox. Unplug the motor leads from controller "2", swap them, and plug them back in.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
 


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


All times are GMT -5. The time now is 17:52.

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