improved rc control of stepper motor position

Поділитися
Вставка
  • Опубліковано 15 жов 2024
  • improved rc control of stepper motor position

КОМЕНТАРІ • 11

  • @conservativegunsandarmor
    @conservativegunsandarmor 2 роки тому

    I am building a very similar project and I can't seem to upload the code to my FTDI adapter for the pro mini board. Is there anyway you could take a look at what I have and see what I'm doing wrong. I'll pay you for your help. This project is very important to me and I can't find anyone who knows how to help me. Thank you

  • @RizHassan
    @RizHassan 2 роки тому

    Can you build a similar setup using a brushless motor? You might need an encoder. Brushless offer more torque and are lightweight comparitivly.

    • @ChuckSwiger
      @ChuckSwiger  2 роки тому

      Sure could, and you would definitely need an encoder for position feedback, like this re-purpose of a printer carriage with dc motor and strip position encoder ua-cam.com/video/wWh4SNONnXQ/v-deo.html&ab_channel=ChuckSwiger

  • @alimefealim
    @alimefealim Рік тому

    Do you have a wiring diagram of the circuit?

    • @ChuckSwiger
      @ChuckSwiger  Рік тому

      Yes the project is still on the workbench so drew up this swigerco.com/RCStepperCircuit.jpg
      It is fairly straightforward - whichever channel of the R/C receiver you want to follow, connect to Pin 4 of the Arduino Pro Mini 3.3v 8Mhz board, and tie a ground to them also. Pin 10 of the pro mini connects to the STEP input of the easydriver and Pin 9 to the DIRECTION input, and the motor to the board outputs. This uses the easydriver to regulate the 12v battery down to 5V which powers the raw input of the pro mini and uses the regulator on that to get it's 3v3. Ground is common to all three boards and the 12v battery negative. The easydriver has a pot for setting the motor current - high enough to get good traction without slipping but not so high the motor runs hot. Also see projecthub.arduino.cc/kelvineyeone/113bac48-77c6-419b-99e5-287275e4251a for more detailed instructions.

  • @jerimiahake
    @jerimiahake 3 роки тому

    Would you share this sketch? I’m trying to do this exact thing.

    • @ChuckSwiger
      @ChuckSwiger  3 роки тому +2

      Sure - gitlab.com/cswiger/AccelStepper_EasyDriver_RC/ it uses a really good project that reads servo signals from an R/C receiver - just combined with the stepping motor AccelStepper library in a few simple lines.

  • @ChuckSwiger
    @ChuckSwiger  2 роки тому

    Code published at gitlab.com/cswiger/AccelStepper_EasyDriver_RC/

  • @aeromaker_fpv
    @aeromaker_fpv 2 роки тому

    Could you share the final code?

    • @ChuckSwiger
      @ChuckSwiger  2 роки тому

      Sure - it is published at gitlab.com/cswiger/AccelStepper_EasyDriver_RC/

    • @aeromaker_fpv
      @aeromaker_fpv 2 роки тому

      @@ChuckSwiger thank you so much!