Using a radio control receiver PWM servo signals to control a Stepping Motor position

Поделиться
HTML-код
  • Опубликовано: 10 фев 2021
  • Stepper motor position controlled by a Sparkfun EasyDriver stepper motor controller, an Arduino pro-mini 3.3v 8MHz and a radio control set, with AccelStepper library and a really nice RC pwm input project from create.arduino.cc/projecthub/...
    Complete code used in the above is here: gitlab.com/cswiger/AccelStepp...

Комментарии • 6

  • @omrahn8906
    @omrahn8906 2 года назад +1

    Would it be possible to use the switch located at the top of the controller, instead of using the throttles, to move the stepper motor only a certain angle, say 15 degrees, or 8 steps? As opposed to continuously rotating it?

    • @ChuckSwiger
      @ChuckSwiger  2 года назад +2

      It certainly is and would be a Simple Matter of Programming to read the switch and output the desired action.

  • @botak333
    @botak333 Год назад +1

    It posible to put a magnetic encorder? Soa measure very perfect?? Like a dc servo

    • @yeroca
      @yeroca Год назад

      Measurement of the output angle isn't the problem here, I think, because the controller knows exactly how many steps it has sent, and that precisely determines how many angular steps the motor has taken (as long as the steps aren't sent too quickly). However, you do need a way to reset the motor to a known position. A magnetic encoder would work for that, but it seems like overkill. Limit switches are typically used.
      However measurement of the PWM signal seems to be what's causing the jitter here. Maybe the raw PWM signal is jittery itself, or the arduino code isn't doing a great job of measuring it.

    • @botak333
      @botak333 Год назад

      @@yeroca because i want to make servo from stepper sir, posible to. Controlfrom pwm

  • @olivermarquez7979
    @olivermarquez7979 Год назад

    Tutorial pls