Go to Post Programmers fuel: pure, unadulterated caffeinated beverages. - Mike [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-03-2008, 11:01
qpang qpang is offline
Registered User
no team
 
Join Date: Mar 2008
Location: mississippi
Posts: 19
qpang is an unknown quantity at this point
Question help --- drive other motors?

I'm able to drive my wheel motors using easy C Pro, the function block "Tank(), and it works fine. But when I try to use the same function to drive my other motors (used for the arm), it just doesn't work. Those motors for the arm are not the same model, but use the same voltage.
My question is whether there is a specific requirement (besides voltage) on the motors for the controller to be able to drive it?
  #2   Spotlight this post!  
Unread 15-03-2008, 15:31
Cow Bell Solo's Avatar
Cow Bell Solo Cow Bell Solo is offline
No Stolte No
AKA: Chris
FRC #2194 (Fondy Fire)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Minnesota
Posts: 381
Cow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the rough
Send a message via AIM to Cow Bell Solo Send a message via MSN to Cow Bell Solo Send a message via Yahoo to Cow Bell Solo
Re: help --- drive other motors?

I have not used Easy C, but here are my thoughts.

Are they connected to the correct PWMs?
Are supposed to be connected to Victors or Spikes?
Do you have the controller in the correct port on the OI?
Are they faulty wires you are using(bad PWM cable, shorted wire)?
Power connections are fully made and have contact?
Have a breaker and that it is not tripped?

Those are more of hardware issues and my thoughts. Hope it helps
__________________
Who let the Blue Smoke Out
Team 2194 Mentor - 2012-Present - http://fondyfire.com
Team 2207 Alumni - http://whitebearlakerobotics.com
Iowa FIRST LEGO League Planning Team Member - 2010-Present - http://www.isek.iastate.edu/fll
FIRST LEGO League volunteer - 2008-Present

2008: MN Regional Quarterfinalists, Website Excellence
2009: MN North Star Quarterfinalists, recognized for safety, Website Excellence
  #3   Spotlight this post!  
Unread 15-03-2008, 21:50
Jimmy Cao Jimmy Cao is offline
Registered User
AKA: Jimmy Cao
no team
 
Join Date: Sep 2006
Rookie Year: 2004
Location: San Francisco, CA
Posts: 295
Jimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant futureJimmy Cao has a brilliant future
Re: help --- drive other motors?

The "Tank" function, in my opinion, sets up drivetrain PWMs only. It takes two axis on joysticks, and sets them pwms (1-4 prob).

You need to use something more like pwm_xx (where xx is arm PWM) = p3_y (or something)

I dont use easy-C though, so i may be wrong.
__________________
Jimmy Cao

Team 469 2006-2010 Student/Alumni
Team 830 2011-2012 Mentor
  #4   Spotlight this post!  
Unread 16-03-2008, 14:27
Kev Kev is offline
The Greatest
FRC #0614 (Nighthawks)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Fairfax County
Posts: 16
Kev is an unknown quantity at this point
Send a message via AIM to Kev
Re: help --- drive other motors?

Tank() at my best guess would be something that controls a tank drive (and seeing as it's being passed no arguments, I don't know why you'd think it'd work for any and all PWM connections.)

since I have no idea where Tank() is called, make a new function called Arm() or something and have the pwmxx = p4_x or such.
__________________
  #5   Spotlight this post!  
Unread 16-03-2008, 20:55
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,800
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: help --- drive other motors?

Use "OI to PWM" to control a single motor.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-03-2008 at 20:59.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive Motors Joe_Widen Motors 23 26-05-2006 01:00
Drive Dave's Other Car Like You Stole It.......... JohnBoucher Chit-Chat 7 26-05-2004 19:44
Drive motors archiver 2000 3 24-06-2002 00:25
Globe Motors & other FIRST Suppliers at Design Show archiver 1999 2 23-06-2002 22:07


All times are GMT -5. The time now is 05:07.

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