Тёмный
No video :(

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

OneGeekGuy
Подписаться 1,8 тыс.
Просмотров 4 тыс.
50% 1

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
-----------------------------------------------------------------------

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@holzgasse9214
@holzgasse9214 2 месяца назад
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 5 месяцев назад
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 5 месяцев назад
Excellent video, very cool 😉👏👏👏
@onegeekguy_yt
@onegeekguy_yt 5 месяцев назад
Thanks!!
@patrickduchene3007
@patrickduchene3007 5 месяцев назад
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 5 месяцев назад
You are welcome! I hope the small Arduino code I prepared is useful!
@PatDuch58
@PatDuch58 5 месяцев назад
​@@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 5 месяцев назад
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 5 месяцев назад
​@@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 3 месяца назад
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 месяца назад
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 5 месяцев назад
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 5 месяцев назад
Thank's a lot for this video. Does this with the endstops also work with the SMC-02?
@onegeekguy_yt
@onegeekguy_yt 5 месяцев назад
It works in the same way! You can use endstops in both
@nikolauspuck742
@nikolauspuck742 5 месяцев назад
Thank you very much.
@Trashedfc7
@Trashedfc7 2 месяца назад
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 Месяц назад
No, the endstops do not depend on using external driver or not.
@dumbravatraian198
@dumbravatraian198 2 месяца назад
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...
@patriciodesouzasilva317
@patriciodesouzasilva317 4 месяца назад
great job, endstop npn , pnp , no, nc ?
@onegeekguy_yt
@onegeekguy_yt 4 месяца назад
You need to use NO mechanical switches.
@valentinvoicu663
@valentinvoicu663 3 дня назад
hey, can i controll Smc02 with esp32 on the mobile app? i have the smc 02 unit and i'm trying to make this working wirelessly for a cablecam device.
@onegeekguy_yt
@onegeekguy_yt День назад
Yes, would be same as with Arduino, you can also use GPIOs to directly act on the switches.
@valentinvoicu663
@valentinvoicu663 2 часа назад
@@onegeekguy_yt awesome, cam u please help me make the connection between smc02 esp and blynk?
@chanchalsakarde2768
@chanchalsakarde2768 4 месяца назад
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 4 месяца назад
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.
@trivu2878
@trivu2878 26 дней назад
I have 2 SMC01 and 1 SMC02. I would like they are start or stop at the same time. Please help.
@onegeekguy_yt
@onegeekguy_yt 25 дней назад
If you connect them in parallel with external switches, they can start the motors at same time
@trivu2878
@trivu2878 25 дней назад
@@onegeekguy_yt Can you help me with the diagram how to connect them? Thanks a lot.
@trivu2878
@trivu2878 26 дней назад
Can we link one SMC01 to another SMC01 so we can start or stop 2 motor at the same time? Please help. thanks in advance.
@ccleadge
@ccleadge День назад
I have the same question. My basic understanding is the signal from the controller can be daisy chained between two drivers.
@onegeekguy_yt
@onegeekguy_yt День назад
As @ccleadge said, yes you can chain two drivers with the same controller. Also you can put two controllers in parallel, should work
Далее
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 528 тыс.
I spent all summer building THIS! (relay computer)
22:34
How to wire a STEPPER motor and CONTROLLER
7:47
Просмотров 78 тыс.
Try these 16 Brilliant ESP32 projects!!!
11:18
Просмотров 560 тыс.
Stepper Drivers: Simplified!
24:56
Просмотров 7 тыс.
Program the ATTINY85 with Arduino 1.8.18 (2022)
7:35