برك الله فيك اخي وجعلها في ميزان حسناتك متابع جديد لك من الجزائر
@robojax3 жыл бұрын
آمین اخی. شکرا . أخوك الفارسي من الخراسان الکبیر دیار الإمام البخاري. الإمام الترمذي ، الإمام مسلم ، ابن ماجه. الان افغانستان. أنا أعيش الآن في كندا
@tusharmestry696 Жыл бұрын
Hello Sir Great Video to learn Thank you for sharing.
@grzegorzimioek243218 күн бұрын
Hello, how can you implement an engine speed control program using two buttons, one increases the speed and the other decreases it? Regards
@alanmcrae25007 ай бұрын
Hi, I want to control a stepper motor with arduino. I require a start/stop with up and down speed push button control, 1-60 rpm. Also I need to use arduino 2 line display to show rpm between 1-60 in increments of 1 via Pb. How can u help me? Regards Alan McRae
@tusharmestry696 Жыл бұрын
I want to write a program, complete set up same but only 2 button if I press cwbutton it should move clock wise if I release button it should stop, same if I press ccw button it should rotate counter clockwise if button related it should stop. Also should be able to varry the speed using potento meter instead of writing values in code. Can you Help?
@MrLodzin3 жыл бұрын
Great video Ahmad. Tumbs up !
@robojax3 жыл бұрын
Thanks 👍
@electronic79794 жыл бұрын
Her zamanki gibi mükemmel bir video. Her saniyesini keyifle izledim.
@robojax4 жыл бұрын
Teşekkür ederim. Türkçe altyazı da dahil olmak üzere altyazılara çok zaman harcadım. Umarım açıktır.
@electronic79794 жыл бұрын
@@robojax Merhaba. Altyazılar anlaşılır. Altyazı hazırlamak zaman alıyor ama youtube da izleyici kitlesini epeyce arttırıyor. Bende videolarımı ençok kullanılan dillere göre altyazılı olarak hazırlıyorum.
@robojax4 жыл бұрын
Kanalınızı yeni ziyaret ettim. İlginç videolar. Herşeyin gönlünüzce olması dileğiyle. Türkiye'de nerede yaşıyorsun?
@electronic79794 жыл бұрын
@@robojax Teşekkür ederim. Türkiye de İzmir de yaşıyorum.
@michaelwdunedinnewzealand29932 жыл бұрын
Hey Ahmad, I built this circuit and it works great however I need to slow down the speed of the stepper motor , How can I do that with a potentiometer or your suggestion for this specific circuit. I prefer this circuit because its already built and working so I just need to add a speed controller too.
@robojax2 жыл бұрын
Hi, this is the end video on NEMA stepper series. In this video kzbin.info/www/bejne/mYq3enagaamKj8U I have mentioned speed. in the current video there were speed control. but watching the first video will help you understand the speed values.
@michaelwdunedinnewzealand29932 жыл бұрын
@@robojax this is not helping me. I asked to use a potentiometer with this circuit so that I can control the motor more precisely. Your code does not permit me to lower the speed enough for my purpose.
@Dancopymus3 жыл бұрын
First of all, thanks for the excellent stepper motor tutorial! I have two questions: 1) It worked perfectly but my engine is heating up a little; I'm connecting the L298N with 12 volts. I don't know what the motor voltage is; it's a small MITSUMI engine (the label came out). 2) As I said, your project is excellent but, in particular, I think it would be much more useful if one of the buttons turned the engine in the opposite direction! Thanks again
@robojax3 жыл бұрын
you are very welcome. Yes you gotta find out the voltage. for the push buttons switches, I will make more videos. the possibilities are endless. I have them on my list.
@Dancopymus3 жыл бұрын
@@robojax Okay, let's say the motor is 5 volts, so how can I start it on the L298? Can I power the L298 with 5 volts?
@robojax3 жыл бұрын
yes you can power it up it with 5V. just try it. Lower voltage has no harm in the module.
@sam356962 жыл бұрын
Many thanks to you its so useful .
@robojax2 жыл бұрын
You are welcome. The best thank you for me is to subscribe to my channel. Thank you.
@Amrsaadany-dir4 жыл бұрын
Hi Ahmad, great Tutorials, i learned a lot from you, quick question :) . I am using a Nema 17 with A4899 driver, it keeps screaming and vibrating, and it moves when I touch it with any metal object. Appreciate your reply thanks!
@robojax4 жыл бұрын
You are welcome. I am glad you found my tutorials useful. it means you are using wrong library or incorrect wiring.
@Amrsaadany-dir4 жыл бұрын
Is there specific ways To test for these? Thanks
@thehaseeb91363 жыл бұрын
Bro have u resolved that issue ?? I am facing same issue
@jmargarson3 жыл бұрын
Thanks for the tutorial. If I wanted the code to work when the inputs go high would it just be a case of changing the code from (speedPBInc, INPUT_PULLUP) to (speedPBInc, INPUT), (digitalRead(speedPBInc) ==LOW) to (digitalRead(speedPBInc) ==HIGH) and adding a pull down resistor resistor?
@robojax3 жыл бұрын
Yes, correct
@jmargarson3 жыл бұрын
@@robojax Thank you
@robojax3 жыл бұрын
you are welcome.
@jamesgoacher16064 жыл бұрын
Interesting. I am at the foundation level at the moment gradually getting throught the fundementals but I think I am sure to want a Stepper Motor as a servor at some time in the future.
@robojax4 жыл бұрын
I am busy working on more Stepper motor control and writing codes. This is the interesting components. it can be controlled very precisely. Good luck with learning.
@Masonstravels2 жыл бұрын
Robojax, in the description link for the code, it appear the bottom portion of code is cut off. Would you be able to post the code as a reply so that I may see the full version? Thank you.
@robojax2 жыл бұрын
Hi, Thank you for letting me know. I just fixed it. We have migrated our website to another publishing platform and a few got issue. I appreciate you letting me know.
@Masonstravels2 жыл бұрын
@@robojax May I also ask which specific model of NEMA 17 motor did you use? I am using a stepper motor to actuate a crank slider mechanism to simulate a shaker table, so I just wanted to compare the spec sheets of this motor to other NEMA 17 and NEMA 23 motors I am considering. I want to ensure I have enough torque to still move my base when operating at 100-200 Hz. This setup is exactly what I need, just unsure about my specific motor selection with many motors suiting my application exceeding the current for the L298N, so I don't want to 'fry' the driver.
@rommelvillegas2 жыл бұрын
Great design, I really learned a lot. Worth subscribing for. Sir RJ, wondering if adding 4th SW to be able to interchange directions. If switched the direction would change instead of going to the sketch and manually changing them. What are your thoughts? looking forward ont he next video...have a good day Sir
@robojax2 жыл бұрын
I am glad it helped. I've added into my list to make video when I got time for it. thanks
@youeng13 жыл бұрын
Dear Ahmed, Could you help me, how can I increment and decrement counter quickly when have hold press push button. With My Best Regards
@robojax3 жыл бұрын
Hello, if you didn't learn it from this video, then watch the main video kzbin.info/www/bejne/mYq3enagaamKj8U
@youeng13 жыл бұрын
@@robojax Dear Ahmed thank you for quick response, It seems you didn't understand my question well. I'm a pretty good programmer, and I have another Arduino application about the motor control by pushbutton , my question is (every pushbutton press will only do one increase or one decrease. ""While, when we pushbutton press and hold will do increase or decrease quickly""). what is the addition to the code to make the hold pressure work. Best Regards.
@symontorres39522 жыл бұрын
is my power supply 11.1 v with 3000 mah cause the overheating of my driver and motor?
@robojax2 жыл бұрын
Search for my other video for this motor where I have shown how to use stop or hold which reduces energy consumption.
@mohammadsantosochannel49214 жыл бұрын
hi, your video about this tutorial is very good, can the program be made on the menu that displays on the lcd?
@robojax4 жыл бұрын
Hi, interesting idea and I will see if I can make video on that. Thanks.
@vutruongoffical17894 жыл бұрын
thank you
@robojax4 жыл бұрын
You're welcome
@erbarwinder93473 жыл бұрын
Hi, Sir can you help me I have created a program that controls the motion of the stepper motor in which i have used the L298 driver , but now I'm stuck at one point , I'm not able to apply anticlockwise motion via push push button (PB IS ACTUALLY LIKE ELECTRIC CONTUNITY PATH (please suggest me how i apply if command)...... Actually it is a robotic machine where if electric continuity is High then motor rotate anticlockwise & if electric continuity will LOW Motor will be remain stop // Include the Arduino Stepper Library #include int i=0; int PB=13; int RELAY=12; // Number of steps per output rotation const int stepsPerRevolution = 200; // Create Instance of Stepper library Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11); void setup() { // set the speed at 60 rpm: myStepper.setSpeed(60); // initialize the serial port: Serial.begin(9600); pinMode(PB, INPUT); pinMode(RELAY,OUTPUT); } void loop() { while(i
@robojax3 жыл бұрын
Remove all serial prints
@riananti88044 жыл бұрын
hi ahmad .. interesting tutorial .. but I want to ask if the motor speed can use a potentiometer that uses a display and still use the start / stop button? I want to get the Arduino program and the wiring diagram I usually use TB5660 driver. thank you very much🙏🙏🙏
@robojax4 жыл бұрын
this code is for L298N. Yes you can use a display and potentiometer. Check my other video.
@riananti88044 жыл бұрын
@@robojax can you tell / give the link you mean? because you have a lot of videos ... 😁
@riananti88044 жыл бұрын
@@robojax and can this circuit use TB5660 stepper motor driver?
@ManuelRochaSA3 жыл бұрын
Great tutorial, is any possibility to add i2c display show the RPM? that will great appreciated, thanks
@robojax3 жыл бұрын
Yes it is possible and I may make the next video on this topic.
@ManuelRochaSA3 жыл бұрын
@@robojax Please do that when possible, thanks
@tedspencer60243 жыл бұрын
Very good video can you give me any idea how to add reverse direction to to the sketch Please
@robojax3 жыл бұрын
Hello, this might help kzbin.info/www/bejne/mYq3enagaamKj8U you could search for L298N Here is how to find Specific KZbin Video in a channel bit.ly/findKZbinVideo
@chickenman0014 жыл бұрын
Hello tx for a great channel. Is there an L298N that can handle more than 2A. I have a project that will draw higher amperage say 4A. Thank you
@robojax4 жыл бұрын
the maximum current for L298N is according to datasheet with very large heat sink is 2.5A. so you would have to look for different chip like Dual VNH2SP30
@chickenman0014 жыл бұрын
@@robojax thank you 😀
@robojax4 жыл бұрын
you are welcome.
@SOUZAELS3 жыл бұрын
HELLO MASTER...great work you done, i have the same hardware, plus a mega2560, and i need your help, the max speed that i achieve in NEMA17 was 160RPM, i need at least 300RPM, and i need to increase a acceleration, but i dont know how i can d thes, please help me.... i great huge from BRAZIL
@robojax3 жыл бұрын
Hello, the speed of motor is determined by the motor. if you increase the speed in the code, the motor if can , will run at that RPM. There is problem with the quality of motor. also make sure do not print anything on the serial monitor as serial monitor will slow the process. good luck.
@f-magsinoroanurcia5787 Жыл бұрын
hi can i use different push buttons for this.
@robojax Жыл бұрын
Hi, push button is a switch. you can use any switch to connect and disconnect two wires.
@f-magsinoroanurcia5787 Жыл бұрын
@@robojax thankyouu. another question can i use powerbank or motor battery for this system to function
@robojax Жыл бұрын
Yes if you supply the voltage needed to the motor. Sure
@paulocella97454 жыл бұрын
I started taking your arduino course..lol
@robojax4 жыл бұрын
LOL
@thenet01200024 жыл бұрын
Excellent video on programing Arduino.
@robojax4 жыл бұрын
Thank you.
@ilhamrahmatmuharam85014 жыл бұрын
Thanks,, its very helpful Can I use this code for other types of drivers? I used type ULN2003
@robojax4 жыл бұрын
I have tones of videos for that controller. But yes.
@AsakuraAvan4 жыл бұрын
what is the model the stepper motor that you're using in this video?
@robojax4 жыл бұрын
The model doesn't matter as long as you get 4 wires motor. You can see the model as 4:35 . Watch introduction video to stepper and you can easy use any motor
@AsakuraAvan4 жыл бұрын
@@robojax I've seen a few of your videos controlling stepper motors with the L298N. I've followed the instruction exactly as with wiring and the code but for some reason my stepper motor can't turn smoothly at low RPM, they jitter and turn back and forth at the preset speed of 60 rmp. When I bump it up to 180 RPM and over, it turns just fine. I have tried 5 different motors of the same type that i ordered (4 wire bipolar) and they seen to behave the same way, thats why I was wondering if it has to do with the model of the motor.
@robojax4 жыл бұрын
Hi, you must be have different phase because if you watch introduction for this, you can set i even 1 step and no issue. I am not sure what you do wrong or what is the motor phase wiring. Pleas watch the introduction video and I am sure you will find the solution.
@adamelkoumy51414 жыл бұрын
Hello Ahmad. Happy Ramadan. Would you please make a video about how to measure high DC current such as 50-100 amps using a shunt and not a current sensor??? shokan salam
@robojax4 жыл бұрын
Hello Tommy, Thanks. Ramadan Mubarak. I have a video for the product that displays up to 100A here kzbin.info/www/bejne/qpjRloFond-Fm5I I just put it on my list.
@adamelkoumy51414 жыл бұрын
@@robojax I wanted to connect it to Arduino
@robojax4 жыл бұрын
I know some people would need it. God willing I will make 2 or 3 videos .
@adamelkoumy51414 жыл бұрын
@@robojax inshallah. Thank you Ahmad
@adamelkoumy51414 жыл бұрын
Also I noticed some empty pins (4 or five) in DC voltmeter ammeter board panel that comes with the shunt. I wonder if they can be handy.
@tanaraj43965 ай бұрын
I am using A4988 driver nema motor 17...i m using button but the motor is vibrating
@ortizgab3 жыл бұрын
Hi, Ahmad! How can I add direction control?
@robojax3 жыл бұрын
Hi, that need a video. I will make it God willing
@Thuliolima20084 жыл бұрын
very good thanks
@robojax4 жыл бұрын
you are welcome.
@tanaraj43965 ай бұрын
Do you have code for A4988 driver
@madhukeshnp4 жыл бұрын
Please show us how to set home position for stepper motors.
@robojax4 жыл бұрын
I will make video on that.
@paulocella97454 жыл бұрын
What is the maximum speed in rpm of this nema 17 engine?
@robojax4 жыл бұрын
NEMA 17 has many variations with different voltage and current. Whatever you purchase, make sure you get the datasheet for it.
@factmachan-official45713 жыл бұрын
How control this setup with humidity sensor plese give coding for Arduino for our mini university project please sir
@robojax3 жыл бұрын
You can learn it from kzbin.info/www/bejne/a6m0aamCltuKgbM
@dharmeshdudhaiya39692 жыл бұрын
Sir reverse and forward control
@robojax2 жыл бұрын
see the introduction video for this motor.
@rafdtmtm79814 жыл бұрын
استاذ ولا رابط يفتح وكيف ادعمك من بي بال ممكن توضيح
@robojax4 жыл бұрын
شكرا جزيلا لك. لقد راجعت للتو رابط باي بال ويعمل. هنا هو الرابط مرة أخرى paypal.me/robojaxTV
@bridevalley3 жыл бұрын
Video jumps around with apparent gaps and sound levels are all over the place. Not conducive to good learning.
@robojax3 жыл бұрын
Lol you don’t want to lean. You should be sound engineer
@anishshaikh24674 жыл бұрын
1 Rd no 2 stepper motor working
@robojax4 жыл бұрын
you have to provide error code or result.
@auden_builds3 жыл бұрын
my driver keeps overheating
@robojax3 жыл бұрын
pay attention to stop and hold explained in the video. Hold is consuming current to hold position.
@Amrsaadany-dir4 жыл бұрын
Hi Ahmad, great Tutorials, i learned a lot from you, quick question :) . I am using a Nema 17 with A4899 driver, it keeps screaming and vibrating, and it moves when I touch it with any metal object. Appreciate your reply thanks!
@robojax4 жыл бұрын
Hi, it means incorrect wiring or you've changed the code. check it.