Go to Post If a team wants to cheat then it does nothing but give them a bad cloud hanging over their own heads. - Jon K. [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 06-03-2013, 14:01
jrodprogramming jrodprogramming is offline
Registered User
FRC #3521
 
Join Date: Aug 2012
Location: California
Posts: 5
jrodprogramming is an unknown quantity at this point
Using VEX Cortex to control FRC Robot help

Hi.
We read the thread about using VEX Cortex to control an FRC bot that was written some time last season. I am currently slightly confused as to how exactly the cortex should be connected to a Victor speed controller. I had it connected to the Digital Output using a male to male PWM cable and am running the Cortex itself off of a battery pack. I'm not sure what I'm doing wrong, but currently the Victor light still does not stabilize and continues to blink. Anyone know how to achieve this? (We're using this for our test robot while our other one is bagged).
  #2   Spotlight this post!  
Unread 06-03-2013, 14:11
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Using VEX Cortex to control FRC Robot help

Try connecting to one of the Motor ports.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
  #3   Spotlight this post!  
Unread 06-03-2013, 14:15
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Using VEX Cortex to control FRC Robot help

Plug the PWM wire into one of the 8x three-wire Motor ports, and it should functionally exactly the same as a regular VEX motor.

You may have to recalibrate the Victor to the Cortex PWM output values to ensure the Victor operates over the full output range.
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #4   Spotlight this post!  
Unread 06-03-2013, 16:01
eddie12390's Avatar
eddie12390 eddie12390 is offline
Registered User
AKA: Eddie
FRC #3260 (SHARP)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Pittsburgh
Posts: 285
eddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of lighteddie12390 is a glorious beacon of light
Re: Using VEX Cortex to control FRC Robot help

Quote:
Originally Posted by jrodprogramming View Post
Hi.
We read the thread about using VEX Cortex to control an FRC bot that was written some time last season. I am currently slightly confused as to how exactly the cortex should be connected to a Victor speed controller. I had it connected to the Digital Output using a male to male PWM cable and am running the Cortex itself off of a battery pack. I'm not sure what I'm doing wrong, but currently the Victor light still does not stabilize and continues to blink. Anyone know how to achieve this? (We're using this for our test robot while our other one is bagged).
As the post above mine said, use a PWM cable to connect to one of the motor ports (2-9, 1 and 10 will not work) and make sure that it is plugged in correctly. If memory serves, it is signal (white) on the inside and ground (black) on the outside. The motor can then be programmed using RobotC/EasyC as it normally would be with the VEX system.
__________________
Any post that I make expresses only my opinions. I do not represent the opinions of my team or of any entity affiliated with my team.

As a Mentor:
2016 - Engineering Inspiration at Greater Pittsburgh Regional

As a Driver:
2014 - Winner of Greater Pittsburgh Regional
  #5   Spotlight this post!  
Unread 08-03-2013, 12:59
jrodprogramming jrodprogramming is offline
Registered User
FRC #3521
 
Join Date: Aug 2012
Location: California
Posts: 5
jrodprogramming is an unknown quantity at this point
Re: Using VEX Cortex to control FRC Robot help

Do I need a jumper? I don't usually work with Cortex so I'm not sure exactly how it should be hooked up; I thought I didn't need a jumper but now I'm not sure. I tried the wires both directions, moved the ports, etc...the light on the Victor refuses to stabilize at all. I'm running the Cortex off the battery pack to avoid severing some wires to attach it to our power distribution board, does that matter?
  #6   Spotlight this post!  
Unread 08-03-2013, 13:02
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Using VEX Cortex to control FRC Robot help

It's also important to ensure you're sending the Vic a signal within the code.
  #7   Spotlight this post!  
Unread 08-03-2013, 14:02
jrodprogramming jrodprogramming is offline
Registered User
FRC #3521
 
Join Date: Aug 2012
Location: California
Posts: 5
jrodprogramming is an unknown quantity at this point
Re: Using VEX Cortex to control FRC Robot help

Update: Got the cortex working, thanks for all the help!
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 03:11.

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