Go to Post Remember, if FIRST is your top priority, you need to look at your priorities. - Billfred [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 09-02-2008, 21:48
Mr. Freeman Mr. Freeman is offline
Put better title here.
AKA: Kellan
no team (CSM Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Colorado
Posts: 198
Mr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to behold
Changing the team color flasher LEDs

The software mentor and a couple other members of my team were loading code onto the robot the other day and with some sequence of button presses and hitting the "download code button", they accidentally managed to make the team color LED flasher start flashing a test pattern which included green.
I searched and found this thread from over a year ago: http://www.chiefdelphi.com/forums/sh...+LED+co ntrol


I just wanted to know if there was a way to manually set the color of the team color flashers and if I could control whether they blink, how often, or if they're solid. I was also wondering if there's a white LED in the flasher as well.

Before anyone tells me this:
No, I don't plan on messing with the colors during the competition. Yes, I am aware that the team flashers are controlled automatically during the competition.

It's just that right now whenever we put the robot into disable mode, the flashers go solid red and I like blue or green better and it's bugging me.
__________________
"Time is an illusion, lunchtime doubly so."
-Douglas Adams
“Why is it that I can walk into Wal-Mart and buy boxes of bullets and black powder, but I can’t buy potassium perchlorate to do science because it can also be used to make explosives?”
-Theodore Gray
  #2   Spotlight this post!  
Unread 09-02-2008, 22:13
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Changing the team color flasher LEDs

It is not possible to control the team color light from the user code.

EDIT:
WARNING: I've never tried this, and it probably won't work.

You might be able to modify the LED so it is connected to the digital outputs, but you'd have to write your own code to control it.
__________________
Eric Haskins KC9JVH

Last edited by EHaskins : 09-02-2008 at 22:16.
  #3   Spotlight this post!  
Unread 09-02-2008, 22:36
fimmel's Avatar
fimmel fimmel is offline
Founding Mentor, Team 2370
AKA: Forest Immel
FRC #2370 (iBots 2370)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Castleton, Vermont
Posts: 325
fimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond reputefimmel has a reputation beyond repute
Re: Changing the team color flasher LEDs

if your willing to modify a LED package you can control it from the digital outputs. (beware that you probably cannot use a modified one in competition) but i have hooked them up to my computer for a light show (really simple with the parralell port)

basically what you need to know is that the 5 wires are as follows

Black - Ground
Red - Control of Red LED (it will work on +5 to +12vdc, it basically turns on a transistor)
Orange - Power (+12vdc)
Blue - Control of Blue LED (it will work on +5 to +12vdc, it basically turns on a transistor)
Green - Control of Green LED (it will work on +5 to +12vdc, it basically turns on a transistor)

so basically leave the black and orange wires intact and then connect the red blue and green wires to digital outputs to turn the led on. (thats how i did it with my computer but i tapped into my computer's power supply for the 12vdc and ground, the other wires i controlled with the parallel port)

let me know if you need help

also not all of the LED modules i have seen (past years included) have working greens but they all should have red and blue)


...forest
__________________



  #4   Spotlight this post!  
Unread 09-02-2008, 23:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,854
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Changing the team color flasher LEDs

The LED alliance color (red vs. blue) follows the radio channel you are broadcasting on. Using a different channel (I think it's 13 and 31) will get you blue at least.
The default channel 40 will blink both colors.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 09-02-2008 at 23:18.
  #5   Spotlight this post!  
Unread 10-02-2008, 04:10
Mr. Freeman Mr. Freeman is offline
Put better title here.
AKA: Kellan
no team (CSM Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Colorado
Posts: 198
Mr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to behold
Re: Changing the team color flasher LEDs

Thanks for all of the advice. I'll try this out sometime in the next week. I might not be able to get to it for a couple days because we're trying to reserve this next week for drive practice.

One of our mentors expressed concern that wiring the DI/O to the red/blue/green wires of the team flasher cable might fry a circuit in the RC. He said this would be even worse if the team flasher ports on the RC used a different ground than the DI/O ports.

We haven't ever used the DI/O ports as outputs before so correct me if I'm wrong, but when you turn a DI/O output "on", you're applying +5V to the signal pin, correct? Does anyone know if connecting this to the team color lights (the red/blue/green wires) will draw more than the 7mA max for those pins as specified here?: http://www.ifirobotics.com/rc.shtml#Specifications

If not then I plan to hook a bench supply to the orange/black wires to provide 12V, and use the meter on a second power supply to see how much current is drawn while using it to apply +5v to the red/green/blue wires.
Will this work? I haven't had any real experience working with electronics, so I'm not sure if I'm missing something here.
__________________
"Time is an illusion, lunchtime doubly so."
-Douglas Adams
“Why is it that I can walk into Wal-Mart and buy boxes of bullets and black powder, but I can’t buy potassium perchlorate to do science because it can also be used to make explosives?”
-Theodore Gray
  #6   Spotlight this post!  
Unread 10-02-2008, 09:50
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Changing the team color flasher LEDs

I seem to remember something...(OMG what a shocker... )

Unplug the team color cable; rotate it 180 degrees (so left is right and right is left). Reconnect it.

I seem to remember green being a sign that the connection is reversed.

Something to check before getting overly complicated...

JBot
__________________
Aren't signatures a bit outdated?
  #7   Spotlight this post!  
Unread 05-03-2008, 15:39
ZInventor's Avatar
ZInventor ZInventor is offline
Registered User
AKA: Zeno Le Héricy
FRC #2915 (Riverdale Robotics Pandamonium)
Team Role: Alumni
 
Join Date: Feb 2008
Rookie Year: 2000
Location: Portland Oregon USA
Posts: 247
ZInventor is just really niceZInventor is just really niceZInventor is just really niceZInventor is just really nice
Re: Changing the team color flasher LEDs

is it possible to control the color via competition dongle, if so, which pins do you use?
__________________
[center]
  #8   Spotlight this post!  
Unread 05-03-2008, 19:19
mtaman02's Avatar
mtaman02 mtaman02 is offline
FIRST's Spare, Queuer & Tech guy =)
AKA: Mike M. / Mouse =)
no team (FRC Volunteer)
Team Role: Alumni
 
Join Date: Jun 2002
Rookie Year: 2001
Location: Staten Island, NYC
Posts: 1,504
mtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant futuremtaman02 has a brilliant future
Send a message via AIM to mtaman02 Send a message via Yahoo to mtaman02
Re: Changing the team color flasher LEDs

Competition LED's to my knowledge can ONLY be controlled by the OI/RC / Arena Controller and is set by the channel you use whether in stand-a-lone (meaning at your school or where ever other then competition) or in competition use. I don't think you can alter which LED's you can use and how often they blink since they are used for IFI troubleshooting purposes as well as determining which side of the alliance your on.

There is a third LED (green) but it only flashes if you mistakenly dis-connect one of the joysticks w/o powering down the OI/RC - I kind of found this out through a friend stumbling across this kind of scenario. I believe this LED will also flash if the LED's itself aren't connected the right way but I'm not sure.

I would highly suggest contacting IFI before trying anything with the LED's and the OI/RC b/c I don't think this is something you can alter/change.
__________________
Past FIRST Robotics Events that I proudly volunteered at:
FLL: NY State Competition '03
FRC: NYC Remote Kickoff '04 & NYC Regionals '04-'15 ,'10-'13 & NJ Regionals '06-'10, Finger Lakes Regional '09 & SBPLI Regional '08-'15 and the World Championship in '05 (Galileo Field) '07 (Newton Field) '09 (Practice Fields Attendant / FTA(A)), CeBIT Convention in '04 & NextFEST in '06 both held @ the Javitts Center, Monty Madness '07-'10, Panda-monium '08, B.Eruption '08 & '09, Ramp Riot '08, PARC '09 & '10, BR^2 '09 & Wol. Inv. '09 -'15
2015 FIRST Robotics Off Season Events that I hope to volunteer at:
Where is Wolcott Invitational
2015 FIRST Robotics Events that I will be volunteering at:
SBPLI Reg. & Championships
Volunteer Resume:
Alt & Lead Team Queuer, Field Repair/Reset, Field Setup/Breakdown, Spare Parts Attendant, Field Power Controller/Score Keeper, Co-Emcee & Official Scorer, Control System Advisor, FIRST Tech Advisor Assistant & recently Practice Field Attendant.
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
led flasher team1203 4life Kit & Additional Hardware 8 12-01-2008 15:54
Changing tracked color Guy_E Programming 7 28-12-2006 12:12
changing vertex color kcy88 3D Animation and Competition 2 29-02-2004 11:47


All times are GMT -5. The time now is 19:06.

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