Lightstrip Plus (Philips) how to plug directly to Arduino pins?

I got 5 Lightstrip Plus 1 meter extensions for free.
And I don't have any Philips hue hardware.

It comes with a 6 pin connector, but no documentation on what the pins are.

I want to drive them from my arduino mega or my arduino nano.

The different pins say:
C
B
G
R
VCC

Does someone know if it takes 5 volts? 3.3v? Something else?

What do I connect C to? To Ground?

I suppose R G and B are for red, green and blue. But should I use it wi PWM or something else?

Any help is more than welcome. I couldn't find an online documentation for this light strip...

please provide link of the philip led strip plus from where you purchased

2 Likes

Sorry the link is a sales thing and does not contain any technical information.

1 Like

Google is

ALLWAYS

worth a five minute search
https://www.google.com/search?as_q=arduino+driving+phillips+huey+led+strip

Philips Hue Light Control Using Arduino | Home Automation | Smart IoT | Nodemcu

I know, and that's the problem. Philips doesn't seem to provide low level documentation for this led strip.

I know it is hindsight now but you should have checked into it before purchasing. Maybe you can return it and get your money back.

Even though free, they might not be worth using. :frowning: Or, maybe you can look for a matching Phillips controller.

Most likely they are not addressable, so you can't directly drive them from the Arduino (which can only put-out a few milliamps from an I/O pin).

...Addressable LED strips have built-in drivers for each LED. so they just need power and a (low-power) "data" signal from the microcontroller, and sometimes a clock signal.

5 wires/connections is "unusual" Typically, you'd have one connection for each color, plus a common ground or a common positive voltage.

I'd guess they are 12V, and you need a MOSFET driver for each color. (Or if you don't need PWM dimming, a relay for each color, or just one relay if you don't need to change colors.) Relays need a driver too, but you can buy a "relay board" with a driver included.

So you might want to directly-hook-up 5V or 12V to see what happens...

That library seems to be to control the led strip over the network.
That would work if I wanted to purchase the base controler from Philips.

What I am trying to achieve is totally different:
Control just the extension light strip but connecting its wires to an arduino or esp32.

And my problem is that I am not finding the documentation for that. So I'm turning to the community to see if someone has reverse engineered what those pins do, how to drive them etc...

Just so you know, I got those 5 ledstrip for free, and I don't intend to purchase the highly expensive and proprietary Philips controlers.

Thanks Doug, the controllers I've found online cost about 5 times the price of an ESP32.
So I'm not considering that (I'd rather buy cheap led strips and sell on ebay the Philips ones).

I'll experiment with connecting power directly to the pins in the hope that it start lighting things up and I can start to reverse engineer them.

Any other hint is more than welcome!

Just make sure they are well documented with datasheets or application notes. Beware of stuff on eBay, AliExpress, or unknown Amazon suppliers, etc.

Adafruit features WS2812 addressable LED strips which they call NeoPixels. They've got TONS of application notes & hints. They are super-easy to use. (The coding is complicated but there are libraries that do most of the "work" so your you don't have to write a complicated program).

I think the ESP32 is a 3.3V device so you might need a 5V level booster for the data connection (Adafruit explains that) and you'd need to make sure the library works with the ESP32.

Should be straightforward.

C is probably "cold white". VCC probably 24V. Use 4 low side MOSFET driver with PWM.

12V is also a commonly used voltage, examination of the strip should reveal which, because you will see N leds and 1 resistor. If N=3, it's probably.

Since they were free, you could use one to experiment with.

Suggested by some specs for a possibly different style of strip here Hue Lightstrip Plus - Increasing length whilst retaining maximum luminosity - Projects & Stories - SmartThings Community

More likely it is "common" aka ground.

@georgesdev
If it's like the strips I've fiddled with, along with the Cool White "C" lead there was a Warm White "F" lead plus the RGB leads and it ran off 24VDC.

so, these are Hue lights not addressable , which means individual leds won't be configured if you want , for that you will require addresable/programmable led strips to individually address them

here all the LEDs will show same color and pattern given

C - Common cathod (-)
B - Blue - - any digital pin
G - Green -- any digital pin
R - Red -- any digital pin
W- White -- any digital pin
VCC - (12-24 DC supply)(+)

RGBW put digital write upto 0 - 255

you will have to use external PW for it as uno mega or any other dev board don't provide more than 5v , Hope this helps

with in void loop() you can define the pattern for all the Leds at once

also prigram you can use a simple digital write to turn a pin HIGH and LOW

// Define the pins for the RGBW LED strip
int redPin = 3;
int greenPin = 5;
int bluePin = 6;
int whitePin = 9;

void setup() {
  // Set the pins as outputs
  pinMode(redPin, OUTPUT);
  pinMode(greenPin, OUTPUT);
  pinMode(bluePin, OUTPUT);
  pinMode(whitePin, OUTPUT);
}

void loop() {
  // Example: Fade through different colors
  for (int i = 0; i < 255; i++) {
    digitalWrite(redPin, i);    // Red
    delay(10);
  }

  
  // Repeat for other colors (green, blue, white) following the same structure
}

to identify color if VCC if red then 5v if yellow then 12-24v if voltage not given on LED strip

Thanks, I'll definitely try this!!!

I'm not good with external power, so I have this question/doubt:
VCC needs to be connected to + of external power. That one is clear.
C needs to be connected to - of external power. Right?
My question is: should C also be connected to ground of the Arduino?

When proving external supply C should be to PS -ve and VCC PS +ve only data pins will run from arduino , though arduino should be powered on from PC/laptop or adapter
arduino pins connections

int redPin = 3;
int greenPin = 5;
int bluePin = 6;
int whitePin = 9;

to LED strip

1 Like

perfectly clear. Thanks!
I'll post back here once I get back to my lab

@pervinder

does this mean the RGBW-pins are PWM-controllable pins.
And the power electronics to switch the large current of the LEDs is located on the LED strip itself?

Are you sure that the power-electronics is not located in the Phillips controller?

No. There is no need for a ground. Each LED channel is switched via a low side driver and VCC.

Therefore it will more likely be an LED channel. However, you will quickly see the mistake if you connect to ground, because one LED channel will always be on.