HOW-TO: Motor Controller for NEMA Motors SMC01 Endstops and Arduino Part 4

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • HOW-TO: Motor Controller for NEMA Motors SMC01 Endstops and Arduino Part 4
    First Part: • HOW-TO: Motor Controll...
    Second Part: • HOW-TO: Motor Controll...
    Third Part: • HOW-TO: Motor Controll...
    Fourth Part: • HOW-TO: Motor Controll...
    From the latest video comments, I decided to extend one more video this series, this time I show you how you can connect external endstops in the motor controller, and also how we can use the communication connection which the motor controller has.
    / onegeekguy
    In case you want to buy the controller, or other parts:
    -SMC02 With Driver Incorporated
    s.click.aliexpress.com/e/_DDd...
    -SMC01 Without Driver
    s.click.aliexpress.com/e/_DFO...
    -XH 2.54mm Connectors
    s.click.aliexpress.com/e/_Dd0...
    -Nema17 Driver
    s.click.aliexpress.com/e/_Dmd...
    - Arduino NANO
    s.click.aliexpress.com/e/_Dkf...
    - Adapter for Arduino Nano
    s.click.aliexpress.com/e/_Dkf...
    -Power Supply
    For the manual, you can find them here:
    -SMC02 With Driver Incorporated
    attach01.oss-us-west-1.aliyun...
    -SMC01 Without Driver
    m.media-amazon.com/images/I/6...
    Arduino Library for MODBus:
    www.arduino.cc/reference/en/l...
    github.com/4-20ma/ModbusMaster
    Arduino code used in the video:
    gitlab.com/OneGeekGuy/arduino...
    Any doubt, post it in the comments.
    -----------------------------------------------------------------------
    Music By leonellcassioSong
    / leonellcassiosong
    Help You Out (ft. Jonathon Robins) [Royalty Free/Free To Use]
    / helpyouout
    -----------------------------------------------------------------------
  • НаукаНаука

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

  • @holzgasse9214
    @holzgasse9214 Месяц назад +1

    Das das beste Video, dass ich zu diesem Controller finden konnte. Viele Dank dafür. Das Verstehe alles, ohne ein Experte zu sein. Sehr gut!

  • @vdubs4life1964
    @vdubs4life1964 4 месяца назад +1

    Thank you my good sir. I needed this to build a machine to make this specific part that we sell at my job.

  • @arduinomaquinas
    @arduinomaquinas 4 месяца назад +1

    Excellent video, very cool 😉👏👏👏

  • @patrickduchene3007
    @patrickduchene3007 4 месяца назад +1

    Hello, Thanks a lot for this 4th Video that I was suggesting in previous.
    It's really what I was looking for. It will open projects for me.
    I will try your code with an Arduino?
    Man, you are really Great 👍

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

      You are welcome! I hope the small Arduino code I prepared is useful!

    • @PatDuch58
      @PatDuch58 4 месяца назад +1

      ​@@onegeekguy_ytI will try it as soon as possible...
      Did you investigate other errors in memory parameters.
      I need the 2 speeds and the travels...

    • @onegeekguy_yt
      @onegeekguy_yt  4 месяца назад +1

      I did not took a look to the travels, but...., when you send the command to change the parameters, they change in real time so you see the numbers changing, what can be done is a small code in Arduino which change address by address, and when the number change you know that address is the one you need....just as idea. @@PatDuch58

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

      ​@@onegeekguy_ytOK I will check when I will mamage to be connected to the module with an Arduino...
      I'm still learning Arduino programming...
      Thanks anyway for your reactivity...
      I have checked your Instagram... and I'm follower now...

  • @Adam-Builds-It
    @Adam-Builds-It 2 месяца назад

    Thank you for the video. This set up is almost exactly what I need but I need to activate the controller with a trigger. When 5-12v is present I need to move the motor in forward direction, and when the 5-12v is taken away, I need it to move in reverse direction. Do you know if the controller can take that kind of input?

  • @torsiondell
    @torsiondell 3 месяца назад +1

    Thanks for the video adding limit switches but my controller is the SMC-02

    • @onegeekguy_yt
      @onegeekguy_yt  3 месяца назад

      You will need to solder the cables, same position as SMC01 but in the upper PCB.....(Driver PCB)

  • @PatDuch58
    @PatDuch58 4 месяца назад +1

    Hello OneGeekGuy, This module is really great to make autofeed control of the table of a small milling machine.
    The problem is that we need on a milling machine a SS (slow speed) for machining and a HS (high speed) for fast moving from one point to the other without having to change the SS setting that you set for your machining operation.
    The problem of this module is that you need to turn the button a big number of rotation to go from SS to HS and back.
    My idea would be to use a very small Arduino (Mini, Nano, Tiny...) with on Digital Input (Push Button "HS") and connected to serial link of module.
    When PB pressed, Arduino read the actual value of SS ( param F-03 register 0002h), store it in a memory and load the HS value (from a memory location).
    When PB relased, the previous SS is relaoded in register 0002h.
    What do you thing about that...😊
    As you have already all in place for this video... and that you seem to be good in Arduino (which is not yet my case), would you be so kind to test this...
    Thanks in advance...
    K. R.
    Patrick.

  • @nikolauspuck742
    @nikolauspuck742 4 месяца назад +2

    Thank's a lot for this video.
    Does this with the endstops also work with the SMC-02?

    • @onegeekguy_yt
      @onegeekguy_yt  4 месяца назад +1

      It works in the same way! You can use endstops in both

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

      Thank you very much.

  • @dumbravatraian198
    @dumbravatraian198 Месяц назад +1

    Hi there in forward and reverse pin can be imput to signal and not whing ani com for hand wheel encoder encoder had A,B witch is reverse and forward ????

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

      Could you re formulate your question? I dont get the part of the encoder sorry...

  • @chanchalsakarde2768
    @chanchalsakarde2768 4 месяца назад +1

    how to control steps movements, like lets say we have 400 circular points to move one by one and i need to move pointer in following example sequence starting from 0->10->240->45->28-> .......... -> 400 . How can we automate this ..

    • @onegeekguy_yt
      @onegeekguy_yt  3 месяца назад +1

      I think these modules have not enough flexibility to add that many steps, we would need to think about using something bit more powerful or specific.

  • @Trashedfc7
    @Trashedfc7 Месяц назад +1

    I'm new to step motors and the controllers, do i have to connect the external driver to use the end stops?

    • @onegeekguy_yt
      @onegeekguy_yt  Месяц назад +1

      No, the endstops do not depend on using external driver or not.

  • @patriciodesouzasilva317
    @patriciodesouzasilva317 4 месяца назад +1

    great job, endstop npn , pnp , no, nc ?

    • @onegeekguy_yt
      @onegeekguy_yt  3 месяца назад

      You need to use NO mechanical switches.