![]() |
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! |
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. |
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?
|
Re: Inovation First FRC Robot Controller
1 Attachment(s)
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. |
Re: Inovation First FRC Robot Controller
Quote:
Code:
pwm01 = p1_y; //Set PWM#1 to the value of the Y axis of joystick 1 |
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. |
Re: Inovation First FRC Robot Controller
Quote:
Quote:
Quote:
Go to http://www.ifirobotics.com/ for more information, they still have a lot of their legacy documentation posted. |
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 |
Re: Inovation First FRC Robot Controller
Quote:
![]() If you have old IFI systems laying around you should have some of these somewhere. |
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 |
Re: Inovation First FRC Robot Controller
Would any one have the dashboard installer for this controller so i can read data from it?
Thanks |
Re: Inovation First FRC Robot Controller
Quote:
Remember, if it relates to the IFI Control System, chances are, it can be found on http://www.ifirobotics.com |
Re: Inovation First FRC Robot Controller
Thanks!
|
Re: Inovation First FRC Robot Controller
ok so i have got all the wiring finished and turned it on and it works. They can comunicate between both the OI and RC.
I have also installed these: •MPLab http://www.microchip.com/pagehandler...family/mplabx/ •C18 compiler. http://www.microchip.com/stellent/id...ame =en010014 •IFILoaded, attached since the site appears to be done or gone. It would normally be at www.ifirobotics.com •Sample code. Since you'll be using C18 v3.x, the IFI default code won't work, so you'll need to use Kevin Watson's version. ifi_frc_simple.zip from http://kevin.org/frc/ •You should only have to modify code in teleop.c. Can someone help me configure my settings in mplab so that i can build it properly? Also what file do i open to open the project in mplab. Just some info: MPLAB X IDE v1.10 MPLABC18 v3.4 IFI LOADER V1-1-0 im using the code ifi_frc_simple.zip from http://kevin.org/frc/ Thanks |
Re: Inovation First FRC Robot Controller
Quote:
The settings you'll have to make are found under: Project -> Build Options -> ProjectYou might have to choose Suite Defaults, to reset everything. Make sure these paths are both assigned correctly:
Do you have a serial port (to transfer the program) on your computer or a USB-to-serial converter? |
| All times are GMT -5. The time now is 01:38. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi