Go to Post By inviting engineers and mentors to be a part of your team and partnering with them...brings added value, depth, strength, expertise, and wisdom to the team and to the overall experience. - JaneYoung [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-03-2004, 22:46
Andrew Andrew is offline
Registered User
#0356
 
Join Date: May 2002
Location: Little Rock, AR
Posts: 393
Andrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to all
Operator Interface LED Drivers

Has anyone programmed the OI LED drivers in the new RC?

In the old OI/RC combo, the LED drivers were tied to outputs 12, 13, 14, and 15. Despite the documentation saying that pwm1_red, etc. are the output drivers, those drivers are only tied to the blinking lights on the OI itself and do not drive the four drivers available on ports 2 & 4.

If anyone has figured this out for the new RC, I would appreciate knowing what variable connects to these drivers.
  #2   Spotlight this post!  
Unread 14-03-2004, 22:56
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
Re: Operator Interface LED Drivers

Quote:
Originally Posted by Andrew
Has anyone programmed the OI LED drivers in the new RC?

In the old OI/RC combo, the LED drivers were tied to outputs 12, 13, 14, and 15. Despite the documentation saying that pwm1_red, etc. are the output drivers, those drivers are only tied to the blinking lights on the OI itself and do not drive the four drivers available on ports 2 & 4.

If anyone has figured this out for the new RC, I would appreciate knowing what variable connects to these drivers.
from page 10 of the 2004 rc manual from ifi;

Quote:
In general, the user cannot control the team color, because it is set by the Arena Controller during competition.
Also i saw it somewheres else saying its not allowable to controll the flash rate or color of the led displays.
__________________
#5

-Michael Dessingue
  #3   Spotlight this post!  
Unread 14-03-2004, 23:03
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Operator Interface LED Drivers

Quote:
Originally Posted by Andrew
Despite the documentation saying that pwm1_red, etc. are the output drivers, those drivers are only tied to the blinking lights on the OI itself and do not drive the four drivers available on ports 2 & 4.
The documentation says that the LED drivers are on pins 15, 8, 9, and 5 of Ports 1 & 3 (not 2 & 4). I use them and they work (LEDs on these pins mimic the lights on the OI). [EDIT] Just set the corresponding variables mentioned in the document to 1 or 0. [/EDIT]
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 14-03-2004 at 23:10.
  #4   Spotlight this post!  
Unread 14-03-2004, 23:05
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Operator Interface LED Drivers

Dez, he is refering to the LEDs on the Operator Interface, which are completely seperate from the team color LEDs on the Robot controller that you refered to.
  #5   Spotlight this post!  
Unread 15-03-2004, 06:07
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Operator Interface LED Drivers

Yes, they are very easy to use. As was stated early, to turn on, set the one you want to 1 and to turn off set it to 0.
__________________

  #6   Spotlight this post!  
Unread 15-03-2004, 06:39
mattf mattf is offline
Registered User
#0168 (The Flashbacks)
Team Role: Programmer
 
Join Date: Apr 2003
Location: Miami
Posts: 27
mattf is on a distinguished road
Send a message via AIM to mattf
Re: Operator Interface LED Drivers

they are indeed very easy to use; however, there is a bug in the documentation. the led's mimic the relay lights, so use Relay1_green, Relay2_red, etc.
__________________
2004 UCF Quarterfinalists! (168, 79, 710)
2003 UCF Regional Champions! (212, 168, 108)
  #7   Spotlight this post!  
Unread 15-03-2004, 07:02
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Operator Interface LED Drivers

Quote:
Originally Posted by mattf
they are indeed very easy to use; however, there is a bug in the documentation. the led's mimic the relay lights, so use Relay1_green, Relay2_red, etc.
If you are refering to the fact that it says the PWMs, they do both. Port 3's pins are controlled by the RelayX_green etc. while port 1's pins are controlled by the pwm LED names (don't remeber them right now. )
__________________

  #8   Spotlight this post!  
Unread 15-03-2004, 11:27
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Operator Interface LED Drivers

I use the default code doc because it's got tables for each port. I believe they are the same as the LEDs on the OI itself.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a beacon indicator LED burn its brightest without burning out DanL Electrical 7 26-01-2004 08:05
Help On Coding 2K1 Controller GregTheGreat Programming 9 05-12-2003 18:35
2003 IRI: A driver's last hurrah or a new rookie driver's experience? Amanda Morrison Off-Season Events 14 23-05-2003 17:39
LED colors archiver 2001 1 24-06-2002 00:04
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59


All times are GMT -5. The time now is 01:55.

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