I would like to control the speed of a motor using a PWM MOSFET driver. I’ve got a board based on IRF530:
Here’s a link to the store (it’s in Polish)
I don’t have the right power supply to drive the motor, so just for testing, I’ve connected a regular 12V DC power supply to the DC IN terminals, and a red LED with a 1k resistor to the output terminals. I’ve also connected the board to a PWM and GND pins on Arduino and wrote a code to change the signal from 0 to 100% duty cycle and back. Basically this setup:
The code is working - the status LED on the board is changing its brightness. However, my test LED is constantly ON with full brightness (turns off only when PWM is at 0%) - so it basically behaves like a switch.
What am I doing wrong?