|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||||
|
||||||
|
Re: Lights on Robot
Check out the Robot Feedback LED's on the Operator Interface. You can use these to signal your drivers that the robot is aligned (and no one on the other alliance has to know!).
You can use the RC to turn the Robot Feedback LED's on the OI on or off. The variables are already defined in the default MPLAB code. The variable names correspond to the descriptive labels printed on the Operator Interface: OI Port 1 LED Output Variables: Pwm1_green (Code: Pwm1_green = 1; //turns on the LED. 0 to turn off.) Pwm1_red Pwm2_green Pwm2_red OI Port 3 LED Output Variables: Relay1_green Relay1_red Relay2_green Relay2_red If you want to, you can build your own LED lights into a custom button box (example) and wire the LED's to LED output pins on OI Ports 1 and 3. These outputs will be controlled by the same custom RC code that turns the OI's Feedback LED's on and off. Check out the OI Reference Guide on ifirobotics.com for more information on how to do this: http://www.ifirobotics.com/oi.shtml http://www.ifirobotics.com/docs/oi-r...e-11-21-05.pdf We always go to Radio Shack and buy the LED modules with built-in resistors for use on our team's button box. They always work out well. Red wire to desired LED output; black wire to any available Ground pin. Last edited by Travis Hoffman : 11-01-2007 at 08:04. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lights? | Total Meltdown | Programming | 2 | 17-01-2006 00:35 |
| Flashing Red Robot Feedback Lights | zarf | Programming | 2 | 12-02-2005 16:01 |
| Pretty Lights... | archiver | 2001 | 1 | 24-06-2002 02:17 |
| Lights on our robot (in addition to the rotating light)... | archiver | 2001 | 1 | 24-06-2002 01:02 |
| is anyone wanting a lot of lights (decorative) on the robot? | archiver | 2001 | 5 | 24-06-2002 00:09 |