This is by far the finest most extensive video out there on steppers, and differences, pro’s-cons. The video is at a great pace and easily followed. This video is WELL worth watching and provides high value to the audience. Thank you for the time you took for all the details explaining all the parameters as well, including the math calculations. This video IS education!
@ModestMaker3 жыл бұрын
Thanks for that! Made my day☺
@nixo0077 Жыл бұрын
To jest najlepsze wyjaśnienie jak działa motor. Myślę, że wprowadzone biblioteki i różna wielkość ilości kroków na jeden obrót i kolejność podłączenia uzwojeń spowodowała że straciłem wiele czasu na zrozumienie jak działa motor. Gratuluję efektu i pozdrawiam z Polski.
@ModestMaker Жыл бұрын
I appreciate that kind comment. Glad it helped my friends in Poland :)
@espenbgh2540 Жыл бұрын
Highly recomendable video on stepper motors, it takes you to the core in simple words. - I've not seen anything better, I seen a lot.
@ModestMaker Жыл бұрын
Thanks!
@henriramonfosseАй бұрын
the best explanation I ever heard. I will make that box but for a drone on for wheels driving 4 motors of 12 V 100 w each.
@ModestMakerАй бұрын
Glad it might help with your project😊.
@electronics.unmessed2 жыл бұрын
One of the best stepper motors tutorials! It gives a lot of inspiration to me creating a gauge with Arduino.😀 The videos will come later this year.
@ModestMaker2 жыл бұрын
Great to hear! Some of this stuff can take a lot of blood sweat and tears to figure out, so I'm glad there are others willing to help make this easier for the rest of us! Looking forward to your videos.
@roshnivalder13943 жыл бұрын
One of the best Video on KZbin ,very clear instruction and with ampules of information, Thankyou .
@ModestMaker3 жыл бұрын
Glad it was helpful!
@chiranjitprajapati5902 жыл бұрын
@@ModestMaker can you please provide the codes
@digihz_data Жыл бұрын
The best professional explanation I ever seen, and he is so calm to in his speaking. Great!
@ModestMaker Жыл бұрын
Nice to hear a compliment from a fellow "Hans" (That's my name too :)
@Hellbrate9 ай бұрын
You earned subscription. Nice tone of your voice, calm and precise. I really enjoyed watching your video and following your code. Keep up good work!
@ModestMaker9 ай бұрын
Thanks - appreciate your kind words.
@freespirit11776 жыл бұрын
Best explanation I’ve seen. Many thanks.
@ModestMaker6 жыл бұрын
Awesome! I am glad it made sense - appreciate the feedback!
@nicolaumonteiro45826 ай бұрын
THAT WAS OUTSTANDING... IT MIGHT HAVE BEEN THE BEST KZbin TUTORIAL I HAVE EVER SEEN. WISH YOU COULD CONTINUE THIS SERIES ABOUT ELETRONICS/ARDUINO.
@ModestMaker6 ай бұрын
Wow, thanks! I do have other Arduino-related videos on my channel. Appreciate that!
@Chrissi330047 ай бұрын
This is by far the best video ive seen on the 28-BYJ-48 The motor is great for simple tasks but really starts to struggle at 5V with the ULN2003 with anything demanding torque or precision. For that reason I love running a modified 28-BYJ-48 with an A4988 at 12V 120mA. You can get much higher RPM (I tested to about 25-30, but ofc you will lose torque) Or get a lot more torque at the same 5-12 RPM. Sure the ULN2003 can be run a 5V, from the same source as the microcontroller but the 28BYJ48 and A4988 Combo can easily be run on a cheap 5V to 9/12V boost converter, which offer a small footprint and enough current capability to run the Motor/Driver reliably and without overheating.
@ModestMaker7 ай бұрын
Thank you for sharing these pointers- makes posting these videos worth the effort👍.
@quoctrungtran83013 жыл бұрын
This helps me alot. Thank you so much for your awesome video.
@ModestMaker3 жыл бұрын
I'm so glad!
@GeekDetour4 жыл бұрын
Hi there! Excellent video! I am working on a project using 28byj steppers and the “precision problem” is the cheap gearbox with a huge backlash - so, when you change direction, a few steps will be “wasted” until all the gears get in traction contact again. The AccelStepper library has a setBacklash method that could potentially fix this... didn’t test it yet myself. It looks like: /// Sets the number of steps needed to correct backlash in drive train void setBacklash(unsigned long steps); Hope it helps!
@ModestMaker4 жыл бұрын
Thanks so much for this info... will try to include this in the description of the video shortly!
@d.j.peters2 жыл бұрын
@@ModestMaker does it solved the problem really ?
@ModestMaker2 жыл бұрын
Haven’t tried it, but his approach makes perfect sense.
@bitcoinwallet-tj5ue3 жыл бұрын
Came here for info on speed variation,but will for sure go to Chapter 1 and give this series a go. Well explained.
@ModestMaker3 жыл бұрын
Hope it was helpful!
@bitcoinwallet-tj5ue3 жыл бұрын
@@ModestMaker Yes it was,gave me some refreshment in some of the current and voltage stuff. The water based explanation made more sense than the explanation 30 years ago (school),I am watching it again ATM. Have some stepper motors now,but was lacking the time to do the practical appliance. Thanks for taking the time to make these series and will let you know how the implementation journey was.
@ModestMaker3 жыл бұрын
So kind of you to take the time to share your response - makes the effort worth it!
@marwanshwaiki7774 жыл бұрын
Excellent demonstration indeed. Thanks
@ModestMaker3 жыл бұрын
Glad you enjoyed it
@fabiorodriguez82584 жыл бұрын
thanks for the video!!!!!, finally i understand the reduction gear ratio, excellent explanation by the way, the best way to understand how it works something is not using arduino libraries :D
@ModestMaker4 жыл бұрын
So glad it helped!
@sastrydasigi70103 жыл бұрын
Excellent series! Thanks for an amazing job.
@ModestMaker3 жыл бұрын
Glad you enjoyed it! I hope to get back to Arduino once I close out a few final experiments with LoRa.
@patrickmulholland18402 ай бұрын
loved every minute of this thankyou
@ModestMaker2 ай бұрын
Thanks! Knowing someone enjoyed it makes it worthwhile!
@juliusaitken2 жыл бұрын
Impeccable presentation!
@ModestMaker2 жыл бұрын
Glad you liked it!
@RoamingAdhocrat Жыл бұрын
Thanks very much! Please can you put the link to the guide you found in the description?
@ModestMaker Жыл бұрын
The video was compiled from about a dozen websites. I don't have links in the description, but they are sourced on the slides. The page with the code is under "Chapter 10" on this page: modestmaker.com/arduino/part1.html
@hernanjavines5 жыл бұрын
Thanks for the video, it helped me debug Arduino's sample code!
@ModestMaker5 жыл бұрын
Great! Glad it helped. Cheers.
@bik354 жыл бұрын
The best video abut stepper motor and Arduino. Congratulation. Best Regards.
@ModestMaker4 жыл бұрын
Wow - that means a lot. Thanks so much-- glad the effort was worth it!
@ashokdas20704 ай бұрын
Absolutely love this.
@ModestMaker4 ай бұрын
😊
@ronjurgs9799 Жыл бұрын
Very good video on the 28BYJ-48 stepper motor. Last week I received some as well as the ULN2003 stepper driver board. I have the 12 volt version of the stepper motor and am driving it from an external power supply. It looks like the gear ratio problem has been fixed. I did take one of my stepper motors apart and examined the reduction gears. The driver motor shaft has 9 teeth on it. The first gear has 32/11 teeth. The second gear has 22/9 teeth. The third gear has 8/27 teeth. The output shaft has 27 teeth on it. I know it's a bit confusing but my calculations resulted in 9/32 * 11/22 * 9/27 * 8/24 = 0.015625. That's the same as 1/64. My testing did show that 2048 steps resulted in 1 complete turn as expected both CW and CCW. I've only been working with my Arduino GIGA R1 WiFi board for about a week but so far it does everything about as expected and I'm making progress on my project. Another thing that I did notice is that when I connected a pot to the +5.0v supply that the digital to analog converter didn't behave quite as expected. My research indicated that it was better to put 3.3V on the high side. I tried that and it did seem to work better. For my project I do need to turn the motor output shaft plus and minus 180 degrees and that does seem to work. It would work better if I could disable the 12 volt power to the driver board a short time after my remote adjustment is made and that's what I'm working on now.
@ModestMaker Жыл бұрын
I’m so glad it helped! It sounds like you are well on your way towards finalizing a successful project. Thanks for sharing your calculations and results on the gear reductions and best of luck with your project 👍.
@blackbox330 Жыл бұрын
Great video. Please tell more about terms like maximum speed and acceleration. Thank you.
@ModestMaker Жыл бұрын
Noted Thanks for watching and feedback. So many projects, but I do hope to come back to this one shortly. Take care.
@BudgetPhil3 жыл бұрын
Great video. Very helpful
@ModestMaker3 жыл бұрын
Glad it was helpful!
@SpinStar19562 жыл бұрын
Along with others, I also say this has been an excellent primer on geared-stepper motors. I am trying to replace the meter-movement of a vintage Simpson 260 analog meter. My questions are, is there a geared stepper motor that maybe has a high gear ratio that would both be very accurate (hopefully to a needle-width) that would not take too long to reach up to around say 120 degrees of ‘swing’ (you could lookup an image of the Simpson 260 to see the needed deflection angle). How about 100:1 ratio and small enough to fit in the original meter as there doesn’t have to have any power/torque just to run a needle? Do you feel this is doable or would I suffer reading-accuracy or to-slow needle travel-time?
@ModestMaker2 жыл бұрын
Thanks! I appreciate that feedback and interest. Steppers are fascinating and I hope to return to this topic shortly. I will need to do a little digging on a Simpson 260 analog meter to answer your question intelligently- let me get back to you.
@DCDLaserCNC3 жыл бұрын
Great explanation of stepper motors and controlling them through an Arduino. Are you aware of any smaller stepper motors that perform a 6 degree of motion (or a multiple of 6 desgrees)? I would be looking for one of similar small size as the one in your demonstration. I would assume if such a stepper motor is not available, one would have to probably design a gear reduction to achieve the 6 degrees of rotation.
@ModestMaker3 жыл бұрын
Adafruit sells a smaller stepper with a 1.8 degree rotation: www.adafruit.com/product/4411 . Judging by your handle, sounds like you have the equipment to design any gear ratio you need. 😊
@DCDLaserCNC3 жыл бұрын
@@ModestMaker Thank you for the info! Yeah, I could design and cut some gearing. I would just need to work out the appropriate ratios.
@patadamson92964 жыл бұрын
Thanks for this video, it helped me a lot. I'm wondering how to change the code. I'm making a star tracker and want to run it using a stepper motor. I need the motor to run in one direction only, and I need to control the speed from zero to max using a potentiometer. Hope you can help. Pat
@ModestMaker4 жыл бұрын
Hi Pat. Sounds like a great project! You should be able to achieve this relatively easily with the code I provided. See minute 11:50 for further details, and note you can download the code for edit from chapter 10 associated with this link: www.biod101.com/arduino/part1.html . In retrospect, that's a great idea Pat - I see where you are going with this since I also have a small reflecting telescope that can be difficult to adjust, so a potentiometer with steppers would be the way to go. I'm going to have to think about this for a future project - thanks for the inspiration.
@patadamson92964 жыл бұрын
Thanks for the information. I have downloaded the code and it works perfectly for the star tracker I built. The only thing I would like to change in the code is the maximum speed. I would like it to revolve a little faster at max. What values do I change to make that happen. Thanks. Pat.
@ModestMaker3 жыл бұрын
Sorry for not replying sooner. I would suggest playing with any delays on the code. That manages the time between each step, so in sum, would control the speed. Let me know how it goes- would love to see your finished project.
@gekarlt19955 жыл бұрын
I am new at this stuff so this might be a stupid question. How did you lined it up at 19:08. Is there any way to set null position for a motor?
@ModestMaker5 жыл бұрын
Good question! I think this may be a bit confusing because in the video, I say I "line it up, and going to reset it". Actually, what I should have said was that "I'm going to line it up BY reseting it - right at the moment the pointer is pointing north", so good catch on your part. Yet another way of doing this is by timing the upload of the sketch so that it stops the pointer precisely when it is pointing north, and then restarts the sketch from there. This takes a little skill.
@nicolaslac10134 жыл бұрын
@@ModestMaker ...by timing the upload of the sketch? Sorry but how can we make this? It's a great video you have done ! This will be very useful for a small robot ou machine, when we switch it on the motors must stay at the right place. Any advise will be nice, thanks.
@ModestMaker4 жыл бұрын
@@nicolaslac1013 It's been awhile since I played with this, but I recall I had the box hooked up to my computer with the sketch running. When the pointer approached the 12-o-clock position, I hit upload on the Arduino IDE. The upload caused the pointer to stop, and then it started its loop function from scratch. This is what I mean by timing - I had to predict the time it would take for the upload to interrupt the turning of the shaft/pointer so that it would stop exactly where I wanted it to. Honestly, I don't know how to do this programmatically since unlike servos, there's no feedback on the position of motor shaft. I guess you'd have to do this through some kind of secondary feedback sensor hooked up to an interrupt (?)
@nicolaslac10134 жыл бұрын
@@ModestMaker Thank you for your answer, yes I think you're right. I'm investigating a little, kind of beginner.
@chiranjitprajapati5902 жыл бұрын
can you plz provide the the codes, in the given link it is not available
@ModestMaker2 жыл бұрын
www.biod101.com/arduino/code/stepperSketches.zip
@cinemality4671 Жыл бұрын
thank you very very much!
@ModestMaker Жыл бұрын
Glad it helped!
@BStateham5 жыл бұрын
Love it!
@ModestMaker5 жыл бұрын
Thank you Bret!
@chanchalsakarde276810 ай бұрын
Can it be automate to use in String Art..also called as Thread art.. but how to achieve
@ModestMaker10 ай бұрын
I don’t know what string art is, but the motor is certainly easily programmable to pull and release strings in a spool if that’s your goal. I have provided sample code that can help with the same.
@woodyouloveit-fe1sw10 ай бұрын
Can it be possible to give input as number to move to particular position... Let say 360points in Circle and wanted to move pointer to that input number on protector...like gauge
@ModestMaker10 ай бұрын
Absolutely. The code I shared can be hacked to do this. You could for instance tie an environmental sensor to an Arduino to position the pointer.
@rodrigoa.velascojr.7393 жыл бұрын
I cant find the code
@ModestMaker3 жыл бұрын
www.biod101.com/arduino/part1.html - scroll down to chapter 10 for the compressed file.
@parampalsingh94075 жыл бұрын
hey modest.i want to ask like u r using this motor driver which has 4 outputs.but i am using t56560 driver and i connect all four wires of my motor at left side and on the other side i only get step and direction ,ground and enable pin.so out of these pins which are in1,in2.in3and in4 ?could you please help? i will really appreciate it.this video was bomb with explanation.thanks and god bless u
@ModestMaker5 жыл бұрын
Thanks Param. Sorry, I am not familiar with this particular driver, nor can I seem to find a link for it online anywhere (t56560 driver). Are you trying to run that driver with this particular stepper motor? If so, would recommend just using the ULN2003 motor driver that is commonly sold with this motor.
@parampalsingh94075 жыл бұрын
@@ModestMaker hey modest its tb6560 ...typing mistake.uln2003 are old drivers and new drivers are much better in terms of current adjustment and micro stepping.could u kindly see tb6560 on internet? thanks
@graemebrumfitt6668Ай бұрын
Cool Dude TFS, GB :)
@ModestMakerАй бұрын
👍
@daniellevaleriemacanig6005 Жыл бұрын
Hey there! Do you know how to use this code in Matlab?
@ModestMaker Жыл бұрын
Sorry- not a Matlab guy (although exploring R with some success).
@abpccpba3 жыл бұрын
Was that you with BOB and the kids?
@ModestMaker3 жыл бұрын
Yes - I've got a video with the obstacle detecting robot made out of an old toy packaging, assuming that's the one you are referring to ;)
@henriramonfosseАй бұрын
Thank you.
@ModestMakerАй бұрын
You're welcome!
@muhandisaweja7 ай бұрын
Can you give me a summary for your project ?
@ModestMaker7 ай бұрын
The final project is up to you😊. This is only meant to give you the tools and code necessary to facilitate your own inventions.
@ouahoudizakaria16682 ай бұрын
Danke..
@ModestMaker2 ай бұрын
Bitte!
@aquahoodjd Жыл бұрын
Yes I'd like to hook one of these stepper motors up to a microscope and then having a nano separate like look at the sample results in a centimeter cubes hand sample container using a small pump with it they sell these you know they're really small water pump electric Free trainer model online Jetson nano haven't look for your coli or parasites that are known to be issue in places like Africa were 250 million children are affected by parasites and you know they're also not getting enough nutrition and no matter how many of those peanut butter packets the United Nations food agencies giving them they aren't able to absorb it because they have parasitic for the people local people to know what the condition of their water is at any given moment is it is a good idea. People have the results of a Raymond spectroscopy a microscopic analysis of the water on The edge 200 Reno and a nano like a system-on-a-chip. I mean this is really taking the edge to the edge. I have the idea but I could never do this coding myself I don't know how. I could do the tensor. I can only learn so much so quickly. This would be a project for more than one
@ModestMaker Жыл бұрын
It's a good idea. The coding isn't too bad if you take it in very small steps- one piece at a time. That's coming from someone who was never formally trained outside of a class at my local community college, but I've managed to take ideas like these to fruition by breaking the problem down into small pieces. One of my old colleagues at work used to say: "Eat the elephant, one bite at a time."
@arduinomaquinas Жыл бұрын
Awesome video, good job, subscribed, @arduinomaquinas thanks you 👏👏👏👏👏 like 727.