PWM with DC motor?
-
I have a noob question as I get started using the onion. I'm starting to set up the DC motor using the PWM module. but if I want it to go forward and backward am I going to need 2 signal pins because it seems like the PWN module only allows for 1. Maybe that isn't how that works. Maybe could someone link me a resource to see how to set this up? Thank you.
-
Update:
I did some reasearch and I think I can do the same thing as this article about an arduino and DC motor but with an Onion.
https://openhomeautomation.net/remotely-controlling-a-motor-using-arduino-python-and-php/
-
@radio1039 If you get this working, definitely come back with a write up! I would love to try this out, it is on my list for future experimentation.