0
\$\begingroup\$

I am trying to convert 0-5V PWM coming from an Arduino to 0-10V PWM to run a motor which has PWM line that operate for 0-10V.

But as soon as I connect the PWM line to mosfet it either shows only high logic or low logic. It is not switching between 0-10V.

Also when I am directly giving 0V and 5V or 3.3V directly to gate Mosfet is switching i.e. when giving 0V it is getting "OFF" and I am getting 10 volt as output and when applying 5V it is getting "ON" and showing output as 0V but not working with PWM.

When the PWM line is not connected to Mosfet it is perfect PWM with proper switching at 16KHz. The mosfet I am using is DMG3414U-7.

enter image description here

\$\endgroup\$
  • 2
    \$\begingroup\$ Maybe your MOSFET is wired incorrectly similarly to how your diagram is presented awkwardly. Details matter in electronics. \$\endgroup\$ – Andy aka Mar 6 at 11:22
  • \$\begingroup\$ First thought was is this a logic level MOSFET? It is so disconnect your load and try to switch much slower. Does it work now? If not double check you have switching signals going in and you have wired it correctly. If yes how much current does your motor need? You could need a buffer as you may be over loading the circuit. Also where is the motor? Between output and GND or output and 10V? \$\endgroup\$ – Warren Hill Mar 6 at 11:39
  • \$\begingroup\$ @WarrenHill The motor has 4 lines In, out, PWM, RPM so the motor is connected to 24V and GND and PWM line is connected to the Drain of mosfet via 3.3K resistor as can be seen in figure. Also currently I am checking with no load. Directly using o-scope for waveform. \$\endgroup\$ – Sagar Mar 6 at 12:56
  • \$\begingroup\$ this works: github.com/SeeedDocument/Grove-MOSFET/raw/master/res/… \$\endgroup\$ – Juraj Mar 8 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.