Closed loop stepper guide ⚙️📕 (Cloudray CLE23)

Поделиться
HTML-код
  • Опубликовано: 20 июл 2024
  • Guide on how to use closed-loop stepper motors. I'm using a NEMA 23 motor from Cloudray in combination with the CLE23 driver.
    Code: github.com/stijnsprojects/Clo...
    Timestamps:
    00:00 Intro
    00:07 Wiring
    00:45 Dip switches
    01:16 Step/Dir Arduino
    01:48 RJ11 RS232
    03:03 Outro
  • НаукаНаука

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

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

    Thanks buddy !!!🎉🎉🎉🎉🎉

  • @RubensCampello
    @RubensCampello 7 месяцев назад

    I'm about to buy this same combo, 30kgf motor and CL23 with the purpose of replacing my cnc motors which are also 30kgf but open loop. What do you think of this Cloudray kit, does it look good to you? I found few videos talking about it.

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

    hi mate, I was excited to find your video!! im currently having issues trying to set up this exact same motor driver combo, and want to test it outside my controller using an arduino, can you please share the sketch? you mentioned it was available in the description, however i cannot find it! thanks alot!

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

      Hello, I updated the description with the link to the code, let me know if you have any other questions.

  • @SupertankCreations
    @SupertankCreations 10 дней назад

    Waarschijnlijk Nederlands 😂 🎉

  • @smspku
    @smspku 5 месяцев назад

    Hi... Why my motor only vibrating (it won't rotating) then driver Alarm blinking for 7times, I use HBS86H driver to drive my closed loop stepper motor.

  • @ahmedsalah8323
    @ahmedsalah8323 Месяц назад

    Hello sir, i’m going to use my stepper motor for preventing a rider from holding the brakes then releasing the brakes on a bicycle so which pin from the 8 pins should i use?

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

    Hello Stijns, i'm currently working with this motor driver combo!
    Sir if I need to get the encoder values to know the velocity in cps on my arduino board, Can I get this from the encoder cables and make like some sort of extra wire connection in the EA+ and EB+ to arduino analog pins? Or I need to make it open loop with the switch 8 of cle23 and use the encoder cables myself. I'm trying to make a closed loop velocity control for this. Thank you for sharing this knowledge.

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

      I think you can get the encoder dat from the encoder cable, make sure you also connect the GND from the driver to the GND from the Arduino, I've not tested it myself.

    • @vp.8181
      @vp.8181 Год назад

      Hello,
      I have ordered closed stepper motor from rtelligent . Can I use the encoder directly with Arduino or teensy . I want to keep update of current position. So right now I am using stepper motor with external optical encoder and i keep track of position. Also the ordered one has optical encoder. So just to confirm will it work with Arduino and teensy 4.
      I will connect A,B,gnd and 3.3v on teensy. Will it work without A- and B-

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

      Yes, you can read the position from the encoder with a microcontroller. From my experience they work on 5V. You will need to add a common ground between the driver and microcontroller, otherwise you are reading a floating signal.

  • @ThyerHazard
    @ThyerHazard 10 месяцев назад

    When I use the dip switches to set the motor to anything other than 40000 pul/rev the motor makes loud clicking noises, If i leave all dips off it works fine.

    • @ThyerHazard
      @ThyerHazard 10 месяцев назад

      Also noticed you say not to go above 1000, but in your clips you show all Dips being on, so thats 3600? I'm a big confused

    • @stijnsprojects
      @stijnsprojects  10 месяцев назад

      The encoder can sense the position with 360°/1000pulses accuracy, this means there is not really a benefit (if you look at it from a closed-loop accuracy perspective) for setting the driver higher than 1000 steps/rev, this does not mean that you should not do it. What is 'loud' to you and how is the motor mounted? More microstepping makes the motion smoother and more quiet but you lose torque.

  • @elsunshine9976
    @elsunshine9976 6 месяцев назад

    Hello can you home the stepper without the need of a sensor just with the encoder? Like a cnc ?

    • @stijnsprojects
      @stijnsprojects  6 месяцев назад

      Some drivers have current sensing, this can be used for homing. I'm not sure if this one can so that.

  • @gilleshenri9529
    @gilleshenri9529 10 месяцев назад

    hi
    I have the same products as you, but I don't know how to configure the SW8 switch
    Can you help me please ?
    what speed can the motors reach??
    I set the driver: "steps per" to 800, "velocity" to 3000 and "acceleration" to 300
    thanks in advance
    gilles

    • @stijnsprojects
      @stijnsprojects  10 месяцев назад

      Switch 8 is used to switch between open (stepper) and closed (servo) loop, closed loop (servo) is generally better. The maximum speed depends on the load, you can test this without destroying the motor or driver, if it can't handle it, you will get an error (red light blinks).

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

    hi can i know the make address to stepper motor controller or have a suggested method to run 6 motors using 0ne (01) usb port ?

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

      The rj11 is not often used to drive the motors, it is mostly used to change the settings. I do think it is possible to drive multiple motors by having the software open multiple times or recording the commands that are send and implementing those in your own software.

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

    Hi - where did you find the Ruitech configurator?

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

      Hello, the Rtelligent software is compatible with the Cloudray driver, you can download the RTConfigurator on the projects GitHub repository (github.com/stijnsprojects/closed-loop-steppers) or on Rtelligents website (www.rtelligent.cn/download_list_3.html)

  • @Dasol0135
    @Dasol0135 4 месяца назад

    would this motor allow me to accurately drive the shaft from 0 to 360 degrees with a raspberry pi?

    • @stijnsprojects
      @stijnsprojects  4 месяца назад

      That depends on what you mean with 'accurately', what load you want to move and how long it should take. But generally a closed loop stepper does have those properties.

    • @Dasol0246
      @Dasol0246 4 месяца назад

      super accuracy not required general direction for small 6v solar panel following the sun.@@stijnsprojects