PWM and DC Motor (by Boris)
If I use only to run motor without PWM everything is OK.
When I set PWM motor doesn't run.
Any suggestion please or schematics even better.
Multimeter shows frequency on pin 16.
(no subject) (by Jonathan Westhues)
What kind of motor are you using, and what frequency? Not all DC motors can be PWM'd like that.
(no subject) (by MGP)
You need to use a logic-level mosfet,like IRLR110A, but there are many others.
Otherwise use a drivertransistor (bc547 ...), google for more circuits, but then you have a inverted driveroutput.
Change the software for this.
(no subject) (by MGP)
There are two things that you must keep in mind for driving a mosfet.
1st the gate voltage must be high enough !!!!
2nd switching speed (not the pwm frequency).
A optocoupler will do, but I prefer a mosfet driver, eg TC4421,
they are very cheap.
I use the TLP250 if I need a optocoupler.