Go to Post (Don't ask why a retired FIRSTer is on CD, it's a twelve step process kind of thing) - Matt Krass [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 20-04-2012, 00:50
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Inovation First FRC Robot Controller

I am trying to use the FRC-2008-RC robot controller to control another robot for testing purpose. The thing is i dont have any documentation at all.
I need to know what i need to program it and get it running and configured for a Tank drive robot configuration. At this time i will only have it control 2 Vex esc's for the drive control. Can someone help me out? Also, What utilities do i need to program it?

Thanks!
  #2   Spotlight this post!  
Unread 20-04-2012, 01:05
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Inovation First FRC Robot Controller

You need 5 things.

1) MPLAB - Download MPLABX from Microchip.com

2) C18 Lite Compiler - Also from Microchip.com, and on the same page as above.

3) Kevin Watson's Robot Code, mainly because it works with the above compiler and IDE.

4) IFI Loader (Website might be down?) IFI Loader 4VEX will NOT work.

5) Serial cable for programming.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #3   Spotlight this post!  
Unread 20-04-2012, 01:14
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

When i open the robot code folder i notice that there are many files, what do i change to configure how i use the joystics to operate the victors and which do i upload?
  #4   Spotlight this post!  
Unread 20-04-2012, 01:27
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Inovation First FRC Robot Controller

Quote:
Originally Posted by SeanPerez View Post
When i open the robot code folder i notice that there are many files, what do i change to configure how i use the joystics to operate the victors and which do i upload?
If you add this code to Teleop in teleop.c it should implement a basic tank drive:

Code:
pwm01 = p1_y; //Set PWM#1 to the value of the Y axis of joystick 1
pwm02 = p2_y;//Set PWM#2 to the value of the Y axis of joystick 2
Once you build there should be an "ifi_frc.hex" file in the directory with all of the files. Select that in IFILoader.
__________________
Eric Haskins KC9JVH
  #5   Spotlight this post!  
Unread 20-04-2012, 15:21
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

Alright

So i have finished installing:
MPLab
C18 Complier
IFIoaded

Now i need to know how to open and upload the code to it. can u please tell me how i would do this? how do i open the files in mplabx?

Also i need to know the wiring diagram of the programming cable because i do not have it.

Also if you can, can someone tell me the power supply ratings to the Driver station, operator interface, and robot controller.


Thanks


Sorry if i sound like a noob. like i said i have no documentation at all and even my robotics club has never used this in such a long times so i took on the challenge of getting it to work for a seperate robo build.
  #6   Spotlight this post!  
Unread 20-04-2012, 15:58
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Inovation First FRC Robot Controller

Quote:
Originally Posted by SeanPerez View Post
Now i need to know how to open and upload the code to it. can u please tell me how i would do this? how do i open the files in mplabx?
In the default code folder, there should be a .mcp file. This is the MPLAB project file. Open this. To download code, I think you go to Programmer->Build, and it will build the .hex file. Then, if you open IFI_LOADER, select the location of your hex file. Under the PortSettings Menu, select the COM port to which your RC is connected, and then hit "download".

Quote:
Originally Posted by SeanPerez View Post
Also i need to know the wiring diagram of the programming cable because i do not have it.
The programming cable is just a standard serial cable. Port pinout.

Quote:
Originally Posted by SeanPerez View Post
Also if you can, can someone tell me the power supply ratings to the Driver station, operator interface, and robot controller.
The driver station and the operator interface are the same thing. Some useful documents: RC Reference Guide, OI Reference Guide, Control System Overview, Control System Quick Start Guide.

Go to http://www.ifirobotics.com/ for more information, they still have a lot of their legacy documentation posted.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android

Last edited by plnyyanks : 21-04-2012 at 10:10.
  #7   Spotlight this post!  
Unread 20-04-2012, 17:13
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

for clarification on the programming cable, i connect the rx from the cable to tx on controller and tx from cable to rx on controller right?

Also, what is the wiring on the radio and tether cables?

Can i please get a wiring diagram of both of them?

Thanks
  #8   Spotlight this post!  
Unread 20-04-2012, 17:24
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 945
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Inovation First FRC Robot Controller

Quote:
Originally Posted by SeanPerez View Post
for clarification on the programming cable, i connect the rx from the cable to tx on controller and tx from cable to rx on controller right?

Also, what is the wiring on the radio and tether cables?

Can i please get a wiring diagram of both of them?

Thanks
They are all RS-232 cables.



If you have old IFI systems laying around you should have some of these somewhere.
  #9   Spotlight this post!  
Unread 20-04-2012, 17:40
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

for the radio i have tried a cable that i had and none of the lights lit up on the radio. i did plug the robot controller to the robot radio.
in the refrence guide it says to use a db9 male-female Pin to Pin cable. can someone give me a diagram for this pin to pin cable?

thanks
  #10   Spotlight this post!  
Unread 20-04-2012, 19:46
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

Would any one have the dashboard installer for this controller so i can read data from it?

Thanks
  #11   Spotlight this post!  
Unread 20-04-2012, 20:09
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Inovation First FRC Robot Controller

Quote:
Originally Posted by SeanPerez View Post
Would any one have the dashboard installer for this controller so i can read data from it?
I think this is what you're looking for.

Remember, if it relates to the IFI Control System, chances are, it can be found on http://www.ifirobotics.com
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #12   Spotlight this post!  
Unread 21-04-2012, 13:13
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,621
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Inovation First FRC Robot Controller

Quote:
Originally Posted by SeanPerez View Post
for the radio i have tried a cable that i had and none of the lights lit up on the radio. i did plug the robot controller to the robot radio.
in the refrence guide it says to use a db9 male-female Pin to Pin cable. can someone give me a diagram for this pin to pin cable?

thanks
Did you figure this out? You said you got the wiring, but on some of the IFI units I've see it's not straight through.
  #13   Spotlight this post!  
Unread 21-04-2012, 13:14
SeanPerez SeanPerez is offline
Registered User
FRC #2625 (Arc Reactor)
Team Role: Driver
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Mississauga
Posts: 45
SeanPerez is an unknown quantity at this point
Re: Inovation First FRC Robot Controller

yes i did
  #14   Spotlight this post!  
Unread 20-04-2012, 01:18
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Inovation First FRC Robot Controller

You'll need:
You should be able to install everything with the default settings. I'm not sure about C18 v3.x, but the older version had to be installed in a folder directly on a drive (i.e. c:\mcc18\ or there would be weird issues. If you use the default you should be safe, just don't change the install location.

Post back once you've gotten this far, we'll try to help with specific issues.
Attached Files
File Type: zip ifi-loader-v1-1-0.zip (4.12 MB, 13 views)
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 20-04-2012 at 01:22.
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 00:48.

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