0
$\begingroup$

I'm currently working on a setup with Raspberry Pi, a 12 V DC motor and a L298N driver. I need the motor to go from 12000 RPM to 200 RPM, or at least in that range - the only problem is that the L298N driver stalls under 10% Duty Cycle, and therefore can only reach 1200 RPM (I think that is how that works lol). I tried using the sleep() function in Python to emulate 1/10 of a 10% duty cycle to reach 120 RPM, but that doesn't work for reasons beyond my understanding. I have a device to check RPM. Any recommendations? I am willing to buy new parts or build stuff to make this work - let me know if I need to provide specifics for any of the parts.

As for what I've found - I need to understand how all of this works first off: https://www.youtube.com/watch?v=Oai8qMH2yTU&ab_channel=engineer2 something like this is what I saw, but it uses an Arduino not an RPi. I could possibly connect the two, buttttt I want to see if it is possible to do it using a RPi, and why it is happening.

$\endgroup$
3
  • 1
    $\begingroup$ Clear diagram of setup? $\endgroup$
    – Solar Mike
    Commented Nov 6, 2022 at 6:39
  • $\begingroup$ @SolarMike didnt make one. ill try to whip one up if i get time. $\endgroup$
    – Rhythm
    Commented Nov 7, 2022 at 2:00
  • $\begingroup$ Code. How does a driver stall? As in motor it is driving stalls? Does it work with no-load? $\endgroup$ Commented Nov 7, 2022 at 16:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.