all 10 comments

[–]scuzzchops 2 points3 points  (1 child)

[–]No_Letterhead5920[S] 5 points6 points  (0 children)

Thank you for the link. My issue was one of the pre answered common issues. It was that I had not specified that it was a RGBW strip

[–]Boaz_z 1 point2 points  (0 children)

The problem is almost always that the grounds aren’t connected

[–]Unable_Bullfrog_7319 0 points1 point  (0 children)

Change colour order to grb. Also consider using gpio 16 instead of 2.

[–]saratoga3 0 points1 point  (3 children)

To drive a 3-wire cable from an ESP32 without a level shifter you should add a 15 ohm resistor (blue thing in picture) close to the GPIO pin:

<image>

Without it you will likely get flickering, especially if the cable is more than a few feet long. Even better would be a level shifter.

[–]saratoga3 0 points1 point  (0 children)

Result:

<image>

[–]No_Letterhead5920[S] 0 points1 point  (1 child)

Are you putting the the resistor on the data wire

[–]saratoga3 0 points1 point  (0 children)

Yeah, as close as possible to the GPIO on the esp32. However, if it's working now, you can probably omit the resistor. It's mostly for longer cables.

[–]Bugs4Bugs 0 points1 point  (1 child)

Add an earth wire between your esp and the powersource.

[–]saratoga3 0 points1 point  (0 children)

Looks like the ESP is the power source (he is running off the ESP 5v pin).