Go to Post “FIRST is your experience and you cannot let anyone else hinder what you can achieve.” - fuzzwaz [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 24-02-2013, 02:16
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
RGB (multi-colored) LED control?

How are multicolored RGB LED's normally controlled on-board a robot?

It seems like they have 4 pins (R/G/B/+) for controlling colors, but I'm not sure how you'd go about doing this on a robot.
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #2   Spotlight this post!  
Unread 24-02-2013, 02:34
dcarr's Avatar
dcarr dcarr is offline
#HoldStrong
AKA: David Carr
FRC #3309 (Friarbots)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2009
Location: Anaheim
Posts: 954
dcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond repute
Re: RGB (multi-colored) LED control?

Here is one solution...addressable through solenoid breakout

https://www.sparkfun.com/products/11272

We are just keeping it simple and low cost this year by using simple color-changing strips and setting the alliance color before the match.
__________________
Team 3309
2016 Los Angeles Chairman's Award Winner
2016 Orange County Regional Winner with 3476 & 6220
Team3309.org
Orange County Robotics Alliance
  #3   Spotlight this post!  
Unread 24-02-2013, 02:38
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
Re: RGB (multi-colored) LED control?

This may be something to look at, all the same concepts should apply.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
  #4   Spotlight this post!  
Unread 24-02-2013, 02:41
dcarr's Avatar
dcarr dcarr is offline
#HoldStrong
AKA: David Carr
FRC #3309 (Friarbots)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2009
Location: Anaheim
Posts: 954
dcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond reputedcarr has a reputation beyond repute
Re: RGB (multi-colored) LED control?

Once you're done, throw some in the kitchen or living room (I still need to get the brightness and colors just right, cell phone pics don't do it justice )
__________________
Team 3309
2016 Los Angeles Chairman's Award Winner
2016 Orange County Regional Winner with 3476 & 6220
Team3309.org
Orange County Robotics Alliance
  #5   Spotlight this post!  
Unread 24-02-2013, 02:53
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: RGB (multi-colored) LED control?

Quote:
Originally Posted by dcarr View Post
Here is one solution...addressable through solenoid breakout

https://www.sparkfun.com/products/11272

We are just keeping it simple and low cost this year by using simple color-changing strips and setting the alliance color before the match.
How do you use the solenoid breakout to control them?

Are you intending to have only strictly red or blue then, by setting red/blue to true and green to always false?
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #6   Spotlight this post!  
Unread 24-02-2013, 02:54
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: RGB (multi-colored) LED control?

The only colors we really want are red, blue, green, and white..

Which seems very feasible using your method, I believe. R/G/B all standard and white should be achieved by setting all three to true, correct?
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #7   Spotlight this post!  
Unread 24-02-2013, 04:38
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: RGB (multi-colored) LED control?

Note that there are two major types of LED strips -- both have a multicolor LED, but the simpler (and cheaper!) kind only does a single color for the whole strip, and the more complicated (and more expensive!) kind each LED is individually addressed. There are many places to get them; I get both types from adafruit.com, where they also have good tutorials on both types:

Analog RGB LED weatherproof flexi-strip 30 LED and tutorial
Analog RGB LED Weatherproof flexi-strip 60 LED (same tutorial as above)

Digital RGB LED Weatherproof Strip 32 LED and tutorial

Nirvash links to the Analog type; dcarr links to the Digital addressable type, though the kitchen is single colors and may be analog. It looks like that digital type is also an older six-pin type (adafruit says it doesn't sell it anymore, and the newer type is much simpler electrically and in programming).

The "analog" types have 4 wires: Red, Green, Blue, and power. This year we're using this type, and attach each color wire to a separate spike, and power to power board. (It can take 12 volts, but check the specs to be sure.) I don't remember right now how to program the solenoid though it is fairly simple. If you are just doing alliance colors (red and blue) it's two spikes, though my programmer says it may be possible with a single one. (We're using two, to be safe and sure!) The green I would solder a wire to the strip anyway, in case in the future you do want it, and just cap it with electrical tape.

You can also use an Arduino to run the analog strip, though it's overkill if you just want seven colors. I have (or rather had ) a controller from adafruit that could do different intensity levels, and I suppose the Arduino is the same way.

The "digital" addressable needs to be sent a series of bytes for each LED. I've done a 5 meter strip easily with different sections doing different things (alliance colors, chase lights, and a 10 bulb by 5 strip "panel"). It may be able to be done with the cRIO (I don't know), but last year we've used an Arduino board, which is also attached to the cRIO just to get a simple message each time to change the color pattern. (e.g., 1 for "all off", 2 for "shooting dots", 3 for "rainbow", etc. Arduino does all the grunt work.)

You get the 8 color combinations with the RGB (including all off). All on makes it white.

Last edited by Roger : 24-02-2013 at 10:44.
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


All times are GMT -5. The time now is 11:20.

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