Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Would it be legal/possible? (http://www.chiefdelphi.com/forums/showthread.php?t=133846)

tomy 01-02-2015 18:34

Would it be legal/possible?
 
I was wondering if it was possible to take 12V RGB LED Strip and plug it directly into the PD board to light up the robot. The RGB Strip has a 12V connection but I cant seem to find the ground. Is this legal / possible?

RufflesRidge 01-02-2015 18:36

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437081)
The RGB Strip has a 12V connection but I cant seem to find the ground. Is this legal / possible?

You're going to need to find the ground before you can really do anything. Do you have a part number/datasheet?

Ben Wolsieffer 01-02-2015 18:38

Re: Would it be legal/possible?
 
You should be fine as long as they are simply dumb (ie. not digitally controlled) strips. Keep in mind that they will dim when your battery voltage drops.

I don't really understand what you mean by saying you can't find the ground. The LED strip should have two wires, one black and one red. They should go into the correspondingly colored ports on the PDP. A part number/link would be helpful.

tomy 01-02-2015 18:40

Re: Would it be legal/possible?
 
This is the exact LED strip I have:

http://www.adafruit.com/products/285...roducts_id=285

Ben Wolsieffer 01-02-2015 18:48

Re: Would it be legal/possible?
 
If you just want it to show a single color, you should just be able to plug the +12v wire into the positive on the PDP, and the R, G, and/or B wires (in any combination) into the negative on the PDP.

It would want more control, I would recommend using an Arduino and some transistors to control the channels with PWM. You could also try using the PWM outputs on the roboRIO, but their low frequency might cause come flickering.

This Adafruit tutorial should help with wiring the transistors to an Arduino (or to the roboRIO PWM outputs).

Mr V 01-02-2015 18:50

Re: Would it be legal/possible?
 
There are 3 ground wires, one for each of the different LEDs in each light. IE one for Red, one for Green and one for Blue. Depending on which one(s) you ground and how frequently they are cycled on and off you'll get the different colors.


How it all works is explained in the first paragraph of the description.

tomy 01-02-2015 18:51

Re: Would it be legal/possible?
 
So it would be legal to wire it directly to the PD Board

kgzak 01-02-2015 18:56

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437086)
This is the exact LED strip I have:

http://www.adafruit.com/products/285...roducts_id=285

Those are common anode LEDs meaning that they share a common 12v and have 3 different grounds. One for each color (Red, Green, Blue). Adafruit has a tutorial that can teach you everything you need to know here:https://learn.adafruit.com/rgb-led-strips/overview

Sohaib 01-02-2015 20:22

Re: Would it be legal/possible?
 
Quote:

Originally Posted by lopsided98 (Post 1437085)
Keep in mind that they will dim when your battery voltage drops.

You can always connect it to the VRM to alleviate this. The VRM will to some degree regulate the voltage so that when your battery may not be providing a constant 12v, the VRM will do it for you.

Ben Wolsieffer 01-02-2015 20:24

Re: Would it be legal/possible?
 
Quote:

Originally Posted by Sohaib (Post 1437099)
You can always connect it to the VRM to alleviate this. The VRM will to some degree regulate the voltage so that when your battery may not be providing a constant 12v, the VRM will do it for you.

In this case though, you will need to make sure to not exceed 2 amps. We didn't have that many LEDs last year, but when they were displaying bright white, we used around 3 amps.

Sohaib 01-02-2015 20:26

Re: Would it be legal/possible?
 
Quote:

Originally Posted by lopsided98 (Post 1437100)
In this case though, you will need to make sure to not exceed 2 amps. We didn't have that many LEDs last year, but when they were displaying bright white, we used around 3 amps.

The highest current outputs labelled on the VRM are 2A.

Ben Wolsieffer 01-02-2015 20:27

Re: Would it be legal/possible?
 
Quote:

Originally Posted by Sohaib (Post 1437104)
The highest current outputs labelled on the VRM are 2A.

Yes, that is why I warned about not exceeding 2 amps.

Tungrus 01-02-2015 20:56

Re: Would it be legal/possible?
 
Just a reminder, VRM's 2A rating is peak, nominal is 1.5A.

tomy 01-02-2015 20:59

Re: Would it be legal/possible?
 
What happens if you exceed the 2amp out put on the VRM or can you?

RufflesRidge 01-02-2015 21:03

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437112)
What happens if you exceed the 2amp out put on the VRM or can you?

Per the VRM User Guide it's 1.5A continuous, 2A peak.

In Beta I think I remember the result of overloading it for at least one team being a cooked VRM.

Mr V 01-02-2015 21:09

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437090)
So it would be legal to wire it directly to the PD Board

Yes if the gauge of the wire used meets the minimum for the breaker feeding the circuit, or if you provide additional circuit protection appropriate for the gauge of wire in the circuit.

Of course connecting it only to the PDP you'll be stuck with only Red, Blue, Green, the color that will result from driving two of those colors at 100% duty cycle or white if you connect all three grounds.

Now there is nothing that says you can't use a micro controller and some transistors to create a custom circuit to very the duty cycle of the separate colors.

GeeTwo 01-02-2015 21:51

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437090)
So it would be legal to wire it directly to the PD Board

Yes, but you would not be able to have the colors change without relays or other switching. If you aren't interested in "shades", but just being able to switch among the eight colors (off, red, green, blue, magenta, yellow, cyan, white), you can use 3 DIO ports and a relay module similar to the following:

http://store.linksprite.com/dc-5v-four-channels-relay-breakout-with-optoisolator/
(You would only need to use three of the four relays). We are planning to do something very similar to this to display our alliance colors during matches, green (our school color) during practice, and perhaps a few others occasionally.

MrRoboSteve 01-02-2015 22:04

Re: Would it be legal/possible?
 
Consider rule R34 if you're planning to connect directly to the PDP.

DonRotolo 02-02-2015 08:51

Re: Would it be legal/possible?
 
Quote:

Originally Posted by tomy (Post 1437090)
So it would be legal to wire it directly to the PD Board

As others have said, "probably", but please remember we are not official rules people, and our opinions (which is what these are) are completely worthless at any competition.

That being said, having an RGB light strip connected directly to power is a waste, these have such great capabilities for color display, a direct connection gives you "one color only", you can choose from 7 colors + "off" depending on which grounds you connect.

tomy 05-02-2015 00:16

Re: Would it be legal/possible?
 
Another question on the same topic. Is it legal to put in dongle such that you can switch between two different colors. We don't want to spend to much time with the leds this year


All times are GMT -5. The time now is 06:33.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi