I'm currently using a DC Power supply @ 12V to power an Arduino project with a 12V Motor. The DC Power Supply is connected to a MOSFET tester board I made and to the arduino through a 5V regulator.
At this point I'm simply use the Example "Fade" sketch to ramp the PWM value from 0 to 255 and back down. I confirmed in the serial monitor that the values are indeed going up and down, so it's not the sketch.
When I turn on the Power Supply the motor just spins at full speed. Disconnecting the pin from the arduino does make the motor shut off, so the MOSFET is definitely being triggered by the Arduino, I'm just assuming it doesn't turn off like it's supposed to because of something I'm missing.
Here is the datasheet for the MOSFET: https://media.digikey.com/pdf/Data Sheets/NXP PDFs/BUK962R1-40E.pdf
The "MOSFET" pinout goes directly to the arduino PIN.
Things I've tried:
1. Adding a 470 OHM resistor in series from the Arduino pin to the MOSFET pin on the board.
2. Adding a 10k OHM resistor from the Arduino pin to logic ground.
3. The above two things together.
Any help would really be appreciated. I'm barley a hobbyist at this stuff and not able to use the datasheets properly to help me solve my problem.
Here is the schematic and board I am using for MOSFET.
At this point I'm simply use the Example "Fade" sketch to ramp the PWM value from 0 to 255 and back down. I confirmed in the serial monitor that the values are indeed going up and down, so it's not the sketch.
When I turn on the Power Supply the motor just spins at full speed. Disconnecting the pin from the arduino does make the motor shut off, so the MOSFET is definitely being triggered by the Arduino, I'm just assuming it doesn't turn off like it's supposed to because of something I'm missing.
Here is the datasheet for the MOSFET: https://media.digikey.com/pdf/Data Sheets/NXP PDFs/BUK962R1-40E.pdf
The "MOSFET" pinout goes directly to the arduino PIN.
Things I've tried:
1. Adding a 470 OHM resistor in series from the Arduino pin to the MOSFET pin on the board.
2. Adding a 10k OHM resistor from the Arduino pin to logic ground.
3. The above two things together.
Any help would really be appreciated. I'm barley a hobbyist at this stuff and not able to use the datasheets properly to help me solve my problem.
Here is the schematic and board I am using for MOSFET.
Last edited: