View Single Post
  #1   Spotlight this post!  
Unread 20-02-2016, 09:30
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,570
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: How to run two motors on the same button?

You could also use two PWM ports for the two motor controllers. Just send the same command to both controllers at the same time (OK, one immediately following the other).

Note that neither of these methods mean that the motors will be synced. They will just be on at the same time going the same direction. There is always a bit more drag or oomph on one side than the other. If you need them to move together, use a mechanical means to keep them together, or install encoders or potentiometers so you can track them both and slow down the faster one so they go together. (You can also speed up the slower one if you aren't going full speed, but just slowing the faster one doesn't involve the edge case.)
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote