Hello everyone, recently i bought an rgb led strip and i tried to modify the controller to work with esp32. I desoldered everything from the premade controller except for the mosfets and the 2 resistors you see in the schematic. Mosftets are AO3402 (340s marking). After flashing the esp and connecting to gpio it blinks for few seconds and then it stays partially on. Shorting the gate to source doesn't turn it off. It's a 24v led strip and at first try i didnt have the grounds of powersupply - esp32 connected. I thought that was the problem but it happened on the second mosfet too. What could be wrong. On second try i also removed the 10k resistor.
Thanks in advance!

Thanks in advance!

