Arduino with TB6600 using AccelStepper library

Arduino with TB6600 using AccelStepper library

Curious Scientist

4 года назад

67,571 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dreamtoneamps
@dreamtoneamps - 28.07.2023 17:47

I appreciate your hard work thank you! I give you much credit for your participation and answering all the comments. I am here because I am setting up a Taig mini mill now with steppers and I am trying to learn. I will be sure to read the AccelStepper library as well.

Ответить
@dalton11231
@dalton11231 - 08.02.2023 07:46

how to do that now with the arduino being powered by an external power supply

Ответить
@ustadramzan8928
@ustadramzan8928 - 20.01.2023 19:05

Very good sir

Ответить
@caspeeraer3549
@caspeeraer3549 - 23.11.2022 11:18

very good video but where did you put the code?

Ответить
@ernestarranzpasqual7167
@ernestarranzpasqual7167 - 14.11.2022 19:30

Hi, does it work for other drivers such as DM556?

Ответить
@yakupemre1
@yakupemre1 - 27.10.2022 12:11

Hi thanks for this great tutorial. Can this speed change over 4000 like s 10000 10000

Ответить
@Himanshu-ws3vl
@Himanshu-ws3vl - 19.10.2022 14:09

how can i get that com3 port in ARDUINO IDE where we type all that s2000 1000 those inputs you type to arduino in that COM dialog box how to open that

Ответить
@imrichmorvay2227
@imrichmorvay2227 - 17.09.2022 20:28

SUPER!!!

Ответить
@dzungvo12
@dzungvo12 - 29.07.2022 16:13

Thank you for the video.
How do I configure to run 2 or more motors in one Arduino?
you said "AccelStepper stepper(1, 8, 9)" 1 it for the motor 1.
can I configrue:
AccelStepper stepper(1, 8, 9) for motor 1
AccelStepper stepper(2, 10, 11) for motor 2 or i have to configure
AccelStepper stepper2(2,10, 11)

Ответить
@RESC_Eng
@RESC_Eng - 29.06.2022 18:30

Thank you so much , this video is really helpful,
Is the vibration at the end of motion when the motor deaccelerates considered as a jerk??

Ответить
@tomielo3641
@tomielo3641 - 31.05.2022 16:39

Congratulations for the video, very good explanation, excellent code, just a question, when it's running in ping-pong, it always takes one more step to one side, that is, the rotor moves, it never comes back to the same position, there's a way to avoid that ? Make the rotor always return to an exact point? Thank you very much in advance.

Ответить
@rimenaouissaoui9933
@rimenaouissaoui9933 - 09.05.2022 11:37

Thank you for the video, I wonder if it is possible to connect the Pul+ and the Dir + Modules to the Pins 8 and 9 in the arduino and Pul - Dir - to the GND Arduino?

Ответить
@quanai8604
@quanai8604 - 17.02.2022 06:24

how can i control 2 step motor in different way at the same time ?

Ответить
@jaspermcconnell6417
@jaspermcconnell6417 - 16.02.2022 04:51

Perhaps this is a good video. I came here to get a simple hookup to turn a stepper motor to spin . I know nothing of coding so it's pretty much useless for me. Perhaps someone who already knows what you are talking about can use all the possibilities you have included in your library. It is not possible to copy the code and follow your video simultaneously.

Ответить
@many9778
@many9778 - 15.02.2022 16:57

So what is the meaning of not connecting the ENA(-) pin, if you have on the code a command for disableOutputs() and enableOutputs(), how do these work?

Ответить
@cafercankabakl69
@cafercankabakl69 - 30.12.2021 03:23

Accelstepper lib how to use for Esp32

Ответить
@akumal5819
@akumal5819 - 30.07.2021 19:58

Is there any way to pause the motors with deacceleration if a pause button is pressed or a sensor is high ?
if ( digitalRead(obstacleSensor) == HIGH){
stepper1.setAcceleration(100.0);
stepper2.setAcceleration(100.0);
stepper1.setMaxSpeed(0);
stepper2.setMaxSpeed(0);
}
else if( digitalRead(obstacleSensor) == LOW){
stepper1.setAcceleration(100.0);
stepper1.setMaxSpeed(200);
stepper2.setAcceleration(100.0);
stepper2.setMaxSpeed(200);
stepper1.run();
stepper2.run();
}
}

Ответить
@ancuingmecgeniumeccanicu6059
@ancuingmecgeniumeccanicu6059 - 14.06.2021 04:05

.... and another question: How can the code execute the "stepper.stop();" function when the motor is running ?

Ответить
@kusmanf
@kusmanf - 07.06.2021 06:58

Brother, I used a TB6600 driver with a Nano and wired accordingly and powered with a 12v,10A SMPS. I selected the current and steps/rev(200) with dip switches according to the specifications of the Nema 23 motor referring to the chart. When the motor runs at slow speed it gives a grumbling noise and gets heated up quickly. I tried with another Nema 17 motor with settings changed, still the same grumbling noise and heating. But I used a A4988 driver with the same Nema 17 motor, then it
runs smoothly and does not get heated up. Could you advice me please?

Ответить
@proventure307
@proventure307 - 27.05.2021 01:44

THIS my friends is by faaaaar the best YT Video for setting up a Nema 17 with TB6600. worked so perfect after i tried other DIY videos. be careful some of them change the code which you cn downloaad often to crap and then you go lost ^^ Big thanks to the Creator of this Video

Ответить
@erikysdias8441
@erikysdias8441 - 15.04.2021 22:58

hello.can you help me? I'm using this library for two engines. Whenever the button is activated, the engine must move a few times and stop. There are two engines and two buttons, but when one engine is moving and the other button is activated, it waits for engine 1 to finish. the stroke to start the engine 2.I need them to work whenever the button is pressed simultaneously.

Ответить
@pisobre2
@pisobre2 - 12.01.2021 21:52

Thank you, very informative video! This will help me a lot.

Ответить
@kevoysmith5352
@kevoysmith5352 - 12.09.2020 17:53

Hello Sir, I have tried the example for the "Code Snippet for AccelStepper Oscillator". When I type "K" in the serialmonitor the motor only moves clockwise ones, it doesn't oscillate back and forth. Could you explain a bit more why this is the case? PLEASE!!

Ответить
@samynwaisser376
@samynwaisser376 - 05.09.2020 15:18

Thank you, what is the title of the video?

Ответить
@samynwaisser376
@samynwaisser376 - 05.09.2020 04:18

Hallo,
thank you, I try it again:
I ned a funktion that I can let run the motor forward and bacward automaticly witout gif the command for every motion.
Sincerly
S. Nwaisser

Ответить
@samynwaisser376
@samynwaisser376 - 31.08.2020 00:27

Hallo,

Ответить
@avisalmarine5248
@avisalmarine5248 - 28.07.2020 21:33

Funciona la libreria y el codigo para el A4988?

Ответить
@jesussanchez-zv7np
@jesussanchez-zv7np - 28.07.2020 20:42

me podrias proporcionar el cableado de coneccion del driver tb6600 hacia el Arduino gracias

Ответить
@frostmarianne6418
@frostmarianne6418 - 03.05.2020 17:15

Hello, in my opinion this application is mistaken. if I enter the command "S10 1" or "O10 1" the first step is in the wrong direction and the following steps are then in the right direction. This error does not occur when entering "c10 1". Can you test this in your application and report the result? Thanks!

Ответить
@aliabkhezr6797
@aliabkhezr6797 - 24.04.2020 09:15

and can you send me this project source code?

Ответить
@TavoNightSun
@TavoNightSun - 19.04.2020 22:32

Buen trabajo, me ayudo mucho :)

Ответить
@TavoNightSun
@TavoNightSun - 19.04.2020 22:32

Buen trabajo, me ayudo mucho :)

Ответить
@Mangosteen506
@Mangosteen506 - 19.04.2020 19:49

Good day, this is really an informative video. I am actually using the same motor driver to drive my application (using in the linear slide rail - lead screw). I would like my application to continuously move back and forth at the designated positions. While at the same time, I will be able to adjust the speed of the motor. May I know is it possible to do these two at the same time? Because I don't really have idea on it, so would like to get some advice from you. Looking forward to your reply. Thanks!

Ответить
@CCPlusIT
@CCPlusIT - 04.04.2020 11:10

Firstly great informative video, I am quite new to programing the arduino and have this program in mind for a project. My question is once I have worked out my parameters ie c3000 5000 and o3000 5000, is there a way to start the program and let it run continuously until stopped n. So it is going from c3000 5000 and when it has run the first command it then runs the o3000 5000 without human intervention through the terminal.

Ответить
@pankajkumarbharta7895
@pankajkumarbharta7895 - 11.03.2020 18:14

thanku

Ответить
@KroowTeen
@KroowTeen - 19.12.2019 05:05

can I do the same setip with an Arduino Nano?

Ответить
@leoverheyden8103
@leoverheyden8103 - 06.11.2019 17:17

Hello , can you help me , us , for the people who have maybe the same problem as I. The problem is the HOMING with accelstepper without a WHILE and ++ argument ? Your video give another way to manupulate the accelstepper libreray Thanks a lot

Ответить
@ziadbrakat5421
@ziadbrakat5421 - 12.09.2019 14:33

Great video.

Ответить