The capacitor is used to give more power to the moter at the Beginning, it is connected parallel with the motor (negative side with ground and Positive side with 5 V)
Hi! nice video but i have a question; where do i connect the capacitor? and the HC-SR04 sensor has 4 connections, and on your circuit drawing it only shows 3, do you have any information about this considering the correct connections?
Buenas noches disculpe el capacitor que indico en los planos del circuito no esta incluido como es su conexion un favor y se podria usar la alimentacion de 5 voltios en un Arduino mega? ?
Hi, how are you? I got a doubt... How did you perform the calcus to get the the values for: Kd, Kp and Ki. I will really apreciate your help, thank you so much.
Hi Liliana, nice question! Firstly I used control theory to compute the transfer function between the cart position and the servomotor angle. Finally I used simulink to tune the PID values. But because of a not perfect mechanical structure these values didn't work well. So I used the Model Identification Toolbox from Matlab so as to identify the correct transfer function, and then again I used simulink to tune the values. Another option, faster and easier, is try to guess them through some experiments. You can set them all to 0. Start from Kp, increasing it slowly. When you are satisfied with it, start increasing Ki. Finally you can adjust also Kd value.
@@homemadeengineering9159 YOU WOULD HAVE ALSO PUT THOSE OPERATIONS, IF YOU ARE GOING TO TEACH A PROJECT YOU MUST DO IT WELL, EXPLAINING EACH STEP IN DETAIL🙄
Excuse me, could you please help me with the connection of the arduino, I know you installed the circuit but is it just that or is it missing, since in the video it seems to be more because of the jumpers
Bro just connect the sensors and motor, there are tutorials on the internet. All it’s doing is reading the input of one sensor and setting the value as the output to the pic controller. Obviously there is there is a power source in the background, it’s really quite simple, just be creative with it
Hey, thank you for the Code Breakdown. I'm working on a pretty similar project, and when looking at other's approaches to it online, I struggled to find clear code, yours is much easier to understand. Do you have any tips on filtering out noise/bad data from the distance sensor? Loved the video btw!
I really appreciate your comment! My suggestion is to use a digital low pass filter, as I mentioned in the video both to filter the measurements and the derivative action
Thank you for this very nice piece of engineering. I am trying to recreate this with some friends and we were wondering whether it would be possible to see the dimensions of the woodwork. Thank you in advance!
Hi! nice video but i have a question; where do i connect the capacitor? and the HC-SR04 sensor has 4 connections, and on your circuit drawing it only shows 3, do you have any information about this considering the correct connections?
The capacitor is used to give more power to the moter at the Beginning, it is connected parallel with the motor (negative side with ground and Positive side with 5 V)
These are all the connections for the project : drive.google.com/file/d/1JrXXs7UJkxqDbQnFygE6pDJnkBuDaLge/view?usp=drivesdk
code plz
@@pumpkin3984the code in the video description
THANK U
Thank you so much!
Thank you.. because of you many people like me can learn easily hard concept of engineering ...
very nice and well done... 👍👍 i just watched a self-balance version using the esp32 pid... thanks.. 😀
Hello, a question, do you know what the measurements of the structure are?
This is awesome, thanks a lot
Hi! nice video but i have a question; where do i connect the capacitor? and the HC-SR04 sensor has 4 connections, and on your circuit drawing it only shows 3, do you have any information about this considering the correct connections?
Great work mate !
What would happen if we use another servo, for example an sg90?
Do you you have the lengths of your setup? Like how tall you made it and such?
Thank you for useful video. I have a qs for you if I want to use a sensor HC-SR04, how will can I change the code?
where do you connect the capacitor
????
????
Buenas noches disculpe el capacitor que indico en los planos del circuito no esta incluido como es su conexion un favor y se podria usar la alimentacion de 5 voltios en un Arduino mega? ?
No tienes un código para control difuso en este sistema?
Hi, a question. Can you write the detailed dimensions of the woods used in the project?
where you implement the capacitor?
I like this
Hi, how are you?
I got a doubt...
How did you perform the calcus to get the the values for: Kd, Kp and Ki.
I will really apreciate your help, thank you so much.
Hi Liliana, nice question!
Firstly I used control theory to compute the transfer function between the cart position and the servomotor angle.
Finally I used simulink to tune the PID values.
But because of a not perfect mechanical structure these values didn't work well.
So I used the Model Identification Toolbox from Matlab so as to identify the correct transfer function, and then again I used simulink to tune the values.
Another option, faster and easier, is try to guess them through some experiments.
You can set them all to 0.
Start from Kp, increasing it slowly.
When you are satisfied with it, start increasing Ki.
Finally you can adjust also Kd value.
Thank you!!!! :D I really appreciate that you take the time to reply my question.
@@homemadeengineering9159 YOU WOULD HAVE ALSO PUT THOSE OPERATIONS, IF YOU ARE GOING TO TEACH A PROJECT YOU MUST DO IT WELL, EXPLAINING EACH STEP IN DETAIL🙄
Hello thank you for this project. Do you have a matlab file and the dimension of the woods? Thank you
Thank you
Excuse me, could you please help me with the connection of the arduino, I know you installed the circuit but is it just that or is it missing, since in the video it seems to be more because of the jumpers
Bro just connect the sensors and motor, there are tutorials on the internet. All it’s doing is reading the input of one sensor and setting the value as the output to the pic controller. Obviously there is there is a power source in the background, it’s really quite simple, just be creative with it
is it possible to do this project with an Arduino UNO ?
where did we connect the capacitor to ?
Hey, thank you for the Code Breakdown. I'm working on a pretty similar project, and when looking at other's approaches to it online, I struggled to find clear code, yours is much easier to understand. Do you have any tips on filtering out noise/bad data from the distance sensor? Loved the video btw!
I really appreciate your comment! My suggestion is to use a digital low pass filter, as I mentioned in the video both to filter the measurements and the derivative action
Hey did you figure out how to add in the capacitor?
Hi , just wondering the size of servo used here ?@@homemadeengineering9159
Ooo niiiice dude!
Can you please drop the code you used for your project
Thank you for this very nice piece of engineering. I am trying to recreate this with some friends and we were wondering whether it would be possible to see the dimensions of the woodwork. Thank you in advance!
The length of the wood is 40cm
how to connect the second ultrasonic sensor you did not explain in the circuit diagram
Hello dear, do you know if you managed to carry out that project, did you understand the diagram, could you please tell me.
Hello, please share detailed dimensions of the woods used in the project?
hello ise this same project your code so you put it as it is I wase it in arduino uno
and the cube is not placed at the distance of the cart
can i use arduino uno r3 instead ?
Hello. Mi trying yo make this project for school. I want you to know if You can help of solving some douts that i have?
Thank yuou.
What s the length of the lever connecting the motor and the beam ??
can you plz tell us the dimensions of the wood design.
Hey, the arduino pro mini is 3,3 volts or 5 volts?
Can you show us the right circuit diagram sir ?
What's the use of capacitor?
????
simulink?
Hey,in line 88, how did you get the two values 24,156
its minimum and maximum voltage value of working of servomotor i believe but idk
Hi. Can you give the exact measurements of the structure please?
como se hace paso a paso?
Hello sir. Can you help me please?
hello , i want code. Do you sent it to me by e-mail?
Hello
I am very interested in this model, I would like to contact you to learn more
How do we contact each other?
Hi! nice video but i have a question; where do i connect the capacitor? and the HC-SR04 sensor has 4 connections, and on your circuit drawing it only shows 3, do you have any information about this considering the correct connections?