Running Stepper Motors with MicroPython and an ESP32 - Tutorial - Software Included!

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 12

  • @WilliamSunPetrus
    @WilliamSunPetrus 3 ปีที่แล้ว

    Very thorough tutorial! I will have to try this some time. Thanks for sharing

    • @ClaytonDarwin
      @ClaytonDarwin  3 ปีที่แล้ว +2

      Thanks for watching. It would be cool to make an organ of some sort with steppers. Similar to some of the stuff you do.

  • @ofirgaash
    @ofirgaash 2 ปีที่แล้ว

    Thank you. I learned a lot.

  • @Hipsta
    @Hipsta 2 ปีที่แล้ว

    Hi, great tutorial. Many thanks

  • @kristianpraslicka3669
    @kristianpraslicka3669 2 ปีที่แล้ว

    Great tutorial! You helped me a lot, thank you :)

  • @foadyousefi
    @foadyousefi 2 ปีที่แล้ว

    Great video. I'm using your code in one of my projects. Was wondering how one can implement acceleration and deceleration for soft start and stop the motion.

    • @ClaytonDarwin
      @ClaytonDarwin  2 ปีที่แล้ว +1

      Thanks. The only option I know of for these types of controllers is to vary the pause time between steps. For example, you could start a series of steps at 200% of the target pause between steps, and then decrease the pause between steps until you reach the target. At then end of the step series, you could start increasing the step pause time. This will work pretty well when you have a long series of steps, not so well when you have a short series. Also, this will work better for belt drives moving heavy loads. Direct drives and light loads don't benefit as much or at all as there is no buffer to absorb and release the step energy.

  • @Dasol0246
    @Dasol0246 2 ปีที่แล้ว

    Need code for a closed loop stepper motor, will this code work to give me positional control?

    • @ClaytonDarwin
      @ClaytonDarwin  2 ปีที่แล้ว

      No. You would have to add code to read the position controller.

  • @KY_Zhu
    @KY_Zhu 2 ปีที่แล้ว

    Hi, I was wondering where I could download the st.mpy file. It doesn't seem to be in your file depository.

    • @ClaytonDarwin
      @ClaytonDarwin  2 ปีที่แล้ว

      Look in the Funboard V2 repository. It's system_tools.py. Probably in lib builtins.