Thread: RGB LED Lights
View Single Post
  #5   Spotlight this post!  
Unread 22-12-2016, 09:54
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,468
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: RGB LED Lights

Quote:
Originally Posted by ABreyen View Post
Hey CD! Our team bought these RGB LED Light Strips from AndyMark. Has anyone worked with something like a Raspberry Pi or Arduino to control them? I'm guessing the GPIO Pins on the rPi would work somehow? We might have to convert the 12V LEDs to 5V or something?

Also, is it possible to use the RoboRio to display the Alliance Color if we used these on the robot? I've heard that using a co-processor like a rPi or Arduino is illegal. If this isn't possible, how do teams use LEDs on their robot?

We were possibly thinking of somehow using our DriverStation to provide 5V Power on our control board. Would this be possible if we used a 5V -> 12V converter? On the board is where we probably would use a Raspberry Pi or Arduino.

Thank you!!
Hi, Billfred from AndyMark. Let's tackle a few things in no particular order:
  • The prohibitions on Raspberry Pi or Arduino boards is in FIRST Tech Challenge, not the FIRST Robotics Competition. We brought these LEDs to market in particular because you could just hook up 12V and go.
  • These LEDs aren't individually addressable--they all show the same color, based on the voltages applied.
  • You could try to convert 5V to 12V, but I would highly recommend using a separate battery pack for driver station lights. Any unnecessary electrical loads on the Driver Station, to me as a mentor and coach, is tempting fate.
  • If you just want red, green, or blue, it's just a matter of grounding that channel by wiring them straight in the PDP. Purple? Ground red and blue. White? Ground all three. For more precise mixing, you'd need a controller or a bunch of resistors. Speed controllers would work, or one of the thousands of off-the-shelf LED controllers if it met (or was made to meet) the no-wireless-communication rule.
  • As always, read the electrical rules and the custom circuit rules in particular next year to make sure your application is compliant.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote