METRO M0 EXPRESS PMW
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- tkoon24
- Posts: 2
- Joined: Sat Apr 16, 2022 10:51 am
METRO M0 EXPRESS PMW
Hello all, I am currently trying to code a motor controller with PMW output. However, I can not figure out how call out the PMW pins in circuitpython. Any help would be much appreciated, thank you!
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: METRO M0 EXPRESS PMW
What hardware are you using to drive the motor?
Dave
Dave
- tkoon24
- Posts: 2
- Joined: Sat Apr 16, 2022 10:51 am
Re: METRO M0 EXPRESS PMW
The motor is being controlled through an external controller in terms of current and voltage. However, in the controller plug-in ( essentially a potentiometer controller ), my professor would prefer I use a motor controller to send a different voltage back into the signal. The current is dismal and the voltage can range from 1-4V. I plan on using two buttons (one for stepped deceleration / other for stepped acceleration) to send a signal back to the board. Which would in turn, send the PWM signal to the motor with the respective signal (voltage).
However, I do not know if I am understanding it correctly. Best Regards!
Trevor
However, I do not know if I am understanding it correctly. Best Regards!
Trevor
- dastels
- Posts: 15667
- Joined: Tue Oct 20, 2015 3:22 pm
Re: METRO M0 EXPRESS PMW
So, you are having trouble understanding how yo generate a PWM signal from CircuitPython?
If that's the case, this might help: https://learn.adafruit.com/circuitpytho ... python-pwm
Dave
If that's the case, this might help: https://learn.adafruit.com/circuitpytho ... python-pwm
Dave
Please be positive and constructive with your questions and comments.