As an American with hispanic heritage, fluent english speakers tend to take for granted how difficult the english language can be especially when explaning technical details. Thank you for this video and the effort you have invested into educating us.
Thanks! Trying to keep improving on each video!. I use to buy the power supplies on Aliexpress s.click.aliexpress.com/e/_DCwGQ53 You can also buy them on Amazon, or other suppliers like StepperOnline..., if you want a good one go to Meanwell brand, they do good quality PS.
A pc power supply can supply 12v among other voltages. The same with a laptop one or similar. Just make sure the 12v output provides what you need at the minimum.
Excellent, video exactly what i needed to see. I am new to this stuff and you explained everything clearly and in logical progression. I am just playing around right now to see what things i can do. Thank you so much i have just subscribed and given it a like as well as this comment.
Just FYI about minutes 27:00 on the video, because I have this controller on a stepper attached to a machinist rotary table. The acceleration setting under F-12 is to control motor ramp up/down speed from a dead stop. So if you had a sensitive load to spin that you wanted to gently accelerate without disturbing violently, you could set acceleration to something like 003. It would very slowly build speed until it hits your target speed you set. The instructions state that you are NOT to click CW then CCW to instantly reverse the load, but rather push stop and let the load decelerate to a stop, then you may reverse. The controller works very well with 0-100 acceleration setting options as long as stop the motor before reversing.
Thanks for the info! I had the feeling at least in my unit that even pressing the same direction the acceleration sometimes did not work. I will need to check again.
I’ve been trying to figure this out for months! THANK YOU for the details explanation. One question I have is that my stepper motor seems to be rated for ~5volts, will using a 12v power supply mean that 12volts are going to the motor?
With the ZK-SMC02 driver, yes, the input on the Controller is going to the motor. If you use the ZK-SMC01 with external driver, you can apply different voltages, one to the motor and one to the Controller. It is strange, a motor only supports 5V. Is the motor, or the driver?
Hello, this is a great video and very helpful, thank you. I have one question for you. Do you have any idea how to set up this controller so at rest, meaning it's powered on but neither one of the forward (cw) or reverse (ccw) buttons have been pressed, so it is in a holding it's position state? As it is now, when at rest, the stepper motor spins freely and is not in a holding state. Basically I'm using the stepping motor with a pulley and string to lift a weight and I need it to stay still when in the holding state. Any help or suggestions are greatly appreciated. Thank you in advance.
Ummm, so basically you want to disable the ENABLE signal which is going to the driver while there is no movement so the motor is stalled...., this I think would be challenging because there is no way to indicate the controller to release the ENABLE signal. With external circuitry might be possible but would add complexity to the setup. Maybe using the LEDs and taking a cable to use it as ENABLE signal, so when there is no LED active, the ENABLE signal is disable to motor Stall, but for this easier would be to use the ZK-SMC01 which is the one with external driver.
Hello, excellent video! I have a question, I would like to add an external button to the ZK-SMC02 controller that would only be used when the motor is pressed to start and when the motor is pressed again it will stop. Is it possible to do this? thank you so much
It is the same as SMC01, but you will need to solder the cables from the end stops into the upper PCB since the headers are covered or used by the driver PCB HI! There is a video explaining how to add end stops here: ua-cam.com/video/Sv1FYD_8-FQ/v-deo.html
Excellent video!!! One Question: Is it possible to integrate a limit switch so that the motor stops when it reaches an end position? Liked and subscribed. 😅😅😅
Perhaps you can help me get the correct pin out to hook a small 28BYJ-48 unipolor stepper motor up to the SMC02 driver/controller shown in your video. The drivercontroller connections are labeled A+,A-,B- and B+ in that order. The motor has 5 wires, one of which is red and goes to +5v, but how the other wires, #2(pink), #4(orange), #3(yellow) and #1(blue), hook up to the SMC02 is a mystery to me. No matter what order I put them in the motor does nothing. The spec sheet for the motor says it has a stride angle of 5.625 degrees (64 steps/rev) so I set F-09 at 512 (360/5.625*8 dip switch setting). F-01=PO1, F-02=512, F-03=50, F-04=512, F-05=50, F-06=1, F-07=0, F-08=0, F-09=52, F-10=0, F-11=0, F-12=10, F-13=1. The biggest mystery is still what motor wire goes to what terminal on the driver controller. As you can tell I am just begining this adventure but any help would be appreciated. I am trying to get the hookup correct on this small stepper before I try controlling my 5 wire unipolor motor in my telescope. The telescope controller/driver is burnt out and no replacemets are available. Otherwise I would leave this up to people who know what they are doing.
If the Unipolar motor has 5 cables, you only have two options...one would be to open the housing and remove the internal connection on the middle cable, meaning the one which is going to the middle point of the windings. The second option and easier, is to use a unipolar motor driver, with an Arduino and ULN2003 there are libraries which you wan use to control easily a unipolar motor.
When using a servo or stepper you always need a driver which gives the power to the motor, the driver can be controlled by a pulse generator, this should not be a problem, you will need to drive manually the direction and enable signals.
A very nice and useful video, thank you very much. I liked it. I want to use it in my project and I need low speeds such as 6RPM - 12RPM - 18RPM, but how accurately does the device work? At the end of the video, you run it at low speeds, but unfortunately you don't run it enough to make a full revolution, I couldn't count the RPM.
@@onegeekguy_yt Thank you. Yes, I'm trying to understand whether it works good at low speeds. For example, at 6 RPM, does it really rotate 6 times per minute? Also, is there a decrease in the performance (torque) of the engine at low speeds? What do you think ? Because I tried to do this myself with a DC motor, Arduino, and motor driver, but there was a huge performance drop at low RPM and the motor stopped even when I touched it with my hand. I think stepper motors work differently and do not adjust the speed with voltage.
I have been doing some tests this weekend, 2RPM is the minimum the controller will do, and is having an error, so just to give you some perspective, I tested 2RPM and 10RPM, and after 1 minute, there is an error about 1/4 of a turn. Consider, if you want to go that slow, you will need to reduce the microstepping. If you reduce the microstepping it is more pronning to lost steps under load. But in general the stepper motors have good torque at low speeds, but going above 50RPM is another thing, you can see that the slope is going down in this are in the chart: www.omc-stepperonline.com/index.php?route=product/product/get_file&file=3161/17HE24-2104S_Torque_Curve.pdf
It depends on the mode, but if it is one of these modes in which you adjust the steps the motor turns, you can calculate how many steps 30deg are and set them.
Unfortunately the motor only vibrates. When I adjust the potentiometer for ampere regulation I still get no rotation only vibration. Is there anything else I need to set? I am not an expert Motor 17HS3401S
My motor is just vibrating. What would that mean? EDIT: Just adjusted the pot for the amperage down and it is moving now. How do I fine tune the pot to get the best amperage? I've gone down till motor stops, then up till it starts, then a tad more so when i try to stop it with my finger itkeeps turnign solidly.
usually, the polarity of the motor is incorrect so you may want to double check that. You cannot go by this video to wire your motor as I did because it was the same company name motor, but not in reality the same model by design so what I thought would work from the video actually just made buzzing sounds as well. Go to the actual manufacturers website and type in the model of your motor and then you’ll find the exact color coating.
Thanks for your help. I have one question, I need to connect a motor step by etep nema 34, coudl you tell if this controller is good for this motor ?. Thanks and regards
Might be possible if you configure the driver in the mode which you need to keep the button pushed to run the motor, and short circuit the button. But there is not direct function for this, I think if you just want to run a motor continuously, the best would be a more basic controller which is on Aliexpres.
bom dia, muita boa esplicação também funciona com sensor sendo um sensor para partida e um outro para parada agradeço a atenção gostaria muito deste tipo de driver para motor de passo mena 23
Hello, Nice videos... I find this module also intersting and I have purchased one to make some tests. In the meantime I found your UA-cam video. Dis you made tests of the serial link which is also available on the module and Will allow To control the motor from a PC, a PLC or an Arduino. I'm very interested by this possibility. Thanks.
Hi @PatDuch58, that is a good idea, I will check in the next weeks what can be extracted from the UART that these modules have....probably will post follow up in my Instagram first. Keep you posted
I have been playing around, will do a video with it, but I have a sad new, which is looks like the motor cannot be activated using the "UART", I was able to connect an Arduino to it, also configuring the parameters, but there is no parameter to start the motor, so you can only read the motor status, or set configurations. What you could do, is to use the Arduino GPIOs to enable the motor in a way you set the speed, and mode and so on with the Arduino using the MODBUS (UART) and using GPIOs you enable the motor running and stop it...., I will prepare some info together with how to add Endstop and make a short video.
@@onegeekguy_ytAlredy great that you manage to communicate with the module from an Arduino. Using some GPIO to start/stop the motor is not a big problem... Would you be so kind to make a vidéo or a written Tuto on how to communicate... and maybe share the Arduino program you wrote... I'm just a newbe on Arduino. Thanks in advance...
You can check with a multimeter, in continuity mode the cables which are having continuity correspond to the same winding. Once you have the two pairs identified it is just a matter of trial and error.
I just install an SMC02 and he start the cycle each time that is power by himself , anyone can let me know a setting to wait until I ask to start a cycle?
As an American with hispanic heritage, fluent english speakers tend to take for granted how difficult the english language can be especially when explaning technical details. Thank you for this video and the effort you have invested into educating us.
Thanks! Trying my best :) not perfect but improving.
You are the only video on UA-cam of how to set this controller. Please do a part 2. Liked and subscribed.
Available now 3 extra parts showing bit more details :) Thanks!
Well done....very impressed with your teaching....all I need noow is power sause from 240 volt to 12 volt
Thanks! Trying to keep improving on each video!. I use to buy the power supplies on Aliexpress
s.click.aliexpress.com/e/_DCwGQ53
You can also buy them on Amazon, or other suppliers like StepperOnline..., if you want a good one go to Meanwell brand, they do good quality PS.
A pc power supply can supply 12v among other voltages. The same with a laptop one or similar. Just make sure the 12v output provides what you need at the minimum.
Excellent, video exactly what i needed to see. I am new to this stuff and you explained everything clearly and in logical progression. I am just playing around right now to see what things i can do. Thank you so much i have just subscribed and given it a like as well as this comment.
Thanks!!
Very well explained. It helps me to build flex tapping arm with nema motor. Very very helpful. Thx
Glad to be helpful!
Great video, looking forward to the second video
Thanks!! Working on the second part already
Just FYI about minutes 27:00 on the video, because I have this controller on a stepper attached to a machinist rotary table. The acceleration setting under F-12 is to control motor ramp up/down speed from a dead stop. So if you had a sensitive load to spin that you wanted to gently accelerate without disturbing violently, you could set acceleration to something like 003. It would very slowly build speed until it hits your target speed you set. The instructions state that you are NOT to click CW then CCW to instantly reverse the load, but rather push stop and let the load decelerate to a stop, then you may reverse. The controller works very well with 0-100 acceleration setting options as long as stop the motor before reversing.
Thanks for the info! I had the feeling at least in my unit that even pressing the same direction the acceleration sometimes did not work. I will need to check again.
Fantastic video. Thank you.
I’ve been trying to figure this out for months! THANK YOU for the details explanation. One question I have is that my stepper motor seems to be rated for ~5volts, will using a 12v power supply mean that 12volts are going to the motor?
With the ZK-SMC02 driver, yes, the input on the Controller is going to the motor. If you use the ZK-SMC01 with external driver, you can apply different voltages, one to the motor and one to the Controller. It is strange, a motor only supports 5V. Is the motor, or the driver?
Great review, thank you very much
Hello, this is a great video and very helpful, thank you. I have one question for you. Do you have any idea how to set up this controller so at rest, meaning it's powered on but neither one of the forward (cw) or reverse (ccw) buttons have been pressed, so it is in a holding it's position state? As it is now, when at rest, the stepper motor spins freely and is not in a holding state. Basically I'm using the stepping motor with a pulley and string to lift a weight and I need it to stay still when in the holding state. Any help or suggestions are greatly appreciated. Thank you in advance.
Ummm, so basically you want to disable the ENABLE signal which is going to the driver while there is no movement so the motor is stalled...., this I think would be challenging because there is no way to indicate the controller to release the ENABLE signal. With external circuitry might be possible but would add complexity to the setup. Maybe using the LEDs and taking a cable to use it as ENABLE signal, so when there is no LED active, the ENABLE signal is disable to motor Stall, but for this easier would be to use the ZK-SMC01 which is the one with external driver.
Thanks for such a wonderful video.
If I changed the F9 pulse number parameter to 640, does F2 and F4 need to be changed to 6400 ?
Hello, excellent video!
I have a question, I would like to add an external button to the ZK-SMC02 controller that would only be used when the motor is pressed to start and when the motor is pressed again it will stop. Is it possible to do this?
thank you so much
Thank you for this tutorial, I have a question, is it possible to install an end stop on the SMC02? thanks
It is the same as SMC01, but you will need to solder the cables from the end stops into the upper PCB since the headers are covered or used by the driver PCB
HI! There is a video explaining how to add end stops here:
ua-cam.com/video/Sv1FYD_8-FQ/v-deo.html
Excellent video!!!
One Question: Is it possible to integrate a limit switch so that the motor stops when it reaches an end position?
Liked and subscribed. 😅😅😅
Answered in the other comment :)
Thank you very much.
Perhaps you can help me get the correct pin out to hook a small 28BYJ-48 unipolor stepper motor up to the SMC02 driver/controller shown in your video. The drivercontroller connections are labeled A+,A-,B- and B+ in that order. The motor has 5 wires, one of which is red and goes to +5v, but how the other wires, #2(pink), #4(orange), #3(yellow) and #1(blue), hook up to the SMC02 is a mystery to me. No matter what order I put them in the motor does nothing. The spec sheet for the motor says it has a stride angle of 5.625 degrees (64 steps/rev) so I set F-09 at 512 (360/5.625*8 dip switch setting). F-01=PO1, F-02=512, F-03=50, F-04=512, F-05=50, F-06=1, F-07=0, F-08=0, F-09=52, F-10=0, F-11=0, F-12=10, F-13=1. The biggest mystery is still what motor wire goes to what terminal on the driver controller.
As you can tell I am just begining this adventure but any help would be appreciated. I am trying to get the hookup correct on this small stepper before I try controlling my 5 wire unipolor motor in my telescope. The telescope controller/driver is burnt out and no replacemets are available. Otherwise I would leave this up to people who know what they are doing.
If the Unipolar motor has 5 cables, you only have two options...one would be to open the housing and remove the internal connection on the middle cable, meaning the one which is going to the middle point of the windings. The second option and easier, is to use a unipolar motor driver, with an Arduino and ULN2003 there are libraries which you wan use to control easily a unipolar motor.
Thank you.
You're welcome!
Is it possible to drive an AC servo motor with a pulse generator without a driver?
When using a servo or stepper you always need a driver which gives the power to the motor, the driver can be controlled by a pulse generator, this should not be a problem, you will need to drive manually the direction and enable signals.
hey, can we add here phisical start/stop buttons (external) ? Can we add end stop proximity sensors ?
Yes, external buttons are possible. There are pins on the PCB.
Since there were some questions regarding this, I might do a video with some interesting setups....Thanks!
@@onegeekguy_yt This could be great
And on the pins, one is called "reserved".
No idea what is it's use.
I tried to ask Chineese seller but no answer...
hi, this is good controller, is there any way to make it 5axis or more, if it is please advise how to do that. thanks
What do you mean with 5 axis? CNC?
Hi I buy 2 of these when I connect 24v dc in to it it blow the cupastor
Tha is strange, the controllers are rated till 30V, which capacitors died?
Will the SMC02 work with the nema23 stepper motor 2.8 amps?
For 2.8 amps unless you dont need to run the motor all the time, I would recommend using an external driver, or a fan into the heatsink of the SMC02
Nice video. Thank you.
Thanks!
A very nice and useful video, thank you very much. I liked it. I want to use it in my project and I need low speeds such as 6RPM - 12RPM - 18RPM, but how accurately does the device work? At the end of the video, you run it at low speeds, but unfortunately you don't run it enough to make a full revolution, I couldn't count the RPM.
Thanks! You want to see if the device is working fine at low speeds? Let me know more details about what you would need and I can check it!
@@onegeekguy_yt Thank you.
Yes, I'm trying to understand whether it works good at low speeds. For example, at 6 RPM, does it really rotate 6 times per minute? Also, is there a decrease in the performance (torque) of the engine at low speeds? What do you think ? Because I tried to do this myself with a DC motor, Arduino, and motor driver, but there was a huge performance drop at low RPM and the motor stopped even when I touched it with my hand. I think stepper motors work differently and do not adjust the speed with voltage.
I have been doing some tests this weekend, 2RPM is the minimum the controller will do, and is having an error, so just to give you some perspective, I tested 2RPM and 10RPM, and after 1 minute, there is an error about 1/4 of a turn. Consider, if you want to go that slow, you will need to reduce the microstepping. If you reduce the microstepping it is more pronning to lost steps under load. But in general the stepper motors have good torque at low speeds, but going above 50RPM is another thing, you can see that the slope is going down in this are in the chart:
www.omc-stepperonline.com/index.php?route=product/product/get_file&file=3161/17HE24-2104S_Torque_Curve.pdf
I have problem with F-6 set at infine but it still stop after run for around 2minutes. Can you tell me what is going on? Thanks.
Hola cómo puedo hacer para que haga un motor como un columpio para una maqueta de feria que módulo necesita para un motde 12v gracias
Can i adjust the angle i would like the shaft to turn? For example 30 degree?
It depends on the mode, but if it is one of these modes in which you adjust the steps the motor turns, you can calculate how many steps 30deg are and set them.
@@onegeekguy_yt ok that's good information, because i need this function to upgrade bending machine in my workplace
Unfortunately the motor only vibrates.
When I adjust the potentiometer for ampere regulation I still get no rotation only vibration.
Is there anything else I need to set?
I am not an expert
Motor 17HS3401S
My motor is just vibrating. What would that mean?
EDIT: Just adjusted the pot for the amperage down and it is moving now.
How do I fine tune the pot to get the best amperage? I've gone down till motor stops, then up till it starts, then a tad more so when i try to stop it with my finger itkeeps turnign solidly.
Best to adjust the current is in the real situation or scenario, you can just apply enough current so the motor works properly
@@onegeekguy_yt thank you. It's on a peristaltic pump so doesn't need a mega amount of torque.
Great little controller. Thanks for the help.
usually, the polarity of the motor is incorrect so you may want to double check that. You cannot go by this video to wire your motor as I did because it was the same company name motor, but not in reality the same model by design so what I thought would work from the video actually just made buzzing sounds as well. Go to the actual manufacturers website and type in the model of your motor and then you’ll find the exact color coating.
Thanks for your help.
I have one question, I need to connect a motor step by etep nema 34, coudl you tell if this controller is good for this motor ?.
Thanks and regards
Use the SMC01 with external driver for a Nema 34
Is there any way to have the driver start the stepper motor automatically after a power out?
Might be possible if you configure the driver in the mode which you need to keep the button pushed to run the motor, and short circuit the button. But there is not direct function for this, I think if you just want to run a motor continuously, the best would be a more basic controller which is on Aliexpres.
bom dia, muita boa esplicação também funciona com sensor sendo um sensor para partida e um outro para parada agradeço a atenção gostaria muito deste tipo de driver para motor de passo mena 23
Hello,
Nice videos...
I find this module also intersting and I have purchased one to make some tests.
In the meantime I found your UA-cam video.
Dis you made tests of the serial link which is also available on the module and Will allow To control the motor from a PC, a PLC or an Arduino.
I'm very interested by this possibility.
Thanks.
Hi @PatDuch58, that is a good idea, I will check in the next weeks what can be extracted from the UART that these modules have....probably will post follow up in my Instagram first. Keep you posted
@@onegeekguy_yt Thanks à lot... This would help me.
I'd like to control the stepper motor from an Arduino
I have been playing around, will do a video with it, but I have a sad new, which is looks like the motor cannot be activated using the "UART", I was able to connect an Arduino to it, also configuring the parameters, but there is no parameter to start the motor, so you can only read the motor status, or set configurations. What you could do, is to use the Arduino GPIOs to enable the motor in a way you set the speed, and mode and so on with the Arduino using the MODBUS (UART) and using GPIOs you enable the motor running and stop it...., I will prepare some info together with how to add Endstop and make a short video.
@@onegeekguy_ytAlredy great that you manage to communicate with the module from an Arduino.
Using some GPIO to start/stop the motor is not a big problem...
Would you be so kind to make a vidéo or a written Tuto on how to communicate... and maybe share the Arduino program you wrote... I'm just a newbe on Arduino.
Thanks in advance...
Hola buenas noches, en español no lo tendrías?
Hello! You know the cable position of 42shd0034-20b?
Tankiu!
You can check with a multimeter, in continuity mode the cables which are having continuity correspond to the same winding. Once you have the two pairs identified it is just a matter of trial and error.
@@onegeekguy_yt Tankiu
I just install an SMC02 and he start the cycle each time that is power by himself , anyone can let me know a setting to wait until I ask to start a cycle?
bro i got this setup myself and mines is acting like speakers more the motor :)) why are they so loud ? this is rubbish
Easier to understand at .75 playback speed. You need to speak a bit more slowly, please.
Noted! Thanks!
Hi there im wondering if can help me with some information but how can i contact you with an email? If is possible thanks
You can write me to info(at)onegeekguy.com