Go to Post unless your team is incredibly beastly, completely ignore the words "cool factor". Coolness does not outweigh functionality. - Sam N. [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 15-02-2015, 17:09
JustPlyZ's Avatar
JustPlyZ JustPlyZ is offline
ZipTies are life.
AKA: Andrew Tran
FRC #3571 (Milton Mustangs)
Team Role: Mechanical
 
Join Date: Mar 2014
Rookie Year: 2013
Location: Milton Ontario
Posts: 48
JustPlyZ has a spectacular aura aboutJustPlyZ has a spectacular aura aboutJustPlyZ has a spectacular aura about
Questions with LEDS

With our team this year, we are trying to get into the whole trend with adding led's on our bot.
We also think it would be a cool project to be doing while we wait to compete in our first competition.

We are asking any teams that have LEDS this year or previous years, which LEDs did you guys like the most and which are easier to program.

Also how are you/how did you guys program the LEDs.
  #2   Spotlight this post!  
Unread 15-02-2015, 17:30
dc74089's Avatar
dc74089 dc74089 is offline
Control Systems Lead
AKA: Dominic
FRC #1902 (Exploding Bacon)
Team Role: Programmer
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Orlando
Posts: 25
dc74089 will become famous soon enough
Re: Questions with LEDS

This year we're using a Rev Robotics RIOduino to control some WS2801 LEDs. The advantage of the WS2801s is that they are individually addressable (you can control the color and intensity of every individual pixel separately, instead of control of the entire strip at once).

You can find multiple LED strips that use the WS2801 driver strips, but here is a link to a roll with good reviews on amazon, and here is the link to a library that lets you easily control them with the RIOduino, or any Arduino compatible board for that matter.

Another option is to use non-addressable LEDs like these (which only let you choose the color of the entire strip as a whole with the advantage of being about 1/3rd of the price). To control these you need some components that you can pick up at a Radio Shack.

Good luck, these sort of lights are a hobby of mine so feel free to PM me with any questions you might have!
__________________
-Dominic
Think big. Think smart. Think different.

FLL - Nerdvana (2011-12)
FTC - Nerdvana/Clockwork Mania 6379 (2012-13), Team HazMat 9277 (2014-?)
FRC - Clockwork Mania 4013 (2014), Exploding Bacon 1902 (2015-?)

Last edited by dc74089 : 15-02-2015 at 17:55. Reason: DM --> PM because Chief Delphi
  #3   Spotlight this post!  
Unread 15-02-2015, 17:40
FRC2501's Avatar
FRC2501 FRC2501 is offline
Registered User
FRC #2501 (Bionic Poalrs)
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Minnesota
Posts: 52
FRC2501 is an unknown quantity at this point
Re: Questions with LEDS

We use Adafruit Neopixels (http://www.adafruit.com/products/1461). We use an Arduino Uno to control them, and they are very easy to use (source code can be found on the product page). They run off a 5V power supply, so we are using the old 12V-5V power converter from last year's electronics (and it is legal to use, as long as you follow the Custom Electronics rules R30, R44).
  #4   Spotlight this post!  
Unread 15-02-2015, 18:19
ElProgramador ElProgramador is offline
Lead Programmer/Electrical
AKA: Josh
FRC #5541 (Saber Robotics)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Shakopee Minnesota
Posts: 1
ElProgramador is an unknown quantity at this point
Re: Questions with LEDS

We are looking at putting LEDs on our robot as well. Would using these and this switch connected to the 12V power distribution board and either color switched on depending on what side we are on for each match be legal?
  #5   Spotlight this post!  
Unread 15-02-2015, 19:36
Sperkowsky's Avatar
Sperkowsky Sperkowsky is offline
Professional Multitasker
AKA: Samuel Perkowsky
FRC #2869 (Regal Eagles)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Bethpage, NY
Posts: 1,902
Sperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond reputeSperkowsky has a reputation beyond repute
We used a cheap kit I bought of Amazon for 25 dollars. I had to do a lot to make the legal though including cutting the ir receiver off and attaching a pwm connection to each side for easy removal(ir Is illegal during games) other then that it was just wired to the vrm and works great.
  #6   Spotlight this post!  
Unread 15-02-2015, 22:55
cad321 cad321 is offline
Jack of all trades, Master of none
AKA: Brian Wagg
FRC #2386 (Trojans)
Team Role: Alumni
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 328
cad321 is just really nicecad321 is just really nicecad321 is just really nicecad321 is just really nice
Re: Questions with LEDS

I just got some neo pixels in and have found them relatively easy to use. You do need a little programming experience to be able to make custom animations however the provided arduino libraries help a lot.
  #7   Spotlight this post!  
Unread 15-02-2015, 23:29
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,606
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Questions with LEDS

If you just want a few feet of LED in a single color, the quickest solution is to go to the nearest auto parts store and buy some LED strips (or other lighting solutions) in the detailing area. They're also made to run off of not-particularly-stable 12V, so automotive electrical devices are often great for FRC - as long as they don't violate an FRC rule, such as connecting 0V to the chassis. You then connect the red wire to M+ on a spike, the black wire to M-, and use kForward to turn the strip on, any other state is off.

If you want more, and/or a bit of programmability, the next step up is to get some of the long (1 meter or 5 meter) strips from SparkFun or another vendor preferably of the RGB variety. Googling 12V RGB LED strip leads to lots of people who want to sell these to you. These strips come in two main varieties - addressable and non-addressable. Non-addressable strips work just like the ones above, but they have four wires - one common (sometimes common anode (+), and sometimes common cathode (-)). Connect these to the output of four spikes, and different state combinations can give you black (off), red, green, blue, yellow, cyan, magenta, and white.

If you have common anode RGBs and code in java, you can use our Funlights.java as-is. Wiring is:
  • Relay R2 control wires from relay port 2
  • Relay R3 control wires from relay port 3
  • Common anode (possibly labeled +12V) to R2 M-
  • Red cathode (possibly labeled R) to R3 M+
  • Green cathode (possibly labeled G) to R3 M-
  • Blue cathode (possibly labeled B) to R2 M+

Addressable lights are also available, but you probably won't want to tie up the needed time and other resources of the RoboRIO to do this - see a few posts up for some leads on how to wire and program these.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #8   Spotlight this post!  
Unread 17-02-2015, 15:37
sparkytwd's Avatar
sparkytwd sparkytwd is offline
Registered User
FRC #3574
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Seattle
Posts: 96
sparkytwd will become famous soon enough
Re: Questions with LEDS

Last year and the year before we went with WS2811 strips driven by a Teensy 3. I worked with the kids and came up with a custom PCB to drive 8 independent strips, you can find that here: http://www.hackcasual.io/blingboard/

If you go with WS2811 strips, please don't forget to add the filter caps to the power inputs. It will save you much heartache.

This year we've ditched the WS2811 strips for something a bit more... more. I'm just happy to have a reason to put one of our Beaglebones on the robot. We'll be open sourcing the PCB, designs, and software for this years bling after our first competition, PNW Wilsonville DE6.
  #9   Spotlight this post!  
Unread 17-02-2015, 18:08
LittleIndian's Avatar
LittleIndian LittleIndian is offline
Registered User
AKA: Abhi Bhakta
FRC #2582 (Lufkin Pantherbots)
Team Role: Electrical
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Lufkin
Posts: 5
LittleIndian is an unknown quantity at this point
Re: Questions with LEDS

Quote:
Originally Posted by JustPlyZ View Post
With our team this year, we are trying to get into the whole trend with adding led's on our bot.
We also think it would be a cool project to be doing while we wait to compete in our first competition.

We are asking any teams that have LEDS this year or previous years, which LEDs did you guys like the most and which are easier to program.

Also how are you/how did you guys program the LEDs.
Are you planning to have one single color or have alternating colors with effects like rainbow, trailing, or fading?
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:34.

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