DIY Aduino One Axis Self Balancing Device

  Рет қаралды 13,642

Mirko Pavleski

Mirko Pavleski

Жыл бұрын

This article is sponsored by PCBWAY www.pcbway.com/
This time I will show you how to make a simple One axis self balancing device, which is based on the PID control system. A PID controller continuously calculates an error value as the difference between a desired setpoint and a measured process variable and applies a correction based on proportional, integral, and derivative terms.
In our case, the MPU6050 sensor collects data of the position (more precisely the angle) of the device, and sends that data to the microcontroller which performs calculations based on previously given algorithms and constants, and sends the result to the electric motor, which with its movement tends to hold the device in the desired position.
Depending on the placement and weight of the batteries and the characteristics of the sensor itself, during the first activation the device will probably not be completely stable and will swing left and right. To stabilize, it is necessary to experiment with the values of floatX1, floatX2, and floatX3 in the code. If it is well tuned even if we try to mechanically shift it to an unbalanced state, it returns automaticly to a state of equilibrium.
Detailed instructions, schematic, code, and 3D files at:
www.hackster.io/mircemk/diy-a...
If you are interested in this area, look at the Playlist with all my Arduino Robots at:
• Arduino Robots
If you like my job buy me a coffee: ko-fi.com/mircemk
Visit my KZfaq Channel for more Projects , DIY and How To Make videos:
/ mirkopavleskimk
by mircemk
SUBSCRIBE LIKE AND SHARE !!!!
Thanks for your Support !

Пікірлер: 37
@manukalias
@manukalias Жыл бұрын
Came to your channel from some other video and found out all these wonderful treasures 🤩🤩 Thanks for sharing your excellent DIY projects Love from India 🇮🇳🇮🇳🙏🙏
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Thanks a lot :)
@ljubomirdimovski7990
@ljubomirdimovski7990 Жыл бұрын
Like all your Ptojects, exelent. Glad to have your as Friend.
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Thanks :)
@ReMRC
@ReMRC Жыл бұрын
Oh, you made my self balancing stick... :)
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Yes, thank you for sharing, Awesome project. The rest of your projects are also excellent and I plan to make others in the future
@mate7819
@mate7819 17 күн бұрын
@@MirkoPavleskiMK Sería excelente que dieras los créditos al creador original de este proyecto: @ReMRC
@MirkoPavleskiMK
@MirkoPavleskiMK 16 күн бұрын
@@mate7819 In all my videos I credit the source if the project is not originally mine
@trekRobertoCarlos
@trekRobertoCarlos Жыл бұрын
Thank you so much for your explanations. I did The way you said.
@poloniopi5579
@poloniopi5579 Жыл бұрын
Nice project.Congratulations.I enjoy your videos
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Thanks
@milekokotov1964
@milekokotov1964 Жыл бұрын
Excellent!
@RiamCute
@RiamCute Жыл бұрын
I need this!
@er8115
@er8115 Жыл бұрын
THANK YOU
@user-cv7bv9gp8b
@user-cv7bv9gp8b Жыл бұрын
Прикольно, гераскопический эффект! 👍
@you_beg_my_pardon
@you_beg_my_pardon Жыл бұрын
Subscribed!
@volkanyolcubal
@volkanyolcubal Жыл бұрын
nice work
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Thanks
@divispriktripathi3245
@divispriktripathi3245 Жыл бұрын
To achieve this balance should the inertia wheel spin at a velocity such that the new angular momentum of the system equals zero or should i account for something that I am missing?
@gud_rich.bakoua.official
@gud_rich.bakoua.official 6 ай бұрын
Great Job. I'm doing the same project on a different microcontroller. Can I know please how have you done your PID Controller? Your equations and regulations ? Is the PID also available? Thanks
@MirkoPavleskiMK
@MirkoPavleskiMK 6 ай бұрын
Link to original project: github.com/remrc/One-Axis-Reaction-Wheel-Stick
@Supreme_1A_
@Supreme_1A_ Жыл бұрын
That motor is not available in our country, it would be helpful for my project if u plz share the code for the same project, using a bldc motor and a bidirectional esc instead of nidec24h. Love from India ❣️
@5VoltChannel
@5VoltChannel Жыл бұрын
Amazing
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Thanks
@nosuki
@nosuki Жыл бұрын
hi i want to make that like my mini project in school if you can help me
@er8115
@er8115 Жыл бұрын
Thank you very much for sharing your video, but I would like to ask you something, look, I already have everything assembled, the motor, the microcontroller, the speaker, resistors, everything connected as your schematic shows, I have even burned the program in the arduino, at the moment after turning it on, I wonder what steps I should take to make it work like yours, that is, I upload the program to the arduino, I run it, there are no errors, but my motor does not turn and does not seek balance, I wonder if maybe there is some step that I'm ignoring,? maybe do I need to calibrate the gyroscope before? or maybe do I need another code? I would really appreciate it if you could answer me.
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
I just replicated the original project from GitHub github.com/remrc/One-Axis-Reaction-Wheel-Stick. Only I experiment with the values of floatX1, floatX2, and floatX3 in the code. There is no need to calibrate the gyroscope. Try the original code from GitHub
@user-jc8by5hd2r
@user-jc8by5hd2r 5 ай бұрын
Sir can we make it with 26 size cycle and how we can program it ❤
@TRIPLEH300
@TRIPLEH300 7 ай бұрын
I hope to get your contact so I can consult and chat about your project
@quoctruongngo5560
@quoctruongngo5560 Жыл бұрын
LQR controller, not PID.
@steve5nash
@steve5nash 7 ай бұрын
where can you find the connector for th motor and what type of wiring do you use? Thanks
@MirkoPavleskiMK
@MirkoPavleskiMK 7 ай бұрын
I buy the motor together with connector
@steve5nash
@steve5nash 7 ай бұрын
mine doesn't come with it so I will have to buy it. Do you know what the connector is called?@@MirkoPavleskiMK
@MirkoPavleskiMK
@MirkoPavleskiMK 7 ай бұрын
Sorry, no
@steve5nash
@steve5nash 7 ай бұрын
what type of connectors do you use for the Ardruino Nano?@@MirkoPavleskiMK
@umeiransari3507
@umeiransari3507 Жыл бұрын
Hi I'm unable to find 24H nidec motor what alternative can I use?
@MirkoPavleskiMK
@MirkoPavleskiMK Жыл бұрын
Look this video kzfaq.info/get/bejne/rceTqLGWqrWWqnk.html
Tightrope Walking Cheat Device
14:22
James Bruton
Рет қаралды 1,5 МЛН
Tightrope-walking powered Gyroscope
12:42
Hyperspace Pirate
Рет қаралды 608 М.
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 76 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Reaction Wheel Took Me 3 Years to Make Stable
9:53
Nikodem Bartnik
Рет қаралды 24 М.
Self balancing triangle (reaction wheel)
6:53
ReM-RC
Рет қаралды 4,2 М.
Self Driving Bicycle That Can Run Without The Need For Humans
3:15
Gyrocar #1 (gyroscope stabilized 2-wheeled toy)
4:28
Okki Moeljadi
Рет қаралды 2,3 МЛН
DIY two axis self balancing stick (open source)
5:18
ReM-RC
Рет қаралды 6 М.
Unicycle robot balances on a single wheel using a reaction wheel
2:27
This Device is very helpful ,, you can make at home
6:47
Inventor AW
Рет қаралды 943 М.
Ультрабюджетная игровая мышь? 💀
1:00
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,1 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 57 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 307 М.
Main filter..
0:15
CikoYt
Рет қаралды 13 МЛН