# How would i wire a 4 pin rgb strip. (power,G,R,B) to the esp32 which requires almost 22 volts of power to run!

**URL:** <https://forum.core-electronics.com.au/t/how-would-i-wire-a-4-pin-rgb-strip-power-g-r-b-to-the-esp32-which-requires-almost-22-volts-of-power-to-run/15507>\
**Category:** Uncategorized\
**Created:** [29 October 2022 05:03 UTC](https://forum.core-electronics.com.au/t/how-would-i-wire-a-4-pin-rgb-strip-power-g-r-b-to-the-esp32-which-requires-almost-22-volts-of-power-to-run/15507 "2022-10-29T05:03:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vineel215338](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@Vineel215338](https://forum.core-electronics.com.au/u/Vineel215338)\
**Post date:** [29 October 2022 05:03 UTC](https://forum.core-electronics.com.au/t/how-would-i-wire-a-4-pin-rgb-strip-power-g-r-b-to-the-esp32-which-requires-almost-22-volts-of-power-to-run/15507/1 "2022-10-29T05:03:52Z")

</div>

How would i wire a 4 pin rgb strip. (power,G,R,B) to the esp32 which requires almost 22 volts of power to run !!!

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [29 October 2022 05:37 UTC](https://forum.core-electronics.com.au/t/how-would-i-wire-a-4-pin-rgb-strip-power-g-r-b-to-the-esp32-which-requires-almost-22-volts-of-power-to-run/15507/2 "2022-10-29T05:37:02Z")

</div>

Something like this:

> **[Addressable Triple N-MOSFET driver / output module | Freetronics](https://www.freetronics.com.au/products/addressable-triple-n-mosfet-driver-output-module#.Y1y5VrZBxhE)**
>
> Addressable LEDs such as FreePixels are great for chaining a bunch of LEDs together and driving them with a single data pin from your microcontroller. Now you can drive high-power loads the same way! 
> This high-power triple N-MOSFET module...

This is for a LED strip that requires up to 60V and 18A across three separate LED strings (within one strip) which is what your LED strip sounds like. It includes the logic to convert the sequential data stream into the three separate strings.

Here is a similar item:

> **[3.66US $ 5% OFF|Electronic building block 3 MOSFET fET drive module IRF540...](https://www.aliexpress.us/item/3256804264540484.html?gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US)**
>
> Smarter Shopping, Better Living! Aliexpress.com

which does the same job but is driven from 3 separate data lines using PWM to control the brightness of each of the colors and therefore the colour of the whole strip.

If you post the details of your LED strip and the MCU you are using then it might be possible to be more specific about exactly which item would suit best and what code would be neeed to get it all working.

---

<div class="post-metadata">

**Author:** ![Trent5487676](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/trent5487676/32/4583_2.png) [@Trent5487676](https://forum.core-electronics.com.au/u/Trent5487676)\
**Post date:** [3 November 2022 00:21 UTC](https://forum.core-electronics.com.au/t/how-would-i-wire-a-4-pin-rgb-strip-power-g-r-b-to-the-esp32-which-requires-almost-22-volts-of-power-to-run/15507/3 "2022-11-03T00:21:36Z")

</div>

Hi Vineel,

How are you traveling with your ESP32 LED strip project? Were you able to get it powered using Jeff’s suggestions or a different device?
