Go to Post No, we will not call you a "stupid freshman", we attribute your hasty remark due to lack of expirence, but you will gain that in time. - Mr. Ivey [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 12-02-2014, 19:00
Andrew Merwin Andrew Merwin is offline
Registered User
FRC #5464 (Blue Jacket Robotics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Isanti
Posts: 3
Andrew Merwin is an unknown quantity at this point
Motors run one way but not the other

While testing the robot we realized that all of our non-drive train motors can run in one direction but not the other. When run in the wrong direction the get a low power signal and then spike and then die back down. The direction that works can be reversed in programming, but I need them to spin both ways. We have gone over the programming and the wiring.
  #2   Spotlight this post!  
Unread 12-02-2014, 19:09
Jibri Wright's Avatar
Jibri Wright Jibri Wright is offline
Registered User
FRC #1781 (Electric Eagles)
Team Role: CAD
 
Join Date: Oct 2012
Rookie Year: 2011
Location: Chicago
Posts: 179
Jibri Wright will become famous soon enough
Re: Motors run one way but not the other

I'm no programmer but I believe instead of reversing the direction in the code, you just have one button set to go one direction and another set to go in the opposite direction.
__________________
You know someone likes something when after doing it a million times, they still marvel at it as if it was the FIRST.

Greatness asks how can I make it better. Genius asks how can I make it different.
  #3   Spotlight this post!  
Unread 12-02-2014, 19:17
Sparkyshires Sparkyshires is offline
Registered User
AKA: Michael Shires
FRC #0384 (Sparky)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2006
Location: Virginia
Posts: 226
Sparkyshires is an unknown quantity at this point
Re: Motors run one way but not the other

if you could either post code or describe how your running the motors exactly, that would be very helpful. On your non-drive train, how are you trying to run the motors? off a battery, or with a button? I'm a bit confused as to the error here, sorry.
__________________
"Measure with a micrometer, mark with chalk, cut with an axe."
  #4   Spotlight this post!  
Unread 12-02-2014, 20:35
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Motors run one way but not the other

If you can change it in code, then it is a programming issue.
__________________
  #5   Spotlight this post!  
Unread 12-02-2014, 21:40
Peregrinus Peregrinus is offline
Registered User
FRC #4800 (Rage Against The Machines)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Not This Country
Posts: 11
Peregrinus is a jewel in the roughPeregrinus is a jewel in the roughPeregrinus is a jewel in the rough
Re: Motors run one way but not the other

I agree, I'm fairly positive it's a programming issue. You should post your code.
  #6   Spotlight this post!  
Unread 13-02-2014, 00:11
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: Motors run one way but not the other

The cause might be as simple as an incorrectly powered Digital Sidecar. Are all three of its power LEDs lit?

What does the orange Robot Signal Light do when the motors are failing to run?
  #7   Spotlight this post!  
Unread 13-02-2014, 00:23
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Motors run one way but not the other

Wee had a similar issue earlier this week. We use a Global variable in Periodic tacks to control two motors. We then right to that variable in Auton or Tele.

What we found that regardless of the value sent to the variable, it always read back positive.

It turns out the data type for the Global was a U32. Unsigned variables can't be negative. So we changed the data type to I32 and everything started working normally.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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


All times are GMT -5. The time now is 19:26.

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