Balancing Robot with PID - Mini Robot PCB

  Рет қаралды 46,641

Electronoobs

Electronoobs

Күн бұрын

Пікірлер: 103
@OhHeyTrevorFlowers
@OhHeyTrevorFlowers 3 жыл бұрын
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 3 жыл бұрын
That's such a good idea :))))) thanks
@studioOuTproductions
@studioOuTproductions 3 жыл бұрын
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 3 жыл бұрын
Pid line follower 👌❤
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 3 жыл бұрын
@@studioOuTproductions kzbin.info/www/bejne/gYmxg5-AhdCKf80
@michaelsilverhouse2122
@michaelsilverhouse2122 3 жыл бұрын
@@ELECTRONOOBS very surprised to hear that you haven't thought of this smart idea for online pid tuning before :)
@ugetridofit
@ugetridofit 3 жыл бұрын
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.
@overkill2828
@overkill2828 3 жыл бұрын
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.
@bluedeath996
@bluedeath996 3 жыл бұрын
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.
@narrasridhar39
@narrasridhar39 3 жыл бұрын
Eventhough your videos are informative❤️❤️❤️ They are coming too late😕😕😕
@mohammedalshrief532
@mohammedalshrief532 3 жыл бұрын
Machine learning pid iron station very accurate 💪💪🙈😎💝
@mohammedalshrief532
@mohammedalshrief532 3 жыл бұрын
kzbin.info/www/bejne/gYmxg5-AhdCKf80💝😎🙈❤
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 3 жыл бұрын
kzbin.info/www/bejne/gYmxg5-AhdCKf80
@mohammedalshrief532
@mohammedalshrief532 3 жыл бұрын
Pid line follower test
@mohammedalshrief532
@mohammedalshrief532 3 жыл бұрын
kzbin.info/www/bejne/hKjYimqnl9hles0
@mohammedalshrief532
@mohammedalshrief532 3 жыл бұрын
kzbin.info/www/bejne/hKjYimqnl9hles0
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 3 жыл бұрын
kzbin.info/www/bejne/gYmxg5-AhdCKf80
@raffyturc
@raffyturc 3 жыл бұрын
ditch the spiked wheels. use a smooth one
@ziad_jkhan
@ziad_jkhan 3 жыл бұрын
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 3 жыл бұрын
Be a good use of a genetic algorithm. Get it to learn to program it's own PID.
@JohnJaggerJack
@JohnJaggerJack 3 жыл бұрын
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 3 жыл бұрын
Thank you very much!
@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 KZbin as it is VERY interesting and you will want to build one if you haven’t seen them. :/
@ObsequiousV4
@ObsequiousV4 6 ай бұрын
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
@ithaajja5724
@ithaajja5724 2 жыл бұрын
Hi,,,,please continue make BadAss Tank, with your 3d print remote
@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.
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 3 жыл бұрын
I made iron station very accurate using machine learning you can see it
@tonysfun
@tonysfun 6 ай бұрын
Do you have a way so I can order the PCB from PCBway? Thank you. Thank you for your videos!
@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💚
@afamchibuzor347
@afamchibuzor347 3 жыл бұрын
Great video!. Can you do a video on 4 quadrant dc motor control with Arduino?
@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
@08acbest
@08acbest Жыл бұрын
I think you should have at least mentioned Joop Brookking channel in the video since you used his code
@peschebichsu
@peschebichsu 2 жыл бұрын
Is part 2 out yet, I didn't find anything?
@kendricksims6304
@kendricksims6304 2 жыл бұрын
Is a part 2 coming?
@harivignesh
@harivignesh 3 жыл бұрын
I like the bravery of you balancing the hammer right beside your laptop.
@ELECTRONOOBS
@ELECTRONOOBS 3 жыл бұрын
🤣
@666aron
@666aron 3 жыл бұрын
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 3 жыл бұрын
Is easier to control the real speed and also the speed is not affected by the battery voltage change...
@Francesco105590
@Francesco105590 2 жыл бұрын
hi, which step motor should you buy?
@jackwilliams2010
@jackwilliams2010 3 жыл бұрын
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!
@yulu1256
@yulu1256 3 жыл бұрын
想請問為什麼我的兩個輪子轉動會不同方向,程式是遵照您發布的版本
@electronic7979
@electronic7979 3 жыл бұрын
An excellent robot
@mohammadhoutary1338
@mohammadhoutary1338 3 жыл бұрын
Thank you for this video , can you make metal detector with arduino , multi metal multi sounds , for 3 - 10 meter dedicated
@maxgear9648
@maxgear9648 3 жыл бұрын
better to make tires flat, it will improve stability and surface contact
@RdGear
@RdGear 3 жыл бұрын
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❤️
@Mr.Robot373
@Mr.Robot373 3 жыл бұрын
Can we use ULN2003 stepper moter ?
@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.
@nurrudinazzaky8374
@nurrudinazzaky8374 3 жыл бұрын
No need to burn bootloader to atmega chip?
@leehewitt9559
@leehewitt9559 3 жыл бұрын
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 3 жыл бұрын
Thank you very much!
@amremam8937
@amremam8937 3 жыл бұрын
What about making something like hoverboard, where two half can tilt separately, you won't need a load on the top
@muhammadshafi2611
@muhammadshafi2611 2 жыл бұрын
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 😥
@lis6502
@lis6502 3 жыл бұрын
also consider using BMS for batteries and enclosure around pack. Trust me, i know how LiPos can be dangerous when mishandled ;)
@lis6502
@lis6502 3 жыл бұрын
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 :)
@chaunceywilliamswilliams3051
@chaunceywilliamswilliams3051 3 жыл бұрын
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?
@kenadams4246
@kenadams4246 3 жыл бұрын
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! 👍👏👌
@energyvxask307
@energyvxask307 3 жыл бұрын
Hello sir, when will part 2 of the video come out?
@captivator13
@captivator13 3 жыл бұрын
Great video,,, Thanks brother :)) Sam 🎵✌🏻
@rverm1000
@rverm1000 3 жыл бұрын
Going the opposite direction would be good too. Make a balancing you can stand on
@kidslearning151
@kidslearning151 2 жыл бұрын
wow! a cool project. I am looking for your second balancing robot video
@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.
@embeddedsystemsiotprojects2055
@embeddedsystemsiotprojects2055 3 жыл бұрын
Pid line follower
@alwayscensored6871
@alwayscensored6871 3 жыл бұрын
I have most of these parts or equivalents. You got me interested.
@rverm1000
@rverm1000 3 жыл бұрын
You can still use them if you use bearing on both sides of the wheel. Just like how a bicycle wheel gets supports.
@Debraj1978
@Debraj1978 3 жыл бұрын
Looking forward for the second part of the video.
@kayezero703
@kayezero703 3 жыл бұрын
nice
@Enigma758
@Enigma758 3 жыл бұрын
This is a great example of a real world design!
@nistakmahmud
@nistakmahmud 3 жыл бұрын
Great work... ❤️❤️❤️ from Bangladesh.
@GHILLIESARCADEANDMORE
@GHILLIESARCADEANDMORE 3 жыл бұрын
Cool
@crazytronics9917
@crazytronics9917 3 жыл бұрын
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 3 жыл бұрын
Maybe but the code would be a bit different if you use a PID Libra
@alwayscensored6871
@alwayscensored6871 3 жыл бұрын
PID math does my head in, Fuzzy logic I understand better.
@TechnikalGyanOffical
@TechnikalGyanOffical 3 жыл бұрын
Awesome robot!! Respect from a beginner, keep inspiring us!!
@OhHeyTrevorFlowers
@OhHeyTrevorFlowers 3 жыл бұрын
I’m looking forward to the time travel video. 😺
@hillarymapondera4122
@hillarymapondera4122 3 жыл бұрын
Amazing project thumps up..
@ankitbarman76
@ankitbarman76 3 жыл бұрын
I also want to make balancing robot could you please send me these motors
@alwayscensored6871
@alwayscensored6871 3 жыл бұрын
Old harddrives etc have steppers in them. Those first tiny ones are from DVD drives.
@siddharthmali5841
@siddharthmali5841 3 жыл бұрын
Great.
@captainamerica949
@captainamerica949 3 жыл бұрын
I'm 85 years old and will try to do this project. Thank you my boy
@ELECTRONOOBS
@ELECTRONOOBS 3 жыл бұрын
You welcome cap
@briyanpaul4617
@briyanpaul4617 3 жыл бұрын
Nice
@ajeethsuryash5123
@ajeethsuryash5123 3 жыл бұрын
Amazing content. Good luck
@shashankarmy
@shashankarmy 3 жыл бұрын
Yeah I also thinked before
@prathameshraikar5428
@prathameshraikar5428 3 жыл бұрын
✌😍😍🔥
@gersongomes9925
@gersongomes9925 3 жыл бұрын
Muito Legal seu projeto!! Saldações do Brasil.
@Circuit42
@Circuit42 3 жыл бұрын
Finally A Robot Project
@5VoltChannel
@5VoltChannel 3 жыл бұрын
Nice video 👍👍
@sarathai2876
@sarathai2876 3 жыл бұрын
Great video, do you have a video explaining Bluetooth module?
@ELECTRONOOBS
@ELECTRONOOBS 3 жыл бұрын
Not yet. The remote will be made in a future video ..
@sarathai2876
@sarathai2876 3 жыл бұрын
@@ELECTRONOOBS you make the coolest stuff.
@lalogarcia6686
@lalogarcia6686 3 жыл бұрын
wow great video
@sagars6190
@sagars6190 3 жыл бұрын
wow really nice work
@Raze_en345
@Raze_en345 3 жыл бұрын
Very amazing
@miloudaitbraim4847
@miloudaitbraim4847 3 жыл бұрын
Good one noob
@backdemoletor4654
@backdemoletor4654 3 жыл бұрын
Nice project
@difinoxyd2856
@difinoxyd2856 3 жыл бұрын
You might get better results with a state space control method.
@smellycat249
@smellycat249 3 жыл бұрын
What a great video. So much neat stuff
@ELECTRONOOBS
@ELECTRONOOBS 3 жыл бұрын
Thank you!
@technicaljoshi1686
@technicaljoshi1686 3 жыл бұрын
osm video sirji
I Built a Ball Balancing Robot
8:55
Aaed Musa
Рет қаралды 1,1 МЛН
PID Balance+Ball | full explanation & tuning
13:13
Electronoobs
Рет қаралды 746 М.
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,7 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 33 МЛН
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 59 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 137 МЛН
Another Arduino project - Your Arduino Balancing Robot (YABR) - Part 1
11:49
Speedrunning 30yrs of lithography technology
46:07
Breaking Taps
Рет қаралды 719 М.
The Fastest Maze-Solving Competition On Earth
25:22
Veritasium
Рет қаралды 20 МЛН
BUILDING a Self-Balancing Robot | PART 3 - Remote & Code!
18:15
Noah Zipin
Рет қаралды 24 М.
"A Machine PERFECT for Making PCBs at Home" Is what they said!
12:29
I made these to do a ridiculously high dunk
21:27
Stuff Made Here
Рет қаралды 3,5 МЛН
Building a Two-Wheel Balancing Robot | with LG XBOOM Go Speakers
14:33
Self Balancing Robot Tips that will Save your project
5:36
Mouad Boumediene - Hobby Coding
Рет қаралды 30 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3,1 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,7 МЛН