[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.2768477 [View]
File: 11 KB, 933x495, Screenshot 2024-03-05 180609.png [View same] [iqdb] [saucenao] [google]
2768477

I'm trying to amplify an arduino PWM signal using a mosfet.
I'm trying to control the speed of a small DC motor (R1 in the pic) but it isn't small enough to be driven by the arduino itself, it needs more power. So I'm trying to feed it with a 12V power supply but modulate that using a mosfet triggered by the arduino PWM signal. Pic related is my circuit.
It doesn't work because mosfet stays on instead of opening the circuit when the signal is low. I think it has to do with its capacitance. How do I fix it? I've tried putting a resistor in series with the gate and the ground so the mosfet could discharge through it but that didn't work.

Navigation
View posts[+24][+48][+96]