I was going to tell you that your English is fine, but I see that almost everyone has already told you that. But as long as I'm here, your English is fine. Thanks for the good video.
Your narration is fine. If you don't feel comfortable with narration instead use subtitles as the section you show your code could be better explained to the viewer.
Bhaiyyaji, Feel proud to give commentary in our Hindi or any Indian language, may with english subtitles if necessary or Hindi . You did very well. Congrats. JAi Bharat.
Angular position control works fantastic! BTW, your narration wasn't bad. It's just that local accent and that's acceptable. Striving for better is always commendable though.
Excellent, for more precise controls, and flat response, MPC controller, LQG, or measure current with INA219, then 3 PIDs in cascading. The first PID control current (fastest state), second PID control de angular speed, and last PID, control the position. And there are more control strategies for a DC motor, but with MPC control, the angle accuracy is perfect and with the fastest and flattest response, without overshoot.
Wow. found out your channel recently, your explanation is very good. I have seen a few optical encoder videos reading through the code but the closed loop diagram you presented pretty much gave me an easy way to understand the what the whole thing does. It's like a big picture, now I can re-read the codes with a sense of direction.
Your English is fine. You are explaining difficult concepts in a second language. The only point of language is to allow us to communicate effectively. If anyone judges a non native English speaker's intelligence by how well they speak English, then I don't think that person understands what intelligence is. The only thing I would add to the video is that when you show each component, you should have text on the screen describing the component. Maybe the name, the part number and what it does. Most people watching the video will be using it as a tutorial or for guidance and that information would be very helpful.
Thanks for the video. You English is not that bad. You are doing just fine. I did not that the control loop has significant overshoot. That is a significant problem for machines such as CNC
Thank you for the video, it is interesting! Just FYI, the angular measuring device is not a "protector", it is a "protractor". This is a great little project.
Brother you still explained it well, I will recommend you to write script of what you want to tell then do voice over so it will help you improve your videos and confidence.👍
This is UA-cam... unlike radio or TV, viewers can replay things if they missed something. Your narration is fine; perhaps you can keep in mind that the tempo of English is quite a bit slower than many other languages. Your subtitles do have quite a few spelling mistakes. The meaning is perfectly clear, but maybe typing them into a word processor with English spell-checking turned on would be worthwhile. Excellent video thanks.
This is amazing dude, it even works with my 3200 ppr stepper motor with encoder, just had to change the 1600 ppr to 3200 in the map() function, or else I could only achieve to get from 0 to 180 degrees.
Hi, I know it's an old Project.. I'm trying to reproduce the Project and for me the motor start spinning continually once I enter any value.. it stop if I enter 0 I'm using a 12V DC Polulu motor with encoder with 30:01 Gear Ratio and No Load Speed 350 RPM and 1440PPR
TCCR1B = TCCR1B & 0b11111000 | 1; // set 31KHz PWM to prevent motor noise Timer/Counter Control Register 1 B(TCCR1B) is used for PWM 9 and 10, but you're using PWM on pin 6. Shouldnt you be changing TCCR 0 instead? thats the control register for pin 6. I would be interested in seeing your output frequency of pin 6 compared to 9 and 10. Either way, it got the job done. Great video!
Your English is excellent - thank you for the presentation. This is something I’ve been researching and it the best solution for my project yet. Again thank you. Anibal
lets say circle have 400 locations on it instead of 360 degree, each location identified as numeric location id, so how can we move to pointer to series of location given... for example starts from 0 to 10 then move to 34 -> 200 -> 90 -> 275 -> 345 and so on .. how to do these series moves one after other
if the encoder was connected to the motor shaft instead of the output of the gear motor and it took 30 rotations of the motor to turn the output one revolution, would your code state as the number of pulses of the motor shaft 48,000 for the output shaft to go 360 degrees? int PPR = 48000 // not 1600; // Encoder Pulse per revolution: int angle = 360; // Maximum degree of motion
Unfortunately in your example, especially the ones where you type in the numbers, does not seem to work too good. The arrow "overshoots" the target quite a bit, and it's an extremely light item, what would happen if the motor was driving something with more moment of inertia? I'd expect acceleration and deceleration to be much smoother, otherwise the PID controller is not really that useful. Very nice PCB I also like to use JLC PCB
how does the arduino know where the motor zero is when it starts up? for example if is loosed power midway and you turn it on , it will start with that position as zero. is that correct?
Greetings from Iowa in the USA. Your accent is thick but I can understand you just fine. You could always let a few people screen your videos privately before releasing them if your worried about your English. I like what you have done here. I think it's possible to control this motor with step and direction commands using some of your design; then people could progress past stepper motors and open loop designs. Thank you for your work!
I'm curious... when the pointer is moving anti-clockwise the PID works beautifully, but when it is moving clockwise there is quite a noticeable overshoot. Can this be improved?
Hello, the project looks great. I want to print psb myself at home for this project. How do I create a psb that is single layer and can only be used for this project?
Hello mrinnovative. I have an issue as my motor is not moving precisely, its like i wouldnt even have a pid and the pointer is fliping back and forth, continously. Any advice on the matter? Many thanks in advance!
Can I use PID to control speed? I am using a system where I need the motor to rotate a shaft at a constant speed. I am using a belt&pulley to make the rotational speed as constant as possible, but it is still showing slight variation in speed (+-4-5% max). Can I improve it through Arduino PID?
6:13 Anmerkung zum Text dort : www.deepl.com/de/translator ist vermutlich der schnellste Übersetzer der Welt und soll auf immer mehr Sprachen erweitert werden. Ich bin zuversichtlich, dass man dort eines Tages auch geschriebenen Text in gesprochene Sprache wandeln können wird. Niemand sollte sich scheuen seine Muttersprache zu gebrauchen und die Übersetzung den Experten zu überlassen. Der Hauptfehler ist, gesprochene Sprache mit störenden Hintergrundgeräuschen zu verschandeln. Wer Musik hören will soll Musik hören und wer sachbezogenen Text hören will, der soll das ungestört tun können.
Not the encoder, but arduino remembers it because I had tested it with arduino mega 2560 and pmdc motor. When I stopped running motor by hand.. It started with the same pattern from where it was stopped. Note that I did not cut power supply only stopped by hand running
I would like to ask your help with this project, I am doing it for my course, but it is not working properly, the hc-05 signal is falling, and the engine is shaking when sending the information. If you can help me solve it I am grateful
Hey mr. innovative! this is absolutely my favourite video by you. I do understand your english very well, so just keep on sharing your great videos. I would love to see a video by you how you do this PID project in Matlab. what do you think?
This is an amazing project. Thank you for sharing this video. Sir, can we make this system using the LM393 speed sensor? I am using it and facing problems like overcount though I am using interrupts.
Sir can you please do it with wiper motor and detailed video as I am looking for a pid based servo controller project with aurdino uno and joystick module.
Hi, Thanks a lot, its really greate effort and great knowledge. i need to do a project for a preset position linear actuator with a DC motor abd a stepper motor, with Arduino Mega or UNO but i am not able to write the code and the scheme, can you please help. Regards
It's excellent to see a real example of a PID, I'm currently studying them in theory but couldn't picture in practice. Thank you!
I was going to tell you that your English is fine, but I see that almost everyone has already told you that. But as long as I'm here, your English is fine. Thanks for the good video.
Mr Innovative, Your English is perfect. And your videos are some of the best I have seen. Best wishes and please keep innovating .
This indeed is a great project thanks for your hard work. Your narration is fine please don't stop.
Your narration is more than good enough considering the high quality of your projects - excellent.
Your narration is fine. If you don't feel comfortable with narration instead use subtitles as the section you show your code could be better explained to the viewer.
Thanks for you valuable suggestions i will definitely work on it
@@MrInnovative Mr. Chainsaw is right, but indeed understand that your narration is fine :-) It's not a problem if you are a bit harder to understand.
Watch this video for making it ua-cam.com/video/UyljPBSpYpY/v-deo.html
@@ssirdigital vid is not available
@@haiderali-sk5zl visit my chanal and watch video
mate, completely fine. one of my favorite youtube channels, the guy is russian and speaks zero english. his is all subtitled. its all good.
Thanks buddy
which channel is that mate?
Bhaiyyaji,
Feel proud to give commentary in our Hindi or any Indian language, may with english subtitles if necessary or Hindi . You did very well. Congrats. JAi Bharat.
Angular position control works fantastic! BTW, your narration wasn't bad. It's just that local accent and that's acceptable. Striving for better is always commendable though.
Your english is very good. Your video, however, was amazing! Probably the best I've seen in terms of explaining PID systems.
6:23 Don't worry bro you did it so well.. i understood everything..
And your English is also good 😉
Finally, I know how to apply PID position control, Thanks!
Excellent, for more precise controls, and flat response, MPC controller, LQG, or measure current with INA219, then 3 PIDs in cascading. The first PID control current (fastest state), second PID control de angular speed, and last PID, control the position. And there are more control strategies for a DC motor, but with MPC control, the angle accuracy is perfect and with the fastest and flattest response, without overshoot.
Wow. found out your channel recently, your explanation is very good. I have seen a few optical encoder videos reading through the code but the closed loop diagram you presented pretty much gave me an easy way to understand the what the whole thing does. It's like a big picture, now I can re-read the codes with a sense of direction.
Your English is fine. You are explaining difficult concepts in a second language. The only point of language is to allow us to communicate effectively. If anyone judges a non native English speaker's intelligence by how well they speak English, then I don't think that person understands what intelligence is.
The only thing I would add to the video is that when you show each component, you should have text on the screen describing the component. Maybe the name, the part number and what it does. Most people watching the video will be using it as a tutorial or for guidance and that information would be very helpful.
Thanks for the video. You English is not that bad. You are doing just fine. I did not that the control loop has significant overshoot. That is a significant problem for machines such as CNC
Thank you for the video, it is interesting! Just FYI, the angular measuring device is not a "protector", it is a "protractor". This is a great little project.
Thank you very much 😊
Brother you still explained it well, I will recommend you to write script of what you want to tell then do voice over so it will help you improve your videos and confidence.👍
This is UA-cam... unlike radio or TV, viewers can replay things if they missed something. Your narration is fine; perhaps you can keep in mind that the tempo of English is quite a bit slower than many other languages.
Your subtitles do have quite a few spelling mistakes. The meaning is perfectly clear, but maybe typing them into a word processor with English spell-checking turned on would be worthwhile. Excellent video thanks.
thanks for feedback sir
I loved the video! Keep up the good work!! And I completely understood your english btw
language is never a barrier to knowledge .keep trying .
This is amazing dude, it even works with my 3200 ppr stepper motor with encoder, just had to change the 1600 ppr to 3200 in the map() function, or else I could only achieve to get from 0 to 180 degrees.
how can we get a zero angle reset
A really..innovative topic! Thanks a lot for this video. Also for me the narration is fine. Congratulation from Italy.
Hi, I know it's an old Project.. I'm trying to reproduce the Project and for me the motor start spinning continually once I enter any value.. it stop if I enter 0
I'm using a 12V DC Polulu motor with encoder with 30:01 Gear Ratio and No Load Speed 350 RPM and 1440PPR
TCCR1B = TCCR1B & 0b11111000 | 1; // set 31KHz PWM to prevent motor noise
Timer/Counter Control Register 1 B(TCCR1B) is used for PWM 9 and 10, but you're using PWM on pin 6.
Shouldnt you be changing TCCR 0 instead? thats the control register for pin 6.
I would be interested in seeing your output frequency of pin 6 compared to 9 and 10.
Either way, it got the job done. Great video!
Very nice , Innovative, small budget. Well done bro. Please continue other such videos....
Your english is lot better than others.Dont worry about it.
Thanks for your feedback sir
Your English is excellent - thank you for the presentation. This is something I’ve been researching and it the best solution for my project yet. Again thank you. Anibal
Thanks a lot for the info, as an non-native English speaker is ok for me your narration.
That was a great video...showed us the entire process...excellent. Your English is great!
Understandable, clear, just keep on posting videos and you will get all the necessary practice. Thumbs up maaaan!!!
Your narration is fine. Will improve over time. Just keep making videoss and listen to good narrators.
lets say circle have 400 locations on it instead of 360 degree, each location identified as numeric location id, so how can we move to pointer to series of location given... for example starts from 0 to 10 then move to 34 -> 200 -> 90 -> 275 -> 345 and so on .. how to do these series moves one after other
if the encoder was connected to the motor shaft instead of the output of the gear motor and it took 30 rotations of the motor to turn the output one revolution, would your code state as the number of pulses of the motor shaft 48,000 for the output shaft to go 360 degrees? int PPR = 48000 // not 1600; // Encoder Pulse per revolution: int angle = 360; // Maximum degree of motion
Unfortunately in your example, especially the ones where you type in the numbers, does not seem to work too good. The arrow "overshoots" the target quite a bit, and it's an extremely light item, what would happen if the motor was driving something with more moment of inertia? I'd expect acceleration and deceleration to be much smoother, otherwise the PID controller is not really that useful. Very nice PCB I also like to use JLC PCB
how does the arduino know where the motor zero is when it starts up? for example if is loosed power midway and you turn it on , it will start with that position as zero. is that correct?
thanks for your GREAT INNOVATIVE WORK WITH DETAILED + EXCELLENT EXPLANATIONS !!! BRAVO !!! BRAVO !!! BRAVO !!!
Would your arduino sketch work with an encoder using a hall effect sensor (magnetic encoder instead of an optical encoder)?
Nice video, you spoken well enough to where I understood everything you said.
Thank you very much for your feedback
Greetings from Iowa in the USA. Your accent is thick but I can understand you just fine.
You could always let a few people screen your videos privately before releasing them if your worried about your English.
I like what you have done here. I think it's possible to control this motor with step and direction commands using some of your design; then people could progress past stepper motors and open loop designs.
Thank you for your work!
Thanks for your support
I have a project regarding encoder and motor can you pls help for the code
Got code fixed. I was missing a PID library. Still need part and part number for bluetooth device
Yes I can see you are uncomfortable in English but we are indian, we may b uncomfortable with englissss 😂😂 but not with new experiments ..good work🤘
How chages I need to do for replacing Bluetooth module with a key board for manual input
Nice job, congratulations! ( Watching from Brazil)
I'm curious... when the pointer is moving anti-clockwise the PID works beautifully, but when it is moving clockwise there is quite a noticeable overshoot. Can this be improved?
Same question here.
Thank you for the video. I understood your English.
Hello, the project looks great. I want to print psb myself at home for this project. How do I create a psb that is single layer and can only be used for this project?
Your explanation is perfect. Thank you so much.
You're very welcome!
Where did you get the blue tooth kit and do you have a part number for it
What is the reason when going clockwise it misses and returns back?
Great work,you could have included the Link for Bluetooth android app and explained the code. Don't worry about your english
Can i control set of position? say at 1 sec 20deg; 2sec 5deg; 4sec180; etc
Do you have a part name and number for your blue tooth device along with where to get it in the USA
Hello mrinnovative. I have an issue as my motor is not moving precisely, its like i wouldnt even have a pid and the pointer is fliping back and forth, continously. Any advice on the matter? Many thanks in advance!
Can I use PID to control speed? I am using a system where I need the motor to rotate a shaft at a constant speed. I am using a belt&pulley to make the rotational speed as constant as possible, but it is still showing slight variation in speed (+-4-5% max). Can I improve it through Arduino PID?
What if I want to control 3 motors from the same HTML page? What kind of microcontroller would be best?
Can I use rotary encoder module to control the motor angle or it's just as a potentiometer?
Can't we can control two motors
Multiple libraries were found for "PID_v1.h" I HAVE THIS ERROR HOW I CAN SLOVE IT. THIS LIBRARY DOSE,T FIND IN ARDUOINO WEBSITE.
Great Video.
Sir kindly guide, Is this possible this project is working through Labview.
What is the name of this application that you used to control and give values directly on a phone?
Well done bro i want this all thing for my project
Excellent video. Thanks!
It's clearly visible how good PID is working in one direction and how poor in opposite. But overall looks promising
6:13 Anmerkung zum Text dort : www.deepl.com/de/translator ist vermutlich der schnellste Übersetzer der Welt und soll auf immer mehr Sprachen erweitert werden. Ich bin zuversichtlich, dass man dort eines Tages auch geschriebenen Text in gesprochene Sprache wandeln können wird. Niemand sollte sich scheuen seine Muttersprache zu gebrauchen und die Übersetzung den Experten zu überlassen.
Der Hauptfehler ist, gesprochene Sprache mit störenden Hintergrundgeräuschen zu verschandeln. Wer Musik hören will soll Musik hören und wer sachbezogenen Text hören will, der soll das ungestört tun können.
Thank You for this tutorial, but I have one question. Does this encoder know the position of angle if we reset the power supply ?
Not the encoder, but arduino remembers it because I had tested it with arduino mega 2560 and pmdc motor. When I stopped running motor by hand.. It started with the same pattern from where it was stopped.
Note that I did not cut power supply only stopped by hand running
Why the needle overshoots when you input 90 degree ?
What is the purpose of---void finish ()? I can't find anything that calls it.
I would like to ask your help with this project, I am doing it for my course, but it is not working properly, the hc-05 signal is falling, and the engine is shaking when sending the information.
If you can help me solve it I am grateful
I've some doubt. Can you help me on how to give input directly in the code instead of giving it from the app.
Thank you for your video,can I use it hmi instead of mobile
What's the action of pid in this project plz reply
Hey mr. innovative! this is absolutely my favourite video by you. I do understand your english very well, so just keep on sharing your great videos. I would love to see a video by you how you do this PID project in Matlab. what do you think?
This is an amazing project. Thank you for sharing this video.
Sir, can we make this system using the LM393 speed sensor? I am using it and facing problems like overcount though I am using interrupts.
Why you prefer fritzing over easyeda for pcb layout?
Ran into a problem with your code. Got an error-Compilation error: PID_v1.h: No such file or directory. What do I do to correct this?
Can you help me on how to give input directly in the code instead of giving it from the app.
How do I have to make the connection if I am using an L293D Shield?
Try to explain arduino code
Use the language you are most comfortable in. Mix English.
Or generate a transcript in your language and get it translated.
I can help if you need. 🙏
Don't feel it guy.
You are upload more videos, automatically improve yourself. I understanded you.
Keep touch it & do it more😉
Thanks buddy
Sir can you please do it with wiper motor and detailed video as I am looking for a pid based servo controller project with aurdino uno and joystick module.
me oscila mucho que puede ser por favor ayuda
Can it be possible same for Stepper motor
Plz make rc ornithopter you are really innovative
What transfer function did you use for PID control?
how can i use potentiometer instead of encoder
Mr Innovative, does this track position for more than one revolution? Say 720 degrees.
thank you
its really helpful and Your narration is fine
So what program are you using on the phone for control?
why you have taken Kp=5, Ki=1 and Ki=0.01.
Can any one explain the logic to get this no .
I waiting for the reply.
Bhai jan project bht acha hai par mobile app jo ap use kar rhy ho kindly wo bta do konsi hai
Can you give me the name of the control app on android? Tks.
could you have share Link for Bluetooth android app, please??
What kind of encoder did you used?
What happens if you prevent (block) the red arrow to move? Video would be nice :) Thanks
I loved the video! Keep up the good work!! And I completely understood your English.But please try to explain Arduino code
Hi,
Thanks a lot, its really greate effort and great knowledge.
i need to do a project for a preset position linear actuator with a DC motor abd a stepper motor, with Arduino Mega or UNO but i am not able to write the code and the scheme, can you please help.
Regards
Sir plz Give the link of this app
This would be ideal for a telescope. Both azimuth and altitude.