Go to Post rookie teams are like kids - making them is easy but raising them to maturity can kill you - Wayne C. [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-16-2016, 06:20 PM
mr_abomination mr_abomination is offline
Registered User
FRC #4733
 
Join Date: Feb 2014
Rookie Year: 2012
Location: Canada
Posts: 9
mr_abomination is an unknown quantity at this point
Can we run servo motors on something other than PWM?

Our team has run into the slight problem of using too many motors which all need independent control. We've doubled up where we can but 4 drive motors, 2 shoulder motors, 2 wrist motors, 2 shooter motors, 2 servos and a pulley quick. Because of this we have run out of PWM ports...

We are wondering if anyone knows a way we could use a different channel, say analog, to control our pair of servo motors. There's only two of them so modifying the base servo class isn't out of the question.

P.S. we're using C++ as our coding language.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-16-2016, 06:38 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,999
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Can we run servo motors on something other than PWM?

Quote:
Originally Posted by mr_abomination View Post
we have run out of PWM ports...
Have you looked into this?

http://www.chiefdelphi.com/forums/sh...d.php?t=133143


Reply With Quote
  #3   Spotlight this post!  
Unread 02-16-2016, 09:50 PM
rsisk's Avatar
rsisk rsisk is online now
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,746
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: Can we run servo motors on something other than PWM?

You can use a PWM Y cable to control two motor controllers at once if they always have the same operation (like two motors on one side of a drive train).
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-16-2016, 10:22 PM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,697
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can we run servo motors on something other than PWM?

Servos MUST be run from one of the regular roboRIO PWM ports (R54).

You can move motor controllers to the MXP PWM ports though.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-16-2016 at 10:29 PM.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-17-2016, 01:34 PM
anthonyttu anthonyttu is offline
Texas Instruments Engineer
AKA: Master Chief
FRC #5417 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Dallas
Posts: 61
anthonyttu has a spectacular aura aboutanthonyttu has a spectacular aura about
Re: Can we run servo motors on something other than PWM?

If you are using Tallon SRX's or Jaguars' you can control your motors with the CAN bus.

Last edited by anthonyttu : 02-17-2016 at 01:37 PM.
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


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

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