DIY Arduino Ball and Beam : PID control

  Рет қаралды 67,451

Homemade Engineering

Homemade Engineering

Күн бұрын

Пікірлер: 66
@omargomaa8787
@omargomaa8787 Жыл бұрын
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)
@omargomaa8787
@omargomaa8787 Жыл бұрын
These are all the connections for the project : drive.google.com/file/d/1JrXXs7UJkxqDbQnFygE6pDJnkBuDaLge/view?usp=drivesdk
@pumpkin3984
@pumpkin3984 Жыл бұрын
code plz
@omargomaa8787
@omargomaa8787 Жыл бұрын
​@@pumpkin3984the code in the video description
@flowersprague5262
@flowersprague5262 11 ай бұрын
THANK U
@multitareas9262
@multitareas9262 9 ай бұрын
Thank you so much!
@tanumoychakraborty6900
@tanumoychakraborty6900 3 жыл бұрын
Thank you.. because of you many people like me can learn easily hard concept of engineering ...
@antonioorozco6030
@antonioorozco6030 3 жыл бұрын
Hello, a question, do you know what the measurements of the structure are?
@qzorn4440
@qzorn4440 3 жыл бұрын
very nice and well done... 👍👍 i just watched a self-balance version using the esp32 pid... thanks.. 😀
@viper1405ct
@viper1405ct 2 жыл бұрын
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?
@carlosnm8617
@carlosnm8617 9 ай бұрын
This is awesome, thanks a lot
@sergiosc92
@sergiosc92 3 жыл бұрын
Great work mate !
@seralathans6581
@seralathans6581 3 жыл бұрын
where do you connect the capacitor
@israelramirez3835
@israelramirez3835 2 жыл бұрын
????
@acxelfigueroapartida8523
@acxelfigueroapartida8523 2 жыл бұрын
????
@TaySquishy
@TaySquishy Жыл бұрын
Do you you have the lengths of your setup? Like how tall you made it and such?
@rogelioarmandocarrillonori8621
@rogelioarmandocarrillonori8621 Жыл бұрын
What would happen if we use another servo, for example an sg90?
@hasanozkir2953
@hasanozkir2953 3 жыл бұрын
Hi, a question. Can you write the detailed dimensions of the woods used in the project?
@christianyozimarherreracon6005
@christianyozimarherreracon6005 2 жыл бұрын
where you implement the capacitor?
@AnhTranQuynh-ec1uz
@AnhTranQuynh-ec1uz 5 ай бұрын
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?
@juanjoseovandoduran5824
@juanjoseovandoduran5824 5 ай бұрын
No tienes un código para control difuso en este sistema?
@lilianamartinez168
@lilianamartinez168 4 жыл бұрын
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.
@homemadeengineering9159
@homemadeengineering9159 4 жыл бұрын
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.
@lilianamartinez168
@lilianamartinez168 4 жыл бұрын
Thank you!!!! :D I really appreciate that you take the time to reply my question.
@stuartcansecotobar4637
@stuartcansecotobar4637 5 ай бұрын
@@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🙄
@starwars2078
@starwars2078 3 жыл бұрын
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!
@homemadeengineering9159
@homemadeengineering9159 3 жыл бұрын
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
@TaySquishy
@TaySquishy Жыл бұрын
Hey did you figure out how to add in the capacitor?
@knix1980
@knix1980 Жыл бұрын
Hi , just wondering the size of servo used here ?@@homemadeengineering9159
@rashedabouali9206
@rashedabouali9206 3 жыл бұрын
where did we connect the capacitor to ?
@mikehoang3713
@mikehoang3713 8 ай бұрын
can i use arduino uno r3 instead ?
@JIMIN-jl3ks
@JIMIN-jl3ks 2 жыл бұрын
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? ?
@byroneraso3340
@byroneraso3340 3 жыл бұрын
Hey, the arduino pro mini is 3,3 volts or 5 volts?
@buenanosaskia942
@buenanosaskia942 11 ай бұрын
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
@sergiorome48
@sergiorome48 10 ай бұрын
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
@zachwalckiers946
@zachwalckiers946 Жыл бұрын
is it possible to do this project with an Arduino UNO ?
@immanuelmbinda8796
@immanuelmbinda8796 5 ай бұрын
Can you please drop the code you used for your project
@wissemencke5515
@wissemencke5515 3 жыл бұрын
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!
@homemadeengineering9159
@homemadeengineering9159 3 жыл бұрын
The length of the wood is 40cm
@mouradmohamed6002
@mouradmohamed6002 3 жыл бұрын
What s the length of the lever connecting the motor and the beam ??
@lucabrambilla6153
@lucabrambilla6153 4 жыл бұрын
Ooo niiiice dude!
@none-tn5eq
@none-tn5eq Жыл бұрын
Hello thank you for this project. Do you have a matlab file and the dimension of the woods? Thank you
@notime5418
@notime5418 5 ай бұрын
how to connect the second ultrasonic sensor you did not explain in the circuit diagram
@jossephveliz9270
@jossephveliz9270 4 ай бұрын
Hello dear, do you know if you managed to carry out that project, did you understand the diagram, could you please tell me.
@gokhangokcen2350
@gokhangokcen2350 2 жыл бұрын
Hello, please share detailed dimensions of the woods used in the project?
@hicham3219
@hicham3219 3 жыл бұрын
Thank you
@ientuvui297
@ientuvui297 3 жыл бұрын
I like this
@bilalrahimaydin6129
@bilalrahimaydin6129 2 жыл бұрын
Hi. Can you give the exact measurements of the structure please?
@jameshunt1822
@jameshunt1822 3 жыл бұрын
What's the use of capacitor?
@acxelfigueroapartida8523
@acxelfigueroapartida8523 2 жыл бұрын
????
@miguelsantosmejia1960
@miguelsantosmejia1960 Жыл бұрын
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
@omarelsayed6241
@omarelsayed6241 2 жыл бұрын
can you plz tell us the dimensions of the wood design.
@XBRA0101
@XBRA0101 2 жыл бұрын
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.
@eliquiroga6450
@eliquiroga6450 Жыл бұрын
simulink?
@nancydrew3854
@nancydrew3854 3 жыл бұрын
Hey,in line 88, how did you get the two values 24,156
@PinkeySuavo
@PinkeySuavo 7 ай бұрын
its minimum and maximum voltage value of working of servomotor i believe but idk
@devil3774
@devil3774 Жыл бұрын
Can you show us the right circuit diagram sir ?
@reinventando1282
@reinventando1282 2 жыл бұрын
como se hace paso a paso?
@NattanonPhunphuech
@NattanonPhunphuech Жыл бұрын
Hello sir. Can you help me please?
@pornpipatboontuam250
@pornpipatboontuam250 3 жыл бұрын
hello , i want code. Do you sent it to me by e-mail?
@longnhatton1932
@longnhatton1932 3 жыл бұрын
Hello I am very interested in this model, I would like to contact you to learn more How do we contact each other?
@mohammedal_kattan4706
@mohammedal_kattan4706 2 жыл бұрын
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?
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 752 М.
I Built a Ball Balancing Robot
8:55
Aaed Musa
Рет қаралды 1,1 МЛН
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 90 МЛН
Hardware Demo of a Digital PID Controller
2:58
Gregory L. Holst
Рет қаралды 994 М.
Arduino PID Controller - From Scratch!
29:51
Ian Carey
Рет қаралды 60 М.
Ball and Beam PID control with Arduino
4:48
Estudio Roble
Рет қаралды 138 М.
Robotic Arm with Arduino - Save/Play/Export/Import Positions.
9:48
FABRI creator
Рет қаралды 131 М.
Controlling Self Driving Cars
4:41
AerospaceControlsLab
Рет қаралды 512 М.
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,2 МЛН
Arduino PD Control Ball & Beam with a brushless BLDC motor servo using FOC
20:34
Random Access Projects
Рет қаралды 18 М.
DC motor PID speed control
15:29
Curio Res
Рет қаралды 243 М.
PID vs. Other Control Methods: What's the Best Choice
10:33
RealPars
Рет қаралды 128 М.
Try Not To Laugh 😅 the Best of BoxtoxTv 👌
00:18
boxtoxtv
Рет қаралды 7 МЛН