How to dim High Power LEDs with Rspberry Pi

I have read your excellent guide " How to Drive High Power LEDs – 3W Aluminum Backed Star LEDs" which mentions that it’s possible to use that setup to with a micro-controller such as an Arduino or ESP32 to dim LED’s. I would prefer to dim with my R Pi if possible. If so, could you please let me know how dimming could be added using a Pi with the same setup in the guide.
Thanks, Richard

Hi @Richard83832,

One way you could do it using the current setup from the Guide would be to use Mosfets to control the output from the DC regulator. Something like this board and a Pi should work well to get this working.

1 Like

Hi Aaron, I have ordered the Mosfet board you have suggested; does this wiring look correct?


I intend adapting the python PWM code with a gpiozero library used in the Random Nerd Tutorial
Thanks
Richard

2 Likes

@Richard83832, That is how I would wire it up :slight_smile: