Go to Post We need to train teams from the very beginning to become self-sustaining... so we can offer a full experience to FIRST students... - Bob Steele [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-11-2016, 06:36 PM
TehSwegGey TehSwegGey is offline
Registered User
no team
 
Join Date: Apr 2016
Location: United States, Earth, Solar System
Posts: 15
TehSwegGey is an unknown quantity at this point
Robot RGB LEDs

Just a general question, what types / brands of RGB lights does you team use for underglow / robot glow? We tried using 5050 rgbs this year, but had a lot of trouble with soldering due to the fact that the terminal pads on the cut-strips were really thin and broke off too easily (and we would get things that would go wrong and the color would change halfway through the strip or randomly in the middle on one unit).

I want to get some LEDs running (preferably off the roboRIO or an Arduino), so if anyone has any suggestions on what types to get for this purpose, I would be greatful
Reply With Quote
  #2   Spotlight this post!  
Unread 05-11-2016, 06:39 PM
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 293
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Robot RGB LEDs

I personally like the Adafruit brand NeoPixels. Lots of supports, but they use standard WS8212 LED drivers on each. Never used them on a competition robot, but I find them wonderful for home projects and some little projects here there for the robot.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #3   Spotlight this post!  
Unread 05-11-2016, 06:53 PM
TehSwegGey TehSwegGey is offline
Registered User
no team
 
Join Date: Apr 2016
Location: United States, Earth, Solar System
Posts: 15
TehSwegGey is an unknown quantity at this point
Re: Robot RGB LEDs

Quote:
Originally Posted by Bkeeneykid View Post
I personally like the Adafruit brand NeoPixels. Lots of supports, but they use standard WS8212 LED drivers on each. Never used them on a competition robot, but I find them wonderful for home projects and some little projects here there for the robot.
Thanks, those look like they are definitely more heavy duty than the 5050, and only require 1 Arduino pin to control (and are individually addressable, so yeah) Thanks! I'll look in to using them more next season.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-11-2016, 07:57 PM
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Robot RGB LEDs

Quote:
Originally Posted by Bkeeneykid View Post
I personally like the Adafruit brand NeoPixels. Lots of supports, but they use standard WS8212 LED drivers on each. Never used them on a competition robot, but I find them wonderful for home projects and some little projects here there for the robot.
I second these. They're also pretty darn bright; we used them in our LED ring for vision tracking
__________________
Head Programmer / Driver
Reply With Quote
  #5   Spotlight this post!  
Unread 05-11-2016, 08:06 PM
gerthworm's Avatar
gerthworm gerthworm is online now
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 56
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Re: Robot RGB LEDs

Adafruit DotStar Led's. Worked plenty well for us. They have arduino libraries on their website, and here's our roboRIO java driver for them: link

To be honest, next year I'd like to use an arduino to drive them just to not soak up processor time on our main controller. However, having controlled from the RIO made it easy to tie the colors to different events on the robot (ex: ball in intake).

Other side note - a strand of 60 or so can soak up over 3 Amps at full brightness- more than some of the voltage regulator outputs can handle. Just something to plan for if you have tons of LED's.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-11-2016, 11:22 PM
evanperryg's Avatar
evanperryg evanperryg is offline
IT'S THE BUMP N' DUMP
AKA: Evan Grove
FRC #4536 (The Minutebots)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2011
Location: Minneapolis, MN
Posts: 644
evanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond reputeevanperryg has a reputation beyond repute
Re: Robot RGB LEDs

We've done some stuff with the Andymark WS8201 strips. The nice thing is that they're crazy cheap, compared to neopixels or other lights like them. The only problem is that you basically have to check an ancient history textbook to find code for them. I'm not sure where it would be, but if this sounds like an option you'd be interested in, I have some nice example code somewhere that adds a lot more functionality to the rather simple Arduino WS8201 library.
__________________
FRCDesigns Contributor | "There is only one corner of the universe you can be certain of improving, and that's your own self." -Aldous Huxley
2012-2016 | FRC Team 2338: Gear it Forward
2013
Wisconsin Regional Winner 2014 Midwest Regional Finalist 2015 Midwest Regional Chairman's Award, Finalist, Archimedes Division Champion, IRI Semifinalist 2016 Midwest Regional Chairman's Award, Finalist, Archimedes Division Gracious Professionalism Award, R2OC Winner
2015 | FTC Team 10266: Mach Speed
2015
Highland Park Qualifier Winner, Motivate Award
2017-???? | FRC Team 4536: The Minutebots

Thanks to the alliances and friends I've made along the way: 33 74 107 111 167 171 234 548 1023 1089 1323 1625 1675 1732 1756 2064 2077 2122 2202 2358 2451 2512 2826 3936 3996 4039 4085 4241 5006 5401 5568 5847 5934
Reply With Quote
  #7   Spotlight this post!  
Unread 05-12-2016, 11:17 AM
jweston's Avatar
jweston jweston is offline
Registered User
FRC #1124 (The Überbots)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Avon, CT
Posts: 71
jweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to beholdjweston is a splendid one to behold
Re: Robot RGB LEDs

We did RGB LEDs last year and had some fun with them as indicators on our lift and to indicate our alliance color on the drive train.
https://www.youtube.com/watch?v=vmCKHJGC6jU

The LEDs were driven by an Arduino Leonardo that was powered off of USB plugged into the roborio and communicated over I2C. The Arduino sketch was written with the help of FastLED and elapsedMillis for non-blocking delay.

To break it down, you're interested in:
* length of strip and number of LEDs
Gives you a sense of pixel density. We used 5m, 300 LEDs.

* #### LED
This number indicates the size of the LED. For instance, a 5050 is 5.0mm x 5.0mm. A 3528 is 3.5mm x 2.8mm. The larger the area of the LED, the larger the power draw and the more light it can put out.

* addressable vs non-addressable
Addressable means you can control the colors of the lights independently. Non-addressable means you can only set one color for the whole strip. Strips sometimes indicate a code such as WS2811, WS2812 or LDP8806. This indicates the type of microcontroller used, so it's usually a good indication that the lights are individually addressable. Just make sure you know what you're getting.

* waterproof/sealed vs bare
Waterproof or sealed typically means the strip comes in a form-fitting silicone sleeve. The sleeve can be removed but getting the strip in and out can be a real pain unless you slit the sleeve. The sleeve does act as a nice diffuser but if it's silicone, it can provide it's own challenges to installing securely. I don't recommend allowing the strip to move when the robot is in motion. It puts a lot of strain on the LED connections which can break easily. Resoldering those connections can become quite the chore if you choose to keep it in the silicone sleeve.

* cut lines
If you plan to cut the strip, make sure that it says it has cut-lines/solderpads between lights. Most do. It's important to check how many lights are between cuts since this can vary. Some will cut between every light but some cut every X lights or every N inches.

Edit:
Forgot the whole reason for posting...

We used Newstyle LEDs bought from Amazon:
http://www.amazon.com/NEWSTYLE-Progr.../dp/B00MHUK83K

They were ok but they were prone to breakage, requiring frequent re-soldering. This may have been in part due to the way they were used. The ones on the lift were tacked on by the silicon with no individual support for each light. Gravity and motion may have been main culprits for our frequent need to re-solder. The strips mounted horizontally on the drive train never required any repair.

The mentor who obtained them for us removed them from the silicon, soldered, and replaced the casing before giving them to us, so I couldn't tell you how they were upon delivery.

Last edited by jweston : 05-12-2016 at 03:14 PM.
Reply With Quote
  #8   Spotlight this post!  
Unread 05-12-2016, 11:31 AM
Jim Zondag's Avatar
Jim Zondag Jim Zondag is offline
Team Leader
FRC #0033 (Killer Bees)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1997
Location: Auburn Hills
Posts: 317
Jim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond reputeJim Zondag has a reputation beyond repute
Re: Robot RGB LEDs

Quote:
Originally Posted by gerthworm View Post
To be honest, next year I'd like to use an arduino to drive them just to not soak up processor time on our main controller.

https://learn.adafruit.com/introduci...t/introduction

I use an Arduino Trinket ($7) to drive Adafruit Neopixel arrays.
I use DIO ports from the MXP interface to set the various states for the lights.
This is low cost, nearly weight free, and allows someone to develop all of the lighting states and effects in parallel without needing a Roborio. Works great.
__________________
"To learn what is possible, we must attempt the impossible." Arthur C. Clarke
Reply With Quote
  #9   Spotlight this post!  
Unread 05-12-2016, 01:17 PM
TehSwegGey TehSwegGey is offline
Registered User
no team
 
Join Date: Apr 2016
Location: United States, Earth, Solar System
Posts: 15
TehSwegGey is an unknown quantity at this point
Re: Robot RGB LEDs

I bought a strip of Neopixels. We'll see how much better they work than the 5050s
Reply With Quote
  #10   Spotlight this post!  
Unread 05-12-2016, 08:18 PM
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 265
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: Robot RGB LEDs

We used generic APA102 LEDs this year, but they were never used at competition since there was a shot along the path and we couldn't fix it.
Reply With Quote
  #11   Spotlight this post!  
Unread 05-15-2016, 09:25 AM
snekiam snekiam is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2010
Location: SE Michigan
Posts: 84
snekiam has a spectacular aura aboutsnekiam has a spectacular aura aboutsnekiam has a spectacular aura about
Re: Robot RGB LEDs

In 2014 and 2015 we used neopixel LEDs on our robot powered by an arduino, with a separate voltage regulator spliced in. A power saving tip though: If you set them to full white, they will use an extraordinary amount of power. Try to avoid this if you can.
Reply With Quote
  #12   Spotlight this post!  
Unread 05-18-2016, 05:26 PM
Breadbocks Breadbocks is offline
Registered User
FRC #1002
 
Join Date: Oct 2013
Location: United States
Posts: 39
Breadbocks is on a distinguished road
Re: Robot RGB LEDs

I have a long post discussing various addressable LED strips somewhere in my post history, I'll see if I can dig it up. But I will say, regardless of what you decide to use, don't order from a US dealer like Adafruit unless you absolutely need it within a week. You pay an enormous markup to not wait.

From previous posts:
Quote:
WS2812 (branded by Adafruit as "Neopixel") and LPD8803/LPD8806. These are the chips which allow your LEDs to be addressed individually. Regular single-color or RGB strips don't have these, and they're part of why addressable strips are so much more expensive.

WS2812 are cheaper and more compact. They place a tiny little control chip inside of the LED module which takes the signal in the wire, instead of going directly to the LEDs. They function through a +5v wire, a data wire, and a ground wire going in and out of each chip. The way data is sent to them is a little funky, because it's incredibly clock dependent with no way to mitigate problems, beyond breaking strips up. You will need a separate full-fledged arduino just for driving them, to ensure your clock isn't off.

[Technical Stuff] They transmit signals by having logic highs and logic lows with different square pulse lengths, rather than anything sane. They transmit the full number of one color for the whole line, 8 bits per color per LED on the strip, then the next full set of color data, then the last. Each chip takes its 24 bits off the front of the signal line, then passes the rest on to the next chip. It goes this way until it gets to the end of the line, where bad things happen if the number of bits doesn't add up to the number of chips. Then, it transmits a 50 microsecond reset pulse and starts over again, with potentially different values. This effectively makes it very, very sensitive to being even a tiny bit off on clock speed.

LPD8803 or LPD8806 strips work a bit different. The chips are actually separate from the LEDs, and are significantly more reliable, but cost way more and look a little funny up close because you have random black rectangles on your light strip. The 8803 vs 8806 thing is just the number of LEDs it can support, either 1 or 2 per chip. The upside to the huge price jump is that they're significantly smarter. They get 4 wires in and out. V+, GND, and then a Data and Clock wire. They're standard serial interface, which means they may be more workable on a RoboRio-based solution.

The big tradeoff between the two is reliability vs cost.
To add on since the price has come down into reasonable range, APA102 is another addressable chip that is substantially newer. It's branded by Adafruit as DotStar, and they're basically the best of both worlds, unless you absolutely 100% need only 1 wire for signal, and it comes at a substantially higher cost, at least $10-15/m of low LED count strip. With that said, the chips are embedded into the 5050s so they're not visible like LPD8803s, and they have a clock wire so they don't need super particular timings like WS2812s.

Last edited by Breadbocks : 05-18-2016 at 05:32 PM.
Reply With Quote
Reply


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 09:10 AM.

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