Go to Post (Just remember to pack extra warm--when they say the state motto is Live, Freeze, or Die, they're not joking.) - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 24-01-2010, 16:28
chsrobotics3283's Avatar
chsrobotics3283 chsrobotics3283 is offline
Registered User
FRC #3283 (Clarksburg Robotics)
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clarksburg, Maryland
Posts: 41
chsrobotics3283 is an unknown quantity at this point
4 motors

What would you have to do if you want 4 motor controllers, with one joystick?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2010, 16:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,833
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: 4 motors

In Begin.vi do a
right-click-> Replace -> Robot Drive Palette
on "Drive - Open 2 Motors" to change it to "Drive - Open 4 Motors".

Then specify the 4 PWMs to be used.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-01-2010 at 16:55.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 21:02
chsrobotics3283's Avatar
chsrobotics3283 chsrobotics3283 is offline
Registered User
FRC #3283 (Clarksburg Robotics)
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clarksburg, Maryland
Posts: 41
chsrobotics3283 is an unknown quantity at this point
Re: 4 motors

Ok thanks a lot thats what I thought at first.
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2010, 00:28
Integral Integral is offline
Registered User
AKA: Ross
FRC #1130 (Robo Rebels)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Albany, Or
Posts: 22
Integral is an unknown quantity at this point
Re: 4 motors

The hardware option is to run 2 motor controllers via 1 PWM port and a PWM Y cable.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-01-2010, 20:46
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: 4 motors

Quote:
Originally Posted by Integral View Post
The hardware option is to run 2 motor controllers via 1 PWM port and a PWM Y cable.
I don't think this is permitted by rule <R49> "Each power-regulating device (speed controller or relay module) shall control one and only one electrical load (motor actuator or compressor)"

We are also trying to change the 2010 Game Robot Project to drive with four motors & we have changed to Tank Drive. We have replaced the"Drive - Open 2 Motors" to "Drive - Open 4 Motors", but the robot is only driving with the same two wheels it drove with using the "Drive- Open 2 motor".

Is there another step we need to complete because we have also changed to tank drive?

I've attached a copy of our Begin VI.

Can anyone advise?
Attached Thumbnails
Click image for larger version

Name:	4 motors.jpg
Views:	40
Size:	32.1 KB
ID:	8388  
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2010, 21:00
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: 4 motors

Quote:
Originally Posted by Integral View Post
The hardware option is to run 2 motor controllers via 1 PWM port and a PWM Y cable.
Quote:
Originally Posted by grosh View Post
I don't think this is permitted by rule <R49> "Each power-regulating device (speed controller or relay module) shall control one and only one electrical load (motor actuator or compressor)"
The Y cable connects one PWM output from the Digital Sidecar to two speed controllers. Each speed controller goes to a single motor; each motor comes from a single speed controller. <R49> is satisfied.

Quote:
We are also trying to change the 2010 Game Robot Project to drive with four motors & we have changed to Tank Drive. We have replaced the"Drive - Open 2 Motors" to "Drive - Open 4 Motors", but the robot is only driving with the same two wheels it drove with using the "Drive- Open 2 motor".

Is there another step we need to complete because we have also changed to tank drive?

I've attached a copy of our Begin VI.

Can anyone advise?
The vi you posted looks right. My first thought is that perhaps you're not deploying the code to run at startup, and the cRIO is still running what was last loaded successfully. You might try to run the Robot Main vi (using the white "run" arrow) and see if it works that way.
Reply With Quote
  #7   Spotlight this post!  
Unread 25-01-2010, 21:14
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: 4 motors

Thanks for the clarification! The wiring option will work. Thanks again
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2010, 14:37
Doc Wu's Avatar
Doc Wu Doc Wu is offline
Registered User
AKA: Al Gritzmacher
FRC #1507 (Warlocks)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Lockport NY
Posts: 207
Doc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant futureDoc Wu has a brilliant future
Re: 4 motors

The Y-cable PWM adapters come in the KOP. I have used them in two past years.

We had two motors on each gear box. We absolutely did not want them to do anything other than exactly the same thing. Using the Y-cable keeps the program simpler, saves a PWM output and prevents a code mistake from possibly running the motors in different directions.

Whether you use the Y-cable depends on whether you need independent control of each motor, or whether they will be always working together.

They can save you some coding and spare a PWM output at the expense of some flexibility. It won't save you a motor controller, because as stated perviously, you still need one for each motor. You can do this with either Victors or Jaguars. (Although I wouldn't mix them.)
__________________
-= Mentor Lockport Warlocks -=- Team 1507 =-
Amateur Radio Callsign: AE2T

2016 Robot Inspector - Fingerlakes, Pittsburgh
2015 Robot Inspector - Pittsburgh, Champs. Judge Observer - Champs
2014 Robot Inspector - Tech Valley, Fingerlakes, Buckeye, Championship
2013 Robot Inspector - Fingerlakes, Buckeye, Championship
2012 Robot Inspector - Fingerlakes, Buckeye, Championship - Website Evaluator - Fingerlakes, Buckeye, Championship
2011 Robot Inspector - Fingerlakes 2011 Safety Advisor - Fingerlakes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying motors for 2009 FRC motors Ramiro_T General Forum 2 22-03-2009 01:33
Motors, Motors, and More Motors 1033missions Motors 1 09-02-2006 18:46
Motors.. and more motors.. How many on your 2004 bot? OneAngryDaisy Motors 33 23-02-2004 00:46
Matching Drill Motors and Fischer-Price Motors archiver 2001 5 24-06-2002 00:51
F.P. Motors & gearbox for $12.50 Window Motors $19.50 archiver 2001 1 23-06-2002 23:05


All times are GMT -5. The time now is 22:44.

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