Thanks. Here it is.hi beat,
Do you have an image of the HW-517 to post and any specification data.
Googling brings up different HW number types.??
E
Mine is UNO. Sorry I should have mentioned it.
My motors will have to rotate forward/reverse. Just wonder if this PWM control is suitableI think this is what you need:
View attachment 252814
Your HW-517 modules that I posted the connection diagram for have no reverse. You need one like the L298NN that will drive both motors in both directions:My motors will have to rotate forward/reverse. Just wonder if this PWM control is suitable
I had a similar requirement where, at short notice, I had to drive a small 12V motor using an arduino. I used an IRFZ44 MOSFET, with its gate switched by a transistor. I had a small 5V DPDT relay with 2 Amp contacts laying around so I used it, driven by a transistor, to reverse the motor. If you use a relay, make sure the motor has stopped before you switch the relay or the back EMF will weld or burn off the contacts.Thanks Keith and dsfantasi. Will coneect it.accordingly.
Wonder if there is a solution for reverse drive using the HW-517 say connecting them in H-BRIDGE or similar?
I had a similar requirement where, at short notice, I had to drive a small 12V motor using an arduino. I used an IRFZ44 MOSFET, with its gate switched by a transistor. I had a small 5V DPDT relay with 2 Amp contacts laying around so I used it, driven by a transistor, to reverse the motor. If you use a relay, make sure the motor has stopped before you switch the relay or the back EMF will weld or burn off the contacts.
View attachment 252896
So you may want to consider using pins 5&6 or any combination of the remaining four pins. Just in the interest of keeping the PWM frequency the same.On Arduino Uno, the PWM pins are 3, 5, 6, 9, 10 and 11. The frequency of PWM signal on pins 5 and 6 will be about 980Hz and on other pins will be 490Hz. The PWM pins are labeled with ~ sign.
…Except pin 3Using an Arduino UNO you also want to consider:
So you may want to consider using pins 5&6 or any combination of the remaining four pins. Just in the interest of keeping the PWM frequency the same.
Ron
Why with the exception of pin 3? While I can't recall using pin 3 for PWM why can't it be used? I'm curious on that note.…Except pin 3