Go to Post gears won't care if theyre running underwater... the electronics will ;) - 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 11-30-2015, 10:32 PM
AndyB871 AndyB871 is offline
Registered User
FRC #0871
 
Join Date: Jan 2012
Location: East Islip
Posts: 37
AndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura about
Neopixels & regulators

So We're toying around with the idea of using Adafruit's neopixels for some fun projects this year, I know other teams have done similar things, and I'm also aware of the rioDuino MXP widget.

That being said, I'm concerned about total current draw and where to source that current. The large neopixel strips can draw upwards of 4 amps. The VRM can only source 2A, Plus the neopixels are finicky about having a common ground between the data signal and power supply.

My Question is this:
If we were to use an arduino as a coprocessor to control these strips, does anyone have any reccommendations for legal 12V-5V >4A DC-DC regulators? Ideas how to ensure that power supply ground & arduino DIO ground is connected?

I'm a Comp-Sci Guy, I've only lightly dabbled in EE, so while I "understand" this stuff, I'm not as fluent as Id like to be (obviously)

Thanks!
  #2   Spotlight this post!  
Unread 11-30-2015, 10:34 PM
Knufire Knufire is offline
Rose-Hulman Institute of Technology
no team
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2010
Location: Terre Haute, IN
Posts: 733
Knufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond reputeKnufire has a reputation beyond repute
Re: Neopixels & regulators

What about the voltage converter that powered the radio on the old control system?

http://www.andymark.com/product-p/am-0899.htm
__________________
Team 469: 2010 - 2013
Team 5188: 2014 - 2016
NAR (VEX U): 2014 - Present
  #3   Spotlight this post!  
Unread 11-30-2015, 10:34 PM
orangemoore orangemoore is online now
Registered User
AKA: Roger Moore
FRC #3135 (Robotic Colonels)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Chicago
Posts: 2,307
orangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond reputeorangemoore has a reputation beyond repute
Re: Neopixels & regulators

Quote:
Originally Posted by AndyB871 View Post
So We're toying around with the idea of using Adafruit's neopixels for some fun projects this year, I know other teams have done similar things, and I'm also aware of the rioDuino MXP widget.

That being said, I'm concerned about total current draw and where to source that current. The large neopixel strips can draw upwards of 4 amps. The VRM can only source 2A, Plus the neopixels are finicky about having a common ground between the data signal and power supply.

My Question is this:
If we were to use an arduino as a coprocessor to control these strips, does anyone have any reccommendations for legal 12V-5V >4A DC-DC regulators? Ideas how to ensure that power supply ground & arduino DIO ground is connected?

I'm a Comp-Sci Guy, I've only lightly dabbled in EE, so while I "understand" this stuff, I'm not as fluent as Id like to be (obviously)

Thanks!
Try the old KOP 12v -> 5v converters. Those things should work just fine and you should probably have some lying around not being used.
http://www.andymark.com/product-p/am-0899.htm

EDIT:Ninja'd
__________________
Stronghold


Student 2013-2016
3135 -- Robotic Colonels
3507 -- Robotheosis (FTC)

Last edited by orangemoore : 11-30-2015 at 10:35 PM. Reason: Not Fast Enough!
  #4   Spotlight this post!  
Unread 11-30-2015, 10:47 PM
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,345
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Neopixels & regulators

Using a simple UBEC/BEC that are commonly found in the R?C hobby, you should easily be able to strings of NeoPixels.

First, calculate the current draw with every pixel running full brightness and white. Then double that to find a suitable BEC to use. That level of safety margin will just about guarantee you will not have an issue with the BEC overheating.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #5   Spotlight this post!  
Unread 12-01-2015, 12:08 AM
RyanShoff RyanShoff is offline
Registered User
FRC #4143 (Mars Wars)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Metamora, IL
Posts: 145
RyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to beholdRyanShoff is a splendid one to behold
Re: Neopixels & regulators

We ran 150 neopixels off the 2A VRM output without issue last year. It was a 5m strip 30 leds/meter. We never used all white full power, but otherwise took no special precautions. Grounding was not an issue. We grounded one end of the strip to the VRM and the other to the Roborio. For reference, the same programming would brown out the Roborio 5V supply.
__________________
Ryan Shoff
4143 Mars/Wars
CheapGears.com
  #6   Spotlight this post!  
Unread 12-01-2015, 12:11 AM
AndyB871 AndyB871 is offline
Registered User
FRC #0871
 
Join Date: Jan 2012
Location: East Islip
Posts: 37
AndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura aboutAndyB871 has a spectacular aura about
Re: Neopixels & regulators

*facepalm* I'd totally forgotten about the old regulator. we DO have a bunch of them laying around...

Well thanks for the quick replies!
  #7   Spotlight this post!  
Unread 12-01-2015, 01:38 AM
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,102
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: Neopixels & regulators

The other important thing to remember is what affects current draw. Each led Pixel is made up of 3 small LED dies - Red, Blue, & Green. If you put them on full power each die can draw around 20 mA, so 60mA per pixel max. This does add up, but odds are you are not just going to make an all white strip all the time.

If you do simple things like sweeps of single colors at a 50% duty cycle (which is still very bright), you can actually get away with driving the LED's off the VRM or even just the 12-5v regulator on the RIOduino/ arduino. It is easy to bench test this as you will see the LED's not work as expected and likely the arduino will restart if you pull too much current.

Last season we drove our LEDs directly off the regulator as described, but yes having a 12 to 5v regulator just for LED's is a good idea. The one for the old radio is a good option, but it is also very heavy. I have bought many of these http://www.amazon.com/KEEDOX%C2%AE-C...dp/B00A71CMDU/ They are light, cheap, and work great.



As a side note, while LED's on robots can be awesome looking and add some awesome bling, please keep it within reason. I also challenge teams to use the LEDs on their robots for practical things like indicators for drivers instead of just bling.
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
  #8   Spotlight this post!  
Unread 12-01-2015, 01:47 AM
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,070
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Neopixels & regulators

Note the old KOP regulator has a fairly high dropout. We used one in 2014 to power our lights, and everyone at competition kept asking why our lights would randomly flicker and turn rainbow. It was because anytime we would start moving the voltage would drop to 8 volts and the regulator would brown out. We used these this year, and they were much more reliable. http://www.amazon.com/NEEWER%C2%AE-U...eywords=bec+5v
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #9   Spotlight this post!  
Unread 12-01-2015, 07:44 AM
BenGuy's Avatar
BenGuy BenGuy is offline
Co-Driver - 3641 - Flying Toasters
AKA: Ben
FRC #3641 (The Flying Toasters)
Team Role: Operator
 
Join Date: May 2014
Rookie Year: 2014
Location: South Lyon, Michigan
Posts: 211
BenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of lightBenGuy is a glorious beacon of light
Re: Neopixels & regulators

On our robot this year, we used an Arduino to control two 60 led strips, and we are using the two VRM ports power on it. Also, we have an inline resistor to the signal cable and a capacitor in line to the strip power cables to smooth out the voltage/current. Works perfectly.
__________________


Ben Wolak
The Flying Toasters Website

Team YouTube
Team Twitter


The real problem with computers is that they do what you tell them to do, not what you want them to do.
  #10   Spotlight this post!  
Unread 12-01-2015, 09:40 AM
Joey1939's Avatar
Joey1939 Joey1939 is offline
Registered User
AKA: Joey Holliday
FRC #1939 (Kuhnigits)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Kansas City, Missouri
Posts: 139
Joey1939 has a spectacular aura aboutJoey1939 has a spectacular aura aboutJoey1939 has a spectacular aura about
Re: Neopixels & regulators

Quote:
Originally Posted by AndyB871 View Post
That being said, I'm concerned about total current draw and where to source that current. The large neopixel strips can draw upwards of 4 amps. The VRM can only source 2A, Plus the neopixels are finicky about having a common ground between the data signal and power supply.
We had two strips of 59 neopixels (long story) on our robot last year. We powered them off of the old radio 5V convertor without any troubles. We were also concerned about the shared ground but didn't experience any problems without connecting the grounds. The Arduino was powered off the USB port on the RoboRIO which lets us also send serial signals over USB.
__________________


  #11   Spotlight this post!  
Unread 12-02-2015, 01:27 PM
InFlight's Avatar
InFlight InFlight is offline
3574 - The King's of Bling
AKA: Jim
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Seattle Area
Posts: 161
InFlight is an unknown quantity at this point
Re: Neopixels & regulators

We used separate power supplies for the Display processing and LED displays. 2A for the processor and separate 9 amp supplies for the display. Any high demand by the display doesn't brownout the processor that way.

You can search on 3574 here if you want more design info on some over the top LED usage. The 2014 and 2015 robots where both fairly unique.
__________________

Thank you 2016 Alliance Partners - 948, 1510, 2046, 2521, 2980, 2990, 4911, 4683
  #12   Spotlight this post!  
Unread 12-02-2015, 02:37 PM
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: Neopixels & regulators

Don't even go to the old DC-DC converter. Since it's decoration (at least this was the case in 2014) you can use anything you want to power these things. Seriously all you need to do is look on hobbyking.com for a BEC. There are like 20 of them that output 5a @ 5v. That should be more than enough. And if you need more, you can get a Castle Creations 20a 5v (If you need this you are doing things very wrong).

And the best part is that they weigh under an ounce! I have ran plenty of neopixels on these guys before. They work perfectly every time.

If you don't like hobbyking for some reason, you can always search up on pololu or amazon for a 5v BEC or Buck converter. Super cheap and light stuff (Unlike the old dc-dc converter)

http://www.hobbyking.com/hobbyking/s...dProduct=62640

(Note: They may have changed the rules for this upcoming season. I am sure you would be fine ordering these, but still make sure they are in the rules
__________________
//TODO: make signature
  #13   Spotlight this post!  
Unread 12-02-2015, 02:55 PM
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 120
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: Neopixels & regulators

Since people are talking neopixels and arduinos on their robots. Anyone care to comment on the code required to communicate between the roboRIO and the arduino to control the LEDs (on both the Arduino and the roboRIO please)? Serial or I2C communication? Independent Arduino or an integrated device like the roboDuino?

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
  #14   Spotlight this post!  
Unread 12-02-2015, 03:04 PM
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,070
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Neopixels & regulators

Quote:
Originally Posted by feverittm View Post
Since people are talking neopixels and arduinos on their robots. Anyone care to comment on the code required to communicate between the roboRIO and the arduino to control the LEDs (on both the Arduino and the roboRIO please)? Serial or I2C communication? Independent Arduino or an integrated device like the roboDuino?

Thanks
We just used a regular arduino, connected directly to the roboRIO using a USB cable. That both powered the arduino and gave a serial connection between the 2. From there, the easiest way is to send simple commands over serial to the arduino, and have the arduino use those commands to change the lights.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
  #15   Spotlight this post!  
Unread 12-02-2015, 03:51 PM
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: Neopixels & regulators

Quote:
Originally Posted by feverittm View Post
Since people are talking neopixels and arduinos on their robots. Anyone care to comment on the code required to communicate between the roboRIO and the arduino to control the LEDs (on both the Arduino and the roboRIO please)? Serial or I2C communication? Independent Arduino or an integrated device like the roboDuino?

Thanks
You can use anything. You can send a pwm signal to it and have the arduino read the pulse width, you could have just a simple on and off line going to it, you can have an I2C (which is much more reliable on the roborio), you can have CAN shield and attach it to the network, you can use serial, you can use ethernet. Whichever seems the most viable to you. I say use the one you know the most
__________________
//TODO: make signature
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 07:56 PM.

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