Go to Post I'm tired of quoting the manual for today so all I will say is "Try again". - Vikesrock [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 11-01-2007, 07:55
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
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.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner

Last edited by Travis Hoffman : 11-01-2007 at 08:04.
 


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

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


All times are GMT -5. The time now is 13:27.

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