Тёмный
No video :(

Balancing Robot with PID - Mini Robot PCB 

Electronoobs
Подписаться 578 тыс.
Просмотров 46 тыс.
50% 1

High quality PCB prototypes: www.pcbway.com
3D & CNC service: www.pcbway.com/rapid-prototyp...
🔥I've tried to make a small balancing robot but I had problems with the small motors so I'll try more in the next part. This time at least we have good results for the PID control.
🔀LINKS
-------------------------------------
Tutorial website: electronoobs.com/eng_arduino_...
Get my PCB: / 56868117
Part List: electronoobs.com/eng_arduino_...
Schematic: electronoobs.com/eng_arduino_...
3D STL Parts: electronoobs.com/eng_arduino_...
Code: electronoobs.com/eng_arduino_...
Bluetooth Controller Tutorial: electronoobs.com/eng_arduino_t...
Joop Brokking channel: / macpuffdog
Occupy Mars T-Shirt: teespring.com/es/occupy-mars-...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Donate on PayPal: www.paypal.com/donate?hosted_...
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
02:16 Mini Stepper Problems
03:45 What we need?
07:37 Assemble
11:49 Problems with inertia
13:06 PID values
14:14 Code
15:44 Results
17:05 Thank You
Like share and subscribe to motivate me. Thank you
#Arduino
#robot
#balance

Опубликовано:

 

31 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 104   
@jackwilliams2010
@jackwilliams2010 2 года назад
Very cool! I've been wanting to do a PID project for the longest time. More like a puzzle and learning experience. I wish my college mechatronics class had something like this. Thanks for sharing!
@OhHeyTrevorFlowers
@OhHeyTrevorFlowers 2 года назад
For editing PID, I find it's much faster to set up a remote control with three knobs that I can use to tune the PID values in real time. Changing the values in code and then transferring it to the mechatronics takes too much time and is frustrating so the extra hardware cost is usually money well spent.
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
That's such a good idea :))))) thanks
@studioOuTproductions
@studioOuTproductions 2 года назад
Another solution is to design a simple interface in python or matlab where you can adjust the set point an pid values and see the response on a graph, and the comunícate the values via UART communication (or Bluetooth in this case).
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
Pid line follower 👌❤
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
@@studioOuTproductions ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KXNRlJPkWIk.html
@michaelsilverhouse2122
@michaelsilverhouse2122 2 года назад
@@ELECTRONOOBS very surprised to hear that you haven't thought of this smart idea for online pid tuning before :)
@leehewitt9559
@leehewitt9559 2 года назад
Excellent video. PID controllers are always difficult to trim but this is an excellent example. Thanks and glad to be a patron of the channel
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Thank you very much!
@TechnikalGyanOffical
@TechnikalGyanOffical 2 года назад
Awesome robot!! Respect from a beginner, keep inspiring us!!
@Enigma758
@Enigma758 2 года назад
This is a great example of a real world design!
@ugetridofit
@ugetridofit 2 года назад
you should really dive into the ESP32. On a project like this where your making many changes it would be very helpful to flash it OTA. Not to mention you would also be able to get information back to you over Wifi to get live information at your PC.
@YueBeifong
@YueBeifong 2 года назад
Very clean project, holy shesh!
@Debraj1978
@Debraj1978 2 года назад
Looking forward for the second part of the video.
@JohnJaggerJack
@JohnJaggerJack 2 года назад
There is nothing wrong returning to the basics from time to time, i sometimes "brush" some of my calculus I notes from college years just to be sure i'm using the right integrals rules and derivations too. Anyways, great video as usual, top notch content.
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Thank you very much!
@sagars6190
@sagars6190 2 года назад
wow really nice work
@ajeethsuryash5123
@ajeethsuryash5123 2 года назад
Amazing content. Good luck
@nistakmahmud
@nistakmahmud 2 года назад
Great work... ❤️❤️❤️ from Bangladesh.
@harivignesh
@harivignesh 2 года назад
I like the bravery of you balancing the hammer right beside your laptop.
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
🤣
@smellycat249
@smellycat249 2 года назад
What a great video. So much neat stuff
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Thank you!
@hillarymapondera4122
@hillarymapondera4122 2 года назад
Amazing project thumps up..
@lalogarcia6686
@lalogarcia6686 2 года назад
wow great video
@backdemoletor4654
@backdemoletor4654 2 года назад
Nice project
@Raze_en345
@Raze_en345 2 года назад
Very amazing
@gersongomes9925
@gersongomes9925 2 года назад
Muito Legal seu projeto!! Saldações do Brasil.
@5VoltChannel
@5VoltChannel 2 года назад
Nice video 👍👍
@Circuit42
@Circuit42 2 года назад
Finally A Robot Project
@electronic7979
@electronic7979 2 года назад
An excellent robot
@technicaljoshi1686
@technicaljoshi1686 2 года назад
osm video sirji
@bluedeath996
@bluedeath996 2 года назад
You could get NEMA 8 or NEMA 11 motors. Going from the first ones to a NEMA17 is like saying a bicycle didn't work so I used a tank.
@kidslearning151
@kidslearning151 2 года назад
wow! a cool project. I am looking for your second balancing robot video
@OhHeyTrevorFlowers
@OhHeyTrevorFlowers 2 года назад
I’m looking forward to the time travel video. 😺
@captainamerica949
@captainamerica949 2 года назад
I'm 85 years old and will try to do this project. Thank you my boy
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
You welcome cap
@siddharthmali5841
@siddharthmali5841 2 года назад
Great.
@captivator13
@captivator13 2 года назад
Great video,,, Thanks brother :)) Sam 🎵✌🏻
@briyanpaul4617
@briyanpaul4617 2 года назад
Nice
@kenadams4246
@kenadams4246 2 года назад
Great video! Unless I’m not looking in the right place, where is the FollowUp video to this one? I can’t wait to see more on this balancing robot! Thank you for sharing your knowledge! 👍👏👌
@malehakim248
@malehakim248 2 года назад
Once again, thanks for a very good video. Pretty much informative. However, i think you left out some parts that i think are pretty much crucial. the most important being how to set the current for the stepper motors with those TMC2225. The other drivers have a potentiometer that one can dial on but when i checked out the TMC drivers, they lacked that potentiometer.
@kayezero703
@kayezero703 2 года назад
nice
@alwayscensored6871
@alwayscensored6871 2 года назад
I have most of these parts or equivalents. You got me interested.
@rverm1000
@rverm1000 2 года назад
You can still use them if you use bearing on both sides of the wheel. Just like how a bicycle wheel gets supports.
@Francesco105590
@Francesco105590 2 года назад
hi, which step motor should you buy?
@GHILLIESARCADEANDMORE
@GHILLIESARCADEANDMORE 2 года назад
Cool
@overkill2828
@overkill2828 2 года назад
This project is strikingly similar to "Your Arduino Balancing Robot" by Joop Brokking, especially the code. Please give him credit and link to his video.
@jstro-hobbytech
@jstro-hobbytech Год назад
You make the coolest pcbs and I like how you're not afraid to show failed prototypes. Message me on patreon. I have something really cool to send you.
@afamchibuzor347
@afamchibuzor347 2 года назад
Great video!. Can you do a video on 4 quadrant dc motor control with Arduino?
@chaunceywilliamswilliams3051
@chaunceywilliamswilliams3051 2 года назад
I noticed your DIY projects. I used to work in prototype at Flextronics and was thinking of a hot air parts removal system. I got a Shark steam Mop professional. It has a heater unit and adjustable air pump system inside. Was wondering if you could see, think, whatever you want if this is a feasible project that would function. These heating units already have a tube hole at top. So hot air could be funneled into a specific spot. Also the pump has speed settings. Just don't know if it will function with air only and no water. Or it has heat control to control overheating etc?
@yulu1256
@yulu1256 2 года назад
想請問為什麼我的兩個輪子轉動會不同方向,程式是遵照您發布的版本
@muhammadshafi2611
@muhammadshafi2611 Год назад
Great explanation , but can someone clarify me on the timer interrupt to create pulses. If the interrupt is to be trigger and generate pulse each 20usec, does it mean the stepper will turn in constant speed until error is eliminated (robot stood upright) ? I' am a bit confuse on how the PID output manipulated the interval between pulse 😥
@rverm1000
@rverm1000 2 года назад
Going the opposite direction would be good too. Make a balancing you can stand on
@tonysfun
@tonysfun 4 месяца назад
Do you have a way so I can order the PCB from PCBway? Thank you. Thank you for your videos!
@lis6502
@lis6502 2 года назад
such joysticks are actually purchaseable as "vr controller". They have bluetooth connectivity in few ways (selectable), as a mouse, keyboard (simulating keypresses). Not sure if tearing apart Wii remote and stuffing its corpse with Arduino is feasible :)
@nurrudinazzaky8374
@nurrudinazzaky8374 2 года назад
No need to burn bootloader to atmega chip?
@Mr.Robot373
@Mr.Robot373 2 года назад
Can we use ULN2003 stepper moter ?
@energyvxask307
@energyvxask307 2 года назад
Hello sir, when will part 2 of the video come out?
@666aron
@666aron 2 года назад
Awesome little robot! I love it. One question though: why did you choose a stepper motor instead of a DC motor + rotary encoder?
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Is easier to control the real speed and also the speed is not affected by the battery voltage change...
@tombraselton2671
@tombraselton2671 2 года назад
Perhaps N20 gear motors for the little PCB guy? Would like to see him alone without his huge shell. :) You can also have it at 6 volts instead. Some use it in micromouse competitions. Don’t look it up on RU-vid as it is VERY interesting and you will want to build one if you haven’t seen them. :/
@mohammadhoutary1338
@mohammadhoutary1338 2 года назад
Thank you for this video , can you make metal detector with arduino , multi metal multi sounds , for 3 - 10 meter dedicated
@RdGear
@RdGear 2 года назад
Thank you Sir, for all of your videos. Sir, If you review "jdy-40 " bt module, that will be very helpful for me. Specially "at command, pwm pins and gpio pin with arduino compatibilities and modified programme ". (I bought some jdy-40 module, but they didn’t work. I think there was a problem with bootloader or flash ) so it is very helpful for me, if you make a video with this module❤️
@peschebichsu
@peschebichsu 2 года назад
Is part 2 out yet, I didn't find anything?
@kendricksims6304
@kendricksims6304 Год назад
Is a part 2 coming?
@prathameshraikar5428
@prathameshraikar5428 2 года назад
✌😍😍🔥
@mohammedalshrief532
@mohammedalshrief532 2 года назад
Machine learning pid iron station very accurate 💪💪🙈😎💝
@mohammedalshrief532
@mohammedalshrief532 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KXNRlJPkWIk.html💝😎🙈❤
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KXNRlJPkWIk.html
@amremam8937
@amremam8937 2 года назад
What about making something like hoverboard, where two half can tilt separately, you won't need a load on the top
@ithaajja5724
@ithaajja5724 2 года назад
Hi,,,,please continue make BadAss Tank, with your 3d print remote
@lis6502
@lis6502 2 года назад
also consider using BMS for batteries and enclosure around pack. Trust me, i know how LiPos can be dangerous when mishandled ;)
@nyder1331
@nyder1331 Год назад
this hc-05 in conector is not that well idea in my line follower after some time he start losing connection with my phone because of it so if it works its ok but if you have problem with conncection i think i is because of it💚
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
I made iron station very accurate using machine learning you can see it
@crazytronics9917
@crazytronics9917 2 года назад
Thank you so much for making video on this i have two questions 1.) Can we use autoPID library for balancing it? 2.) Is it possible to build a fuzzy logic algorithm for balancing this type of robot.?
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Maybe but the code would be a bit different if you use a PID Libra
@alwayscensored6871
@alwayscensored6871 2 года назад
PID math does my head in, Fuzzy logic I understand better.
@shashankarmy
@shashankarmy 2 года назад
Yeah I also thinked before
@jstro-hobbytech
@jstro-hobbytech Год назад
You had to make a complimentary filter ehh? I have the stuff to make a mini one. I have a bno055
@mohammedalshrief532
@mohammedalshrief532 2 года назад
Pid line follower test
@mohammedalshrief532
@mohammedalshrief532 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NwuY7qbs2Dk.html
@mohammedalshrief532
@mohammedalshrief532 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NwuY7qbs2Dk.html
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-KXNRlJPkWIk.html
@maxgear9648
@maxgear9648 2 года назад
better to make tires flat, it will improve stability and surface contact
@ObsequiousV4
@ObsequiousV4 3 месяца назад
Those super tiny stepper motors are quite difficult to work with as a hobbyist. I bought a box of 70 of them months ago and damaged about 10 of them in the process of getting one of them working. sad time
@sarathai2876
@sarathai2876 2 года назад
Great video, do you have a video explaining Bluetooth module?
@ELECTRONOOBS
@ELECTRONOOBS 2 года назад
Not yet. The remote will be made in a future video ..
@sarathai2876
@sarathai2876 2 года назад
@@ELECTRONOOBS you make the coolest stuff.
@ziad_jkhan
@ziad_jkhan 2 года назад
Shouldn't there be a library to help auto-tune the PID by now? I see no reason why it can't be done by letting the machine monitor the time it can stay still as new values are tried. If you go that way, you'd want to hang it with a string to prevent if falling over of course.
@alwayscensored6871
@alwayscensored6871 2 года назад
Be a good use of a genetic algorithm. Get it to learn to program it's own PID.
@raffyturc
@raffyturc 2 года назад
ditch the spiked wheels. use a smooth one
@miloudaitbraim4847
@miloudaitbraim4847 2 года назад
Good one noob
@narrasridhar39
@narrasridhar39 2 года назад
Eventhough your videos are informative❤️❤️❤️ They are coming too late😕😕😕
@idontthinkso3224
@idontthinkso3224 Год назад
Actually, I need to learn more about wire library and the registers and all this things (0x1B, 0x3C, 0x3B, 0x6B) and what they mean..... So if anyone can help me to find more resources about it.
@08acbest
@08acbest Год назад
I think you should have at least mentioned Joop Brookking channel in the video since you used his code
@ankitbarman76
@ankitbarman76 2 года назад
I also want to make balancing robot could you please send me these motors
@alwayscensored6871
@alwayscensored6871 2 года назад
Old harddrives etc have steppers in them. Those first tiny ones are from DVD drives.
@difinoxyd2856
@difinoxyd2856 2 года назад
You might get better results with a state space control method.
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 2 года назад
Pid line follower
Далее
PID Balance+Ball | full explanation & tuning
13:13
Просмотров 735 тыс.
I Built a Ball Balancing Robot
8:55
Просмотров 1 млн
Штаны легионера
00:44
Просмотров 372 тыс.
Meninas na academia
00:11
Просмотров 1,9 млн
The Fastest Maze-Solving Competition On Earth
25:22
Просмотров 19 млн
Arduino BLDC balancer robot - Tutorial
14:15
Просмотров 32 тыс.
My New Pick & Place Machine [Liteplacer]
13:37
Просмотров 283 тыс.
ROCKET that LITERALLY BURNS WATER as FUEL
19:00
Просмотров 1,7 млн
Штаны легионера
00:44
Просмотров 372 тыс.