I follow your channel more generally, but actually ran across this video while looking up the driver. Really appreciate your taking the time make these video's.
@rexpimplemyer38396 жыл бұрын
Thank you for posting these, even if I'm late to the party. Awesome demo's of bringing the Arduino into a "man's world". Most seem to treat the Arduino like some little novelty toy for entertainment. Like you, I want to put this puppy through its paces for "practical"uses. Nice to see someone like myself with tech AND industrial experience.
@BarreraFamilyTexas10 жыл бұрын
About a year ago I pulled all the stepper motors out of 5 copiers that were being disposed of. I have searched from time to time for videos on controlling larger stepper motors with my Arduino so I am thrilled to find your youtube channel. I also found that Adafruit has a new motor shield (v2.0) that will run "1.2A per channel and 3A peak current capability" much better than their older motor shield!! You can also stack them. "32 stackable shields: that's 64 steppers"
@rhost71410 жыл бұрын
Thumbs up, the wobble you are seeing is because you are landing on a microstep and its balanced between two full steps. The accel and decel has me thinking about rolling my own DIY surface grinder.
@the8bitbarn83610 жыл бұрын
I have read the comments, Picky, picky,. NYC CNC I feel your pain in trying to show people something that you have put a lot of thought into and built by hand. Let me tell you about me, I'm an electrical engineer and I would be considered an expert in stepper motors and drives. So on that note if you have any question ask away. As for the question of the motor micro stepping, what you are seeing is phase mismatch. This is caused by your drive not being tuned to your motor. Sure it will run it but as you have found it skips a lot and you loose power and precision. I will try to explain basic electronics theory to you and you have probably have heard this before but one rule of thumb is the higher the frequency the lower the power. As you ramp that drive up you can hear the harmonics in it. Most PWM systems don't really sing like that unless there is a drive problem or an impedance problem this is an incompliance between your phases . For your drive to function properly will need some type of feed back. And lastly you don't lose torque while micro stepping you have the same amount of power regardless of the step size. Micro stepping is for precision period. You should have the same amount of torque all the way up the ramp. If anything you are flat lining that power supply. Might want to get a bigger one. Other than that keep trying and keep learning.
@FebMixer3 жыл бұрын
This is incredible advice, thanks for sharing!
@1kgsxrk710 жыл бұрын
Thumbs up John. Been a faithful viewer since the apartment days.
@gearhed789 жыл бұрын
Thanks for the tests.Your experiments help everyone understand a little more than we knew before.
@Neo7CNC10 жыл бұрын
Hi, I appreciate all the time and thought you put into these videos. Pay no attention to the "thumbs down trolls"
@bulletproofpepper210 жыл бұрын
thanks to you someone is telling the us how to add motors to our stuff.
@jimhall70129 жыл бұрын
Thank you for your videos. One comment, perhaps you could move your control electronics (on off and pot) to the front so you don't need to reach across the moving parts.
@alexvonbosse50904 жыл бұрын
To all those that left negative or smart-ass comments to this and other videos on KZbin, feel free to post your own videos on this and/or other subjects and show everyone how much "better" you can do it! I personally enjoy and appreciate the effort that goes into making these videos! And for those that commented negatively about him reaching across the spinning disk, you'd better be very careful walking thru a doorway, cause you might run into the edge of the door. Yes, someone could hurt themselves, but if you pay attention to what you are doing, the edge of the doorway won't hurt you! These are my thoughts, what are yours?
@MehrdadNaderi9 жыл бұрын
you need a much higher voltage power supply. that is all. that motor has buttload of torque and stopping power :) great video good stuff PS 48v is sweet spot
@CapApollo9 жыл бұрын
NYC CNC the maximun voltage and best. is 32 times the square root of the inductance of the motor.
@adisharr10 жыл бұрын
As you step through your frequency range you'll also find a point where the stepper may seem to get stuck or resonate. Standard stepper driver systems are notorious for this and the solutions range from skipping the resonant freq. to installing shaft dampeners.
@paulpannabecker996210 жыл бұрын
Good stuff as usual. Useful content, the chip making is always appreciated.
@adisharr10 жыл бұрын
Microstepping (lowest torque) will give you increased resolution but the accuracy is fairly non-linear unless you're on a half or full step. Full stepping dual phase will give you maximum torque but require twice the motor current (2 motor phases energized all the time). Half stepping torque falls in between full step dual phase and half step.
@Keith_Ward10 жыл бұрын
Yep, ignore the thumbs down folks. Some people surf the internet to just complain and vote everything down. It often means they don't understand it or is not the "reality crap" they are used to on TV.
@eddraper10 жыл бұрын
Good going John. I've seen value in most all your videos. Like my comment on one part 1, a more elaborate application really helps connected the dots. Even your son's moving Jedi was helpful in this regard. How about tackling a 2 axis mill? Learn... then go to three. You could even do your own fab on many of the parts...
@Keith_Ward10 жыл бұрын
The step rate and size are really a matter of your application. You should experiment between full, half, and micro stepping as a trade off to what you need in torque, speed, or resolution.
@iiianydayiii10 жыл бұрын
Also, thanks for the idea. I may use a setup like this (with a smaller stepper) for my lathe and mill power feeds.
@YellowsourceOrg10 жыл бұрын
The load must be analyzed carefully for optimum stepper motor performance. And inputs must be matched to the stepper motor and load. Damping may be required when load inertia is exceptionally high to prevent oscillation.
@user-sb7tu2ve8h8 жыл бұрын
Really cool videos :) Really like them,you should have at least 1 million subs :D
@stevedelaire625810 жыл бұрын
the one thing that is not quite clear (for me) is wiring schematic for the potentiometer and how that fits in the circuit Thanks for posting
@rhost71410 жыл бұрын
Yes it’s possible to land on a micro step, but it isn’t actually a step. If you spin the rotor, you will feel it snapping to each pole detent in the stator. In a micro step, you’re actually balancing between the poles. If you vary the current, you can position the rotor at some ratio between those two points. At least that is my understanding, ymmv I may be completely off.
@TradieTrev10 жыл бұрын
Thumbs up here bro! We all learn from our mistakes
@arjunpatel64509 жыл бұрын
Thanks!!!...Which stepper motor driver would be more preferable for stepper motor (the details of which is given below).. Stepper Motor Specs: Nema 23 20 kg.cm or 2 N.m 3A o/p current... I would like to know which driver u hv used to drive nema 34..
@Keith_Ward10 жыл бұрын
I know bad form replying to my own post ... Correction and caveat of previous statement: I'm not a stepper expert and may have spoken too soon and therefore remembered incorrectly. As it turns out it microstepping may be minimal torque. I think it would be a great time for you to experiment with different masses, counter weights, step types, and rates to graph out the capabilities of your motor ... provided you have the time.
@elitejohnlp10 жыл бұрын
I cringed every time you reached across a rotating, toothed disk spinning. Move the damn breadboard to the side of the machine or run wires to the pot. I'm 99% sure the problems you were having were due to the pin setup on the driver board itself, or the stock example accel library which was designed for smaller motors with higher rpm and less inductance. Not saying it won't work, but you need to 'tune' it a bit. That motor should be able to easily hold a few pounds outwards or accelerate it without skipping steps with such a low, low load.
@Keith_Ward10 жыл бұрын
Microstepping would allow maximum torque due to maximum number of coils energized at any time.
@doorchandran49618 жыл бұрын
The information veru usefull ,Thank you need to know the software name to play with the motor
@InspireCNC9 жыл бұрын
i hooked up the pul+5 dir+ 5 to my 5v pin on my arduino, set up pul- to pin 9 and dir- to pin 8 like the directions, dc +/- goes to my dc power supply, and the motor hook up is correct. i wrote the arduino program to set pin 9 on high for 1000 miliseconds, then to turn off for 1000 inside of a loop. my motor wont turn though, it will hesitate for a fraction of a second, then does the delay that my program wrote, then hesitates again. any idea whats wrong?
@Tricknologyinc9 жыл бұрын
How about a video on a full retrofit of a bench top mill to CNC at a good bang for buck ratio?
@Tricknologyinc9 жыл бұрын
Know where I can get a real good deal on a used Tormach? Can't wait to see your conversion!
@BlackPhanth0ms10 жыл бұрын
Hey, Good video! It's called skipping steps when a stepper can't handle the torque.
@MrKennected9 жыл бұрын
Hi John, I came across this video as I was searching for a cheap, simple way to control a stepper for industrial purpose. I'd like to rotate a shaft on a press with a stepper and do it without hooking up a pc. Your Arduino demonstration tells me it probably CAN be done. Is there a way for me to contact you directly to explain what I'm thinking about?
@187781jason8 жыл бұрын
Watched a load of videos on controlling stepper motors, especially for large motors. And this covers the basics of what I need for my design ( Subbed ;) ) Can you tell me if by hooking up a rotational control for clockwise and anticlockwise movement using a rotational potentiometer in place of the speed controller dial you have in place it would work on the same basis? I need to be able to rotate the stepper motor 180 deg back and forth etc. Obviously i would have to update the programme for the Arduino but I have seen example code to cover that. But would it be that simple? ( relativly speaking ) Great work cheers.
@EscapeMCP8 жыл бұрын
+jason daysh Yes, pretty well much :)
@Teakozy9 жыл бұрын
Looks like the driver is having trouble reading the pulse width. Seems to be way too short for that driver to pick up when it gains speed. I don't think those drivers were men't to handle such a narrow pulse under 1u.
@amitdhiman90745 жыл бұрын
Nice video, I am working on a project in which i decided to use stepper motor to lift the item which are maximum 200kg. Can you please help me to select the motor or which motor i have to use ?
@jo1239009 жыл бұрын
I like it, but where can I get this sample code, wiring diagram, and parts list.
@Morkvonork10 жыл бұрын
May I ask how the driver is set up? How many microsteps and half or full current while not moving?
@joe24560018 жыл бұрын
I use beaglebone black and machinekit and polulu(much cheaper) do similar things. But overall cool video big motor :)
@roeng13689 жыл бұрын
Do these large stepper motors have any overheating issues if powered up to hold a position for a long period of time ? Thanks.
@Jorgjorgjorg9 жыл бұрын
Hi Quick question how did you get a mapping of 440 RPM for the max speed based on your setup and code. I tried to do a calculation based on your code, and your stepper driver dip switch configuration. Thanks
@jmalmsten9 жыл бұрын
Holy and crap! Reaching around that potential sawblade was quite distracting to watch. Nice and informative, but, I dunno about health and safety. :/
@Teakozy9 жыл бұрын
I was thinking the same thing. For a machine job guy he sure has a negligence for general safety.
@chaoticlogic5889 жыл бұрын
Tarek Maddah Not a negligence for safety, an aptitude for good camera angles.
@JohnSmith-ih2zq10 жыл бұрын
Thanks for uploading, but to give you some harsh critique here: What you said and showed could have been easily compressed into a 3-5 minute video. Instead it is half an hour long, showing you CNC stuff and mentioning whatnot that has little importance to the apparent subject. Probably most people find your video because they are interested in the motor for some project. I didn't really watch your video(s), because they are simply way too long, but I am missing some straight facts about it. Such as: How cost efficient is it, if compared to alternatives (mention total price right away, compare to price of different implements)? How accurate can you make it in whatever circumstances? What are the advantages of it, and what is exeptional about it? Maybe there are tricks to get rid of the noise? Maybe there are tricks to do other things? How much weight can you put on the pin before the motor slows down too much? Just stuff you would only know and consider by actual experience that's not exactly in the product specs. Each question can maybe be answered AND demo-ed in 10-30 seconds with some minor video editing. If you show yourself talking semi-random stuff while setting up a single point of interest for 15 minutes, it does feel more like an ASMR video than an electronics demo video.
@jester411510 жыл бұрын
and you know its not like his name says cnc or anything and he isnt implying that he is an expert he is just giving basics and a quick tutorial
@ronald441810008 жыл бұрын
Will this system work with an Arduino Mega 2560 with a Ramps 1.4? I'm building an Ox CNC Router and I will be using 2-175 oz. in. steppers for the y-axis. A 340 oz. in stepper for the z axis and a 240 oz. in. stepper for the x-axis. I also plan on adding a 340 oz.in. stepper for a Rotary Table as an A-axis. All of these motors draw between 1 and 2 Amps maximum per phase. The only other thing I have to wrap my head around is how to wire 8 wire bi-polar series stepper motors. I understand the method of determining which wires need to be paired. What I can't get my head around is what I do with the Center Tap Wires. Do I wire them together and not connect them to the board or something else? I have drivers for at least one axis at present but I would sooner have a neat and tidy package. Also I have a 36 volt 14 Amp main Power Supply to run the stepper motors and I will be adding a 48 volt Power Supply for a water cooled spindle. I know my questions are a bit much but I depend upon you for the majority of the answers as you've made most of my decisions very easy to make since I started out with an X-2 Mini- Mill.
@peglor8 жыл бұрын
This should answer all your questions on wiring stepper motors as it covers all the wiring configurations I've heard of: 42bots.com/tutorials/stepper-motor-wiring-how-to/ There is also the option of wiring an 8 wire as if it was a 4 wire motor to get more torque: digital.ni.com/public.nsf/allkb/B1CC4C64ABBC7D3C86257BC70017B9E2
@AnwarAlfaqeehAlhusseini6 жыл бұрын
hi do you know what size and type of motor to rotate the rotary table on bearing its 200 kg kzbin.info/www/bejne/hJaunI2uj62ChK8 something like this thanks
@reverselandfill10 жыл бұрын
What is a good way to connect such a large disk to the axle of the motor?
@Galfonz10 жыл бұрын
Can servo motors be controlled by an Arduino? They would give higher torque when running faster.
@rhadiem10 жыл бұрын
Thanks
@rudyrinjayani64049 жыл бұрын
can i build an actuator from this stepper motor for automatic antenna tracker?
@Runenaldo9 жыл бұрын
This is very interesting, thanks for uploading. I'm doing a project at my school on a bottle filler and capper machine and are planning on using a "3331_0 - 57STH56 NEMA-23" stepper motor to rotate 4 33cl beer bottles round to the two stations in the machine. is this motor a good fit? Thank you.
@Runenaldo9 жыл бұрын
NYC CNC I'm still not sure, so to be safe I went one step up and ordered a 24v Sanyo Denki 1,6Nm stepper. Hopefully that will do the job.
@007gurkan10 жыл бұрын
Why dont you use the pwm pins of the arduino i think that rezonance is happening because of software pwming.
@moneymagnets62009 жыл бұрын
what is the specification and make of this stepper motor
@AeroSport10310 жыл бұрын
Have you seen any of 'hossmachine' videos? This guy lives and breathes CNC. He is very free with his information answering most all relevant questions.
@MrHeart4Heart10 жыл бұрын
gave you thumbs up
@rhost71410 жыл бұрын
If i remember correctly, it decreases the holding torque of the stepper when using microstepping.
@ridwanfernini49537 жыл бұрын
I have a question, how would you control a Stepper motor to rotate specific steps, pauses, then repeats?
@chadhidalgo57636 жыл бұрын
Hello, it's been 10 months since you posted this question, but I'm just seeing this video today. Did you ever get your question answered?
@FluffMuncher9 жыл бұрын
Hey, Great Video mate! The one thing everyone is mentioning is running a higher voltage supply.. But if you ran the GRBL Arduino Shield with a Nema34 and say 48VDC, How would you plug in the higher voltage when the GRBl is only rated to 36VDC?
@FluffMuncher9 жыл бұрын
NYC CNC Yeah thats right. But I have been doing some research and it looks like the micro stepper drivers only need 5vdc+ for step and direction.. so if you route the 48vdc through the driver and only run USB power to the arduino and grbl shield that should work right?.. So you would only run the 12-36vdc through the grbl if you were running those onboard/plug on drivers?
@FluffMuncher9 жыл бұрын
NYC CNC Sweet.. On your bigger mill have you tried to run it on a grbl? or do you use mach3 with a controller? From what you have played around with, would you see any problems in running a bigger mill with the grbl/arduino setup?
@FluffMuncher9 жыл бұрын
NYC CNC Awesome thanks, btw I hope all is going well with your move.. you should be loving the extra room..
@raydavis29046 жыл бұрын
Should use a 5 or 10 turn pot.
@ShuffleSk8Ter10 жыл бұрын
I would love to use one of these setups to drive my little lathes leadscrew ..wondering if there is anyway to program speeds and calculate with the leadscrew pitch for threading? :")
@ShuffleSk8Ter10 жыл бұрын
John NYCCNC Hello John ya i have a micromark 7x16 but i really wished it had a threading box no small lathe ever did! anyways yea i could couple it up on the tailstock end....can you explain how to do this?
@myozone10 жыл бұрын
The juddering is it skipping / missing steps
@NoFaithNoPain9 жыл бұрын
May I ask why AccelStepper.h uses pins 1,9,8, when you have only wired up pins 9 and 8? I mean, what does pin 1 actually do?
@NoFaithNoPain9 жыл бұрын
NYC CNC Ah! so that's the "interface! pin. Thanks. So I shall see if that's why I can't reverse the direction... maybe that should be "2" for me not one. Confused but food for thought.
@electromechanicalstuff26025 жыл бұрын
Whats a good china driver for nema 42
@Blind0Fury10 жыл бұрын
How much kg can it move? what if i want to move 80 - 100 kg? any suggestion's?
@Blind0Fury10 жыл бұрын
Like a round platform witch can be rotated 360 degrees and a person stands on it who is around 80-100 kg bosmadesign.nl/wijn/test.png
@Blind0Fury10 жыл бұрын
Thanks!
@aubreyaub10 жыл бұрын
Could move a ton, but at a very slow speed. ie, using a gear box!
@iiianydayiii10 жыл бұрын
I'll give it a thumbs up but I won't say why.
@panamahunt10 жыл бұрын
HELLO MY NAME IS ANTHONY HOW MANY 34 NEMA MOTORS CAN YOU CONNECT TO ARDUINO
@svijay24177 жыл бұрын
i want to know rating of motor
@repalmore10 жыл бұрын
Don't sweat those thumbs down, there trolls. Keep them coming.
@adisharr10 жыл бұрын
I don't think there's much over your head John ;)
@fukieyou12310 жыл бұрын
3600 to 1 micro seconds or mili seconds?? because u said micro....
@direzionidiversewebradiost96705 жыл бұрын
you really was able not to chop your arm...lucky guy....
@ahmedessam-hi8dz8 жыл бұрын
please i need to ask many questions about this code i get the accelstepper library and i started to edit on it to make manually control the project like this project exactly by using 2 switches to forward and reverse the direction and then i faced many problems : .......... first one : the 4 control pins of stepper driver in 2,3,4,5 at arduino i connected it like the code describtion when i tryed to make pin 2 or 3 for step and direction HIGH or LOW to forward and reverse the direction it doesn't work with me so i changed the arrange of the pins and then it works with me with those function : digitalWrite(3,HIGH); digitalWrite(4,HIGH); ........... second one: the main problem for me : i want to forward and reverse the direction with acceleration and decceleration at the begining of movment and the end of it in any direction and i tryed to put all the possible functions in this code and library but i didn't succeed to do it cause those to functions : stepper.setAcceleration(....); stepper.setSpeed(....); didn't work 2gether at all i hope you can help me my project is like your project exactly with the same components and this the code which i need to help me on it to add acceleration and deccelration with the manual movment by 2 swithes : ........... #include int sw=9; int sw1=11; int k; int h; AccelStepper stepper; // Defaults to AccelStepper::FULL4WIRE (4 pins) on 2, 3, 4, 5 void setup() { pinMode(sw, INPUT); pinMode(sw1, INPUT); stepper.setMaxSpeed(9000); stepper.setAcceleration(1000); stepper.setSpeed(8000); } void loop() { h=digitalRead(sw); k=digitalRead(sw1); if(h == LOW) { stepper.runSpeed(); digitalWrite(3,HIGH); } if(k == LOW) { stepper.runSpeed(); digitalWrite(4,HIGH); } }
@ahmedessam-hi8dz8 жыл бұрын
or can i make acceleration and decceleration with this code which is very similler to your first code : int s1=2; int s2=4; int w1; int w2; int val; void setup() { // put your setup code here, to run once: pinMode(2, INPUT); pinMode(4, INPUT); pinMode(8, OUTPUT); //direction pin pinMode(9, OUTPUT); //step pin digitalWrite(9, LOW); val=200; } void loop() { // put your main code here, to run repeatedly: w1=digitalRead(s1); w2=digitalRead(s2); if(w1 == LOW) { digitalWrite(8,HIGH); digitalWrite(9, LOW); delayMicroseconds(val); digitalWrite(9, HIGH); delayMicroseconds(val); } if(w2 == LOW) { digitalWrite(8,LOW); digitalWrite(9, LOW); delayMicroseconds(val); digitalWrite(9, HIGH); delayMicroseconds(val); } }
@profbob236157 жыл бұрын
You can probably get better help on this by asking your questions on the Arduino forum.
@mrx.22335 жыл бұрын
I am really nervous watching you with your arms around that wheel. You may loose you arms in the process. Reaching over a steel plate while rotating is dangerous. Just saying.
@AnwarAlfaqeehAlhusseini6 жыл бұрын
hi do you know what size and type of motor to rotate the rotary table on bearing its 200 kg kzbin.info/www/bejne/hJaunI2uj62ChK8 something like this thanks