LED controlled via MOSFETs?
I have the Manta M8P V2 board installed on my printer and I want to add some RGB lighting to it. The plan is to use a standard 4-pin RGB LED strip (R, G, B, GND) and control each color channel separately with MOSFETs so I can mix colors properly instead of just having a single fixed color.
The problem I’m running into is that I only have two HE ports left on the board, and I’m not sure what the best option is to get a proper 3.3V–5V control signal for the MOSFETs. I’ve been looking at the fan ports since they are PWM capable, and also at the 40-pin GPIO header, but I don’t really understand how practical or easy it is to use the GPIO pins in Klipper.
Right now I’m basically trying to figure out if I can just use the fan outputs directly for controlling the MOSFETs, or if the GPIO pins would be a better and cleaner solution. I’m also wondering if there is maybe a simpler approach I’m missing that doesn’t require buying extra controllers or additional hardware, since I’d prefer to keep this as cheap and straightforward as possible.
If anyone has experience with the Manta M8P and RGB LED setups using MOSFETs in Klipper, I would really appreciate some advice or a short example of how you handled it.