THANK YOU, THANK YOU, THANK YOU!!!! This code is exactly what I was looking for!!! I really appreciate all your videos! They are very detailed and your documentation is excellent! I want to acknowledge all the time and effort that you take into making your presentations. Very well done, Sir!!! It truly escapes me how anyone could ever give you a thumbs down??? It just makes no sense! Anyway, keep up the great work. You are awesome and thanks again!
@robojax4 жыл бұрын
You are very welcome. I am glad you liked. Your subscription is appreciated. people come for the wrong reason to the video and when they don't find what they want, they thumb down the video. They don't read the title or look at the image. they look for orange but visit garden of apple and then they get disappointed. LOL. stay safe. Greenings from Canada. Ahmad
@eastindiacompany6912 жыл бұрын
nice vedio Ahmad shamshiri.
@aaryaprayagi19292 жыл бұрын
Thank you so much for the instructions,I wanted to ask if I can follow the same video if I use a nema 17 motor, because I need more torque but with the same functions
@robojax2 жыл бұрын
I have videos. Please search and if you don’t know how to search watch this video kzbin.info/www/bejne/hZnOhpabd7yWftU
@neogayest4 жыл бұрын
Thank you so much! excellent video and very well explained. I was having some trouble by working with L298N instead of ULN2003 but i figured out how to make it work. Thank you again!!!
@robojax4 жыл бұрын
You are welcome. I am glad you found it useful. Thank you for not skipping the ads and keep watching it. This will help me a lot.
@rhosta033 жыл бұрын
great tutorial Robojax.. Can you teach me how to combined this code with switch rotation with pullup button code just like in your another video? So We can control the speed with pot and also change direction with pullup button as well.. thanks in advance
@robojax3 жыл бұрын
Interesting project. I would have to make a video on that.
@rhosta033 жыл бұрын
@@robojax thank you so much.. i'll wait for it.. may Allah bless you..
@danielavaldezluis78924 жыл бұрын
Hi! I've watched your other videos and they have helped me a lot! Appreciate it I'm trying to control the arduino so it can also stop with the use of the know, I erased the 2 conditionals and thats not allowing me to fully control the motor with the arduino. I want to be able to start, adjust the speed and stop it with the potentiomenter. I'd appreciate it if you'd give a hand in this haha, it's for a school project. Thanks
@robojax4 жыл бұрын
Hi, I am glad you found my tutorials useful. I have tones of videos for this stepper motor, please see them all here kzbin.infosearch?query=28BYJ-48 and I am sure you can find something that works for you.
@thomaskuehn64902 жыл бұрын
Thank you for this Video. I always work with it. It´s verry good . Now I have a questen to you: How can I Stop the Motor with the poti and Start the Motor with the poti in the other way? Thank you for the answert Thomas
@robojax2 жыл бұрын
Hi, turn it to the left and the motor should stop. isn't it?
@robojax2 жыл бұрын
Here is full video with 8 projects for this motor kzbin.info/www/bejne/ioKag2WYjpKAjbc
@thomaskuehn64902 жыл бұрын
@@robojax Hi, I am sorry the Motor don´t stop it. He goes verry sloly. I have a poti with 10k Ohm .
@tobias-lars.hoeher2 жыл бұрын
Hello! I'm Tobias from Germany, although my English is not too good, I follow some projects on your portal and KZbin channel. Since I'm still very much at the beginning with Arduino programming, I'm always looking for projects that I can use as a basis. Unfortunately, I haven't found anything for my current project yet, so I thought I would ask if it would also be interesting for you and if you might want to implement this project :-) I would like to control a stepper motor with Arduino as follows. The following components are to be used. 2 lines matrix display, potentiometer, push button. It would be great to be able to set the speed in percent with the potentiometer and show it on the display. In the second line it would be great if a timer could be set via the buttons. Alternatively, it would be conceivable to set the timer with the potentiometer and the speed with the buttons. Maybe you would like to do something like that and put it online? I would like to build a device with which it is possible to shake or mix spray bottles. BR Tobi
@robojax2 жыл бұрын
Hi, all my codes are free but for custom projects I expect to be compensated. I have received your email. This would cost 100 euro. If you are interested please contact me but this time please provide your email address in the email message.
@DaHappyHooker4 жыл бұрын
Great video and very helpful but what would be even greater and very useful is if you could add all three codes for stepper motors you have as one total code. So you can have CW-Stop-CCW with SPEED and PUSH CW and PUSH CCW. This would be a great code to make and share. Thanks Robojax keep up the good work...
@robojax4 жыл бұрын
thanks. I have tones of videos on this motor kzbin.infosearch?query=28BYJ-48 I am sure you will find what you are looking for
@DaHappyHooker4 жыл бұрын
@@robojax thanks I will .love your videos
@3cm6484 жыл бұрын
thanks for help ! your video is always help to me !! solve a lot of my problem ! appreciate it !!
@robojax4 жыл бұрын
You are welcome.
@danielchavez93093 жыл бұрын
I have a question, the motor is running in a half step sequence, is it right?
@bylolo49645 жыл бұрын
🇫🇷 Bonjour ROBOJAX , très bonne vidéo et merci pour le 🔊
@robojax5 жыл бұрын
Salut, de rien.
@604smit5 жыл бұрын
nice job again Robojax, merci
@robojax5 жыл бұрын
Je vous en prie.
@johnmitchell1304 жыл бұрын
I'm using your code to drive the 28BYJ-48 stepper motor in a laser (starfield) unit. I'm needing to make the stepper motor run 'very' slowly and smoothly. I've commented out the potentiometer code in your example as I want the stepper motor to run at a consistent speed that I've hardcoded into the program. I've set the 'desiredValue = 500', but the code is still just a little too fast. The issue is when I set a higher value (to slow the motor down) it seems to introduce a noticeable 'jerky' motion to the motor. Is there a way to modify the code to make the stepper motor run very slow while smoothing out the steps in its rotation? Just wondering?
@robojax4 жыл бұрын
I ‘v written so many codes for this stepper motor if you search, I am sure you will find something that will work for you. Click on the Robojax logo , then click on videos and search or type stepper yo see all related videos
@rocoroco154 жыл бұрын
Thank you! Merci! Très bien expliqué!
@robojax4 жыл бұрын
Je vous en prie. Je suis content que vous l'ayez trouvé utile. Ahmad du Canada
@yliu20063 жыл бұрын
Thank you so much for your teaching! May I ask one question? how do you select the array values for the poles from Line 46 to Line49? Thanks a lot.
@robojax3 жыл бұрын
pole1[step] , like pole1[5] will turn pole1 step 5. we have 8 steps but I added step 9 to stop the motor. for for full step on one pole (like pole1) you should have pole1[0] pole1[1] pole1[2] ... pole1[8] Please watch the video multiple times as I have explained it.
@astrovillager2 жыл бұрын
Sir , can i make this with aurdino nano?
@robojax2 жыл бұрын
If I had mentioned specific Arduino then yes. All project I have shown will work with all Arduino boards unless I say otherwise.
@marianodigon90092 жыл бұрын
Hello! Greetings from Argentina. Do you know what maximum speed a stepper motor can reach? And what specifications do I have to take into account? Thank you!!!
@robojax2 жыл бұрын
Hello, I have explained the speed I. This video so please watch and pay attention.
@robojax2 жыл бұрын
Here is full 8 projects video on this motor kzbin.info/www/bejne/ioKag2WYjpKAjbc
@aceclan1114 жыл бұрын
You helped me a lot but it would have been less time consuming if you would have put the code in the description as well
@robojax4 жыл бұрын
the actual code? that is a VERY bad way. I have clean page with related material. Dedicated website which many other people can't have or mange.
@christiansteimberg19744 жыл бұрын
Great video. One question: what kind of external power source are you using? (output Volts and mAh)?
@robojax4 жыл бұрын
I have connected 5V. This motor needs low current. I have 0-30V 3A power supply .
@SummerFrost233 жыл бұрын
Thanks for the tutorial video. May I have the source that states " time = 4x + 1 " ? I could not find any information on this.
@robojax3 жыл бұрын
I tested it and found it.
@SummerFrost233 жыл бұрын
@@robojax Good piece of information. I tested it last night and it really works. Also, delayMicroseconds () may give more accurate timing because delay() function only takes integer number. Thanks again.
@Greatcriate4 жыл бұрын
Hi.. thanks for the info.. i want to use both buttons and speed control, please suggest
@robojax4 жыл бұрын
Hi, you should have searched my channel and I've got tones of videos on that here kzbin.infosearch?query=28BYJ-48
@_DarkKnight4 жыл бұрын
sir which motor has high torque (Bipolar) Nema 17 or (Bipolar)28BYJ-48?
@robojax4 жыл бұрын
Nema 17 is horse with comparing this which is just a bug.
@patadamson92964 жыл бұрын
Just what I was looking for. Can the same be done with a Arduino nano? Thanks.
@robojax4 жыл бұрын
I am glad you did. yes it can be done with any Arduino.
@kennethsamson55203 жыл бұрын
How to add buttons to change the direction of motor's revolution?? I just need to add buttons and I already got the speed. Thanks in advance
@robojax3 жыл бұрын
Search my channel for this motor and I am sure you will find something useful.
@reggylippens62594 жыл бұрын
hi there i am building a motorized predator gauntlet with moving blades my friebd advised me yo use 28BYJ-48 but the turnrate is so slow on max speed.....can you advise me a faster one but still compact to install and if possible 5v ? greetings
@robojax4 жыл бұрын
this motor can be slowed down and speed is maximum if you don't change it.
@Leandroirigaray3 жыл бұрын
Could you do an acceleration and deceleration ramp?
@robojax3 жыл бұрын
Hi, I have seen the request, I will see if I can write code for it.
@jetoma905 жыл бұрын
Hi! The code works fine for me, but the potentiometer goes the "wrong" way. Max left means maximum speed on the motor. I use const int desiredValue = 40;//time in sec for a Revolution const int dir = 1; // 1 for CW and 2 for CCW Everything is doublechecked according to connections. Can you help me out?
@robojax5 жыл бұрын
Please watch the video again when I mentioned the potentiometer. You have to switch the two wires of potentiometer (not the middle wire) but the other tow wires.
@星宿野菜4 жыл бұрын
May I use a 10k potentiometer?
@robojax4 жыл бұрын
Yes. anything from 1k to 100k will work.
@星宿野菜4 жыл бұрын
@@robojax Thank you very much!!
@michaelzajac52842 жыл бұрын
Please you teach me how to use XOD with Motor Speed?
@robojax2 жыл бұрын
never head of of XOD.
@animatesnews2354 жыл бұрын
Hi, excellent teaching style and v informative vids. Thank you. Im currently struggling with a byj48 to get fine speed resolution, (range 10s to 12s per rev) with resolution down to 0.1s as a minimum requirement. Is this even possible? Thanks in advance of any guidance. Peter
@robojax4 жыл бұрын
Hi, thanks. Here are my other video related to this and I am sure you can find solution in one of them. kzbin.infosearch?query=28BYJ-48 read the titles carefully or watch to find what you are looking for.
@marcelofuentes28743 жыл бұрын
This max speed can be only achieved with potenciometer?
@robojax3 жыл бұрын
I just your comment after 3 months. Sorry. I belie I explained in the video that we use potentiometer to slow the motor because with the potentiometer the motor runs at maximum speed.
@kostyaunin29005 жыл бұрын
hi. how i can adjust how many steps will do the motor?
@robojax5 жыл бұрын
I would have to make video on that.
@kostyaunin29005 жыл бұрын
@@robojax oh. It will be great. Thank you for you work
@phanquangchung6505 жыл бұрын
ok, I really like it
@robojax5 жыл бұрын
good to hear that.
@MrQuint14 жыл бұрын
Hey! I want to have the motor to stop when potentiometer at 0. And to be a a certain speed at 100%. I don't find how! Please help me
@robojax4 жыл бұрын
Hey, I tried to write simple code and post it here, but it seemed not simple as thought. so this need totally different code. this video which start/stop push button might help you kzbin.info/www/bejne/p16raHqYrr1ontE or seel the search result for all video related to his motor kzbin.infosearch?query=28BYJ-48 good luck
@MrQuint14 жыл бұрын
@@robojax Thanks!
@robojax4 жыл бұрын
you are welcome.
@Nexagon4 жыл бұрын
hi, exactly i made same things but my motor is vibrating and potentiometer reacts reverse, (when turn left goes to maximum speed)
@robojax4 жыл бұрын
Hi, then watch the introduction video and run it without pot.the link is in the description. then come to this.
@edyesouza13013 жыл бұрын
Muito legal seu projeto será que tem como fazer um carrinho autonamo com motor stepper que devie de obstaculos??? se tiver tem como você me ajudar a fazer um???
@robojax3 жыл бұрын
obrigado. você está falando de 2 ou 3 projetos em um. você precisa detectar um obstáculo usando ultrassom, laser ou infravermelho. então você pode controlar o motor para parar, iniciar ou alterar a velocidade. Tenho vídeo em cada um separadamente. Espero fazer um vídeo colocando-os juntos. Fique seguro. Saudações de Ahmad do Canadá
@edyesouza13013 жыл бұрын
@@robojax Ola amigo e que estou montando um escovador de chão ai estava querendo deixar ele autonamo por conta propria com 2 motor Stepper deste podendo andar e desviar de obstaculos, ou usando um celular pra controlar ele também?? mais eu não tenho muita pratica pra montar o codigo ai achei seu canal, será que vc monta ele pra mim???
@mehrdadalaei86923 жыл бұрын
How to change the direction of rotation of the motor؟
@robojax3 жыл бұрын
I have tones of videos on that. Search my channel for this motor. Here is how to Find Specific KZbin Video in a channel bit.ly/findKZbinVideo
@muppetpaster3 жыл бұрын
Nice video but I see a problem.....Powering he motor from the Arduinoboard is not a smart idea because DC Current on I/O Pins is max 40mA and DC Current on 3.3V Pin is max 50mA so you are driving the board on the brink of destruction....
@robojax3 жыл бұрын
Yes I have mentioned it perhaps you missed it. I have explained the powering the motor.
@moh2011ka3 жыл бұрын
I have problem with bldc controlling by pot
@robojax3 жыл бұрын
yes of course. this video is for stepper motor.
@geraldcharbonier63135 жыл бұрын
12v or 5v ?
@robojax5 жыл бұрын
5V
@VideoStefan174 жыл бұрын
thanks
@robojax4 жыл бұрын
You are welcome.
@plazmax5 жыл бұрын
Gj again, rotary encoder video comin ? :)
@robojax5 жыл бұрын
I have got the hardware but don't know when. Level of interest is low for that and that's why I have left it for later.
@techvideosenglish60213 жыл бұрын
🙏🙏
@musicsub76845 жыл бұрын
terimakasih banyak
@robojax5 жыл бұрын
Sama sama.
@nouralhouri94145 жыл бұрын
Where are you from brother ?? And thank you
@robojax5 жыл бұрын
You are welcome. I am Canadian, Afghanistani Persian. أنا فارسي من خراسان من أرض الإمام البخاري ومسلم وأحمد والترمذي وأبو داود وابن ماجه.
@nouralhouri94145 жыл бұрын
@@robojax İ loved you
@nouralhouri94145 жыл бұрын
@@robojax فارس أرض العلم
@FernandoCruz-vq5ez3 жыл бұрын
Hello very good video I subscribe to your channel. You will have this same video but with buttons for example 4 buttons? Let those 4 buttons have 4 different speed. More than anything, I'd use it to control an astrophotographic tool. Thanks a lot.
@robojax3 жыл бұрын
Hello, it’s search my channel and I have got tons of videos on this motor
@FernandoCruz-vq5ez3 жыл бұрын
@@robojax Good morning, If I've already seen the video but it's only one button that turns left and another button on the right, I'd like the same button to have different types of speeds. Or if you can 4 buttons one with each speed. I hope it's not too much to ask I'm new to Arduino and it makes it difficult for me to code. Best regards
@robojax3 жыл бұрын
Did you check STPB-5 video? It has multiple push buttons each for different angle
@FernandoCruz-vq5ez3 жыл бұрын
@@robojax If this is the idea, but that the turn remains constant and does not stop, when you press another button, change to another speed. For example, program 4 buttons, the first one that has a constant 60 seconds, the second 1 constant every 45 seconds, etc. More than anything because I have a mount for a photographic camera and I want to compensate for the rotation of the earth and keep it fixed. the movement of a nebula in my camera and not lose sight of it and achieve a longer exposure time
@arduinohobby5 жыл бұрын
Подключение шагового двигателя 28BYJ-48 с драйвером на микросхеме ULN2003 к Arduino Uno kzbin.info/www/bejne/bpOQapeooqeDirs
@robojax5 жыл бұрын
Здравствуйте, я оставлю ваш комментарий со ссылкой на этот раз. Пожалуйста, не размещайте ссылки. Пожалуйста, ответьте на этот комментарий, чтобы я оставил ваш комментарий.
@arduinohobby5 жыл бұрын
@@robojax Оставьте, не удаляйте. Спасибо.
@robojax5 жыл бұрын
Добро пожаловать. Нет проблем. На самом деле я могу читать и писать по-русски, но я забыл говорить. Я помню несколько слов, а также песню Калинка.