Go to Post Let this be a lesson to everyone to never make changes to manufacturing drawings without issuing a new rev of the drawing itself... - Cory [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 07-03-2015, 02:47
Twins Inc.'s Avatar
Twins Inc. Twins Inc. is offline
wait....are you a twin??
AKA: Zach Larson
FRC #2605 (Sehome Seamonsters)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2011
Location: United States
Posts: 50
Twins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really nice
Decoration, preference for LEDs

What are you preferences for Led lights? We are looking for options that we can run with the RoboRio... What are you all using?
Thank you!
  #2   Spotlight this post!  
Unread 07-03-2015, 09:39
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,575
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: Decoration, preference for LEDs

Quote:
Originally Posted by Twins Inc. View Post
What are you preferences for Led lights? We are looking for options that we can run with the RoboRio... What are you all using?
Thank you!
We're using 12V LED strips and spots made for car systems. We have a spotlight intended for trunks, hoods, and gloveboxes to light up vision targets, a whte 14" strip to make some shadows on the totes for detail. These were sourced at local auto parts shops. We also have some non-addressable RGB strips from sparkfun (or was it adafruit) for the "funlight" decorations, all of which show the same colors at the same time. We're switching all of these with a total of three spikes via the RIO relay ports.
__________________

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.
  #3   Spotlight this post!  
Unread 07-03-2015, 18:45
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,575
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: Decoration, preference for LEDs

If you're using java, or don't mind converting some simple code, here is our source code for the non-addressable LEDs. Most of the methods are just one or two functional lines; only setAllianceColors() is longer. Our LED strips have a common positive line and separate negative lines for the red, green, and blue elements. We have connected these four wires to the four motor outputs of two spike relays. Here's the mapping for the code as found at the link:
  • Common: M- output of spike on relay port 2
  • Blue negative: M+ output of spike on relay port 2
  • Green negative: M- output of spike on relay port 3
  • Red negative: M+ ouput of spike on relay port 3

If you use LED strips with common negative line, swap all the kOffs for kOns and all the kReverses with kForwards.
__________________

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.

Last edited by GeeTwo : 07-03-2015 at 18:47. Reason: common negative clues
  #4   Spotlight this post!  
Unread 09-03-2015, 10:16
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 70
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: Decoration, preference for LEDs

For robot LEDs you have a few options.

The easiest would be to use simple RGB LED strips like GeeTwo mentioned. For our bot last year we used these: http://www.amazon.com/SUPERNIGHT-Wat...dp/B00B2F3KDQ/

The cool part is that they came with a controller that can be modified to work with the RIO outputs. If you open up the little white box, you can find the three FETs that provide power to the strip. Just desolder control bits, and solder in some PWM line. These can be fed directly from the RIO by a real PWM (not a servo or motor controller PWM) to get RGB control. The 12V jack wires up to the PDP, and you're good to go. You can also use a Spike if you don't want to putz with soldering in PWM lines, but you can't generate fluid animations or different brightness levels.

The next step up is to use addressable LEDs, but it adds some significant complexity. This year we used these: http://www.amazon.com/NEWSTYLE-Progr...dp/B00MHUK83K/
Adafruit sells them as NeoPixels, but they are all based on the WS2811 or WS2812B LEDs. To control these, you need a dedicated micro-controller on your bot since the RoboRio doesn't have the real time digital support to do it. You also need 5V for these, not 12V. A quick note on that, the 5V on the VRM poses a few problems since it's noisy and you really want to leave that 2A port for the radio. If you still have it, the vreg from previous years works well, or just search amazon for a UBEC (a regulator for RC cars).

The simplest method to make these work would be to have some programmed animations on a micro-coontroller, and then use a few DIO from the RIO to your chosen micro to select the animation. One more step up would be full digital communication. We used the I2C port on the RIO to communicate with a TI LaunchPad (like the one in your kit). The LaunchPad then made decisions on what to show on the strip. Since this gave us some flexibility, we ended up with two separate strips that can have their own animations from one LaunchPad.

Feel free to let us know what direction you're leaning, and I'm sure the forum can get you some more technical info.
  #5   Spotlight this post!  
Unread 09-03-2015, 10:43
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: Decoration, preference for LEDs

Adafruit now sells what they call DotStar addressable LED strips which you should be able to control with the RoboRIO. I have not used them myself.

Mike
  #6   Spotlight this post!  
Unread 09-03-2015, 12:33
mastachyra's Avatar
mastachyra mastachyra is offline
Registered User
FRC #2781 (RoboPride)
Team Role: Mentor
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Illinois
Posts: 230
mastachyra is just really nicemastachyra is just really nicemastachyra is just really nicemastachyra is just really nice
Re: Decoration, preference for LEDs

Is it ok to have LED's wired straight to the distribution board with a physical switch? Or do all electronic components need to be controlled by the RoboRio?

I know it sounds like the easy way out, but I don't really have an elaborate LED set up, so I figured this was the best way.
  #7   Spotlight this post!  
Unread 09-03-2015, 12:36
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,073
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Decoration, preference for LEDs

Quote:
Originally Posted by mastachyra View Post
Is it ok to have LED's wired straight to the distribution board with a physical switch? Or do all electronic components need to be controlled by the RoboRio?
Non-functional decorations are CUSTOM CIRCUITS, which can be plugged straight into the PDB.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #8   Spotlight this post!  
Unread 09-03-2015, 19:44
Twins Inc.'s Avatar
Twins Inc. Twins Inc. is offline
wait....are you a twin??
AKA: Zach Larson
FRC #2605 (Sehome Seamonsters)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2011
Location: United States
Posts: 50
Twins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really niceTwins Inc. is just really nice
Re: Decoration, preference for LEDs

Quote:
Originally Posted by ILAMtitan View Post
The cool part is that they came with a controller that can be modified to work with the RIO outputs. If you open up the little white box, you can find the three FETs that provide power to the strip. Just desolder control bits, and solder in some PWM line. These can be fed directly from the RIO by a real PWM (not a servo or motor controller PWM) to get RGB control. The 12V jack wires up to the PDP, and you're good to go. You can also use a Spike if you don't want to putz with soldering in PWM lines, but you can't generate fluid animations or different brightness levels.
Thanks for the help! This is great to know, becuaseit solves the problem of having to power the strips correctly. We will be sure to consider this option, as it is a little less expensive.
  #9   Spotlight this post!  
Unread 09-03-2015, 20:21
Mschmeh144's Avatar
Mschmeh144 Mschmeh144 is offline
Impatient maniac
AKA: Matthew
FRC #0144 (R.O.C.K)
Team Role: Driver
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Ohio
Posts: 88
Mschmeh144 is an unknown quantity at this point
Re: Decoration, preference for LEDs

144 uses some non addressable, three color LED strips, but here's our little secret, we used a arduino to make them change colors. Not only do they change, they change as the elevator on our bot reaches different levels. The entire bot glows
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 06:31.

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