Replies: 5 comments 4 replies
-
I've thrown something together today - it builds OK, but I don't have an MX1508 on-hand to test. If you're willing to test it, I'd appreciate it. To get the new code:
I've updated the documentation along with this, so take another look at Flashing Your Microcontroller, specifically step 3. |
Beta Was this translation helpful? Give feedback.
-
Amazing, thanks!! Will do some testing tonight and let you know! |
Beta Was this translation helpful? Give feedback.
-
related: #54 |
Beta Was this translation helpful? Give feedback.
-
Update: I tested the PWM branch and it worked great! I tried PWM speeds from 100-255 and got a good feel for how the MX1508 drives the motor. At a a value of 200 the motor rotates at ~23 RPM (not connected to the winder). Comparing to a winder I built with the L298N which rotates at ~18 RPM at the motor, I think the notional value of the PWM setting in the code is around 145, but I'll assemble another winder and check compared to the original. |
Beta Was this translation helpful? Give feedback.
-
This feature has been merged into the main branch now. |
Beta Was this translation helpful? Give feedback.
-
The L298N motor driver is quite large and I feel that I really have to shove it into the case to make it work, especially with the enclosed case remix. It would be nice if support for PWM based motor driver boards like the MX1508 could also work. The MX1508 boards are also less than half the size of the L298N. I bought some MX1508 boards to test and found they work as a drop in replacement, but are being overdriven by the 5 or 6 volts from the ESP32 and spins WAY faster than normal because the digitalWrite only sets pin 25/26 to HIGH at system volatage. If the code were updated to allow PWM control to fine-tune the motor control for smaller motor boards that would be awesome!
Beta Was this translation helpful? Give feedback.
All reactions