View Single Post
  #2   Spotlight this post!  
Unread 12-02-2007, 23:26
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: Remote Reset/Prog through DigOut/Relay

I installed a single wire between the PROG pin on the header and DIG17 (chosen because it was already set as an output). Since our program is based on Kevin's "Bells & Whistles" camera code, there's already a spot in the "slow loop" where it checks for a menu keypress on the program port. We added a test to detect a "p" and set the digital output to zero, which essentially causes the robot to press its own PROG button.

Since the computer has to be connected to the program port anyway in order to program the RC, this works perfectly. We do have to activate the terminal window manually from the Options menu when we first start the IFI Loader program, but we no longer have to call for a random student to stick his or her hand into the robot and press the button. Now if we could only get a wireless RS-232 converter to play nice with the IFI Loader protocol...