Это видео недоступно.
Сожалеем об этом.
DIY Self Balancing Robot using Arduino and MPU6050 Accelerometer
HTML-код
- Опубликовано: 17 авг 2024
- Welcome to the 𝐀𝐬𝐥𝐚𝐦 𝐇𝐨𝐬𝐬𝐚𝐢𝐧 RUclips channel!
𝐓𝐢𝐭𝐥𝐞: Arduino Self Balancing Robot | 6 Channel Line Fellow Sensor Array for LINE FOLLOWER ROBOT | Line Follower Robot Race Competition 2024 | Fast LFR Competition in Bangladesh | HBFS Line Follower | Fast Line Follower Robot using PID: Step by Step Tutorial | fastest line follower robot | line follower maze solving robot | How to Make PID Line Follower Robot | line follower robot using 6 channel array | arduino line follower robot | 6 channel ir sensor array | how to code for line follower robot | best ir line sensor array for line follower robot | how to use qtr 8 sensor | maze solver robot | How to Program Line Follower Robot | Best IR Sensor For Line Follower Robot
Welcome to our comprehensive tutorial on creating a self-balancing robot using Arduino, an MPU6050 accelerometer, and implementing PID (Proportional-Integral-Derivative) control. In this step-by-step guide, you'll learn how to assemble the robot, integrate the MPU6050 sensor, program the Arduino for PID control, and calibrate the system for optimum stability. Join us on this exciting journey of robotics and automation!
𝐌𝐏𝐔𝟔𝟎𝟓𝟎:
The MPU6050 is a popular integrated circuit (IC) that combines a 3-axis gyroscope and a 3-axis accelerometer in a single chip. It is commonly used in various electronic applications, including robotics, motion tracking, drones, gaming devices, and more.
𝐂𝐨𝐦𝐩𝐨𝐧𝐞𝐧𝐭𝐬: 0:20 - 0:40 in Video
1. N20 Gear Motor x2
2. N20 Gear Motor Wheels x2
3. N20 Motor Mount Bracket x2
4. MPU6050
5. Arduino Nano
6. L298N Motor Driver
7. Small Breadboard
8. AA Battery Holder
9. 3.7v Li-ion Battery x2
10. PVC Project Board x3
11. Wooden Stick x4
12. Jumper Wires
𝐓𝐡𝐢𝐬 𝐜𝐡𝐚𝐧𝐧𝐞𝐥 𝐡𝐚𝐬 𝐬𝐨𝐦𝐞 𝐞𝐥𝐞𝐜𝐭𝐫𝐨𝐧𝐢𝐜 𝐩𝐫𝐨𝐣𝐞𝐜𝐭𝐬 𝐟𝐨𝐫 𝐛𝐞𝐠𝐢𝐧𝐧𝐞𝐫𝐬. 𝐒𝐨 𝐟𝐞𝐞𝐥 𝐟𝐫𝐞𝐞 𝐭𝐨 𝐜𝐡𝐞𝐜𝐤 𝐭𝐡𝐞𝐦:
Robo Soccer Bot using Brushed ESC and FlySky Transmitter | How to Make Soccer Bot in Easiest Way:
• Robo Soccer Bot using ...
Robo Soccer Bot Competition 2024 | Soccer Robot at Premier University Chittagong:
• Robo Soccer Bot Compet...
Arduino Joystick Control Bluetooth Car Using HC-05 Master and Slave:
• Arduino Joystick Contr...
Robo Soccer Bot using FlySky FS-i6 Transmitter and BTS7960 Motor Driver:
• Robo Soccer Bot using ...
Fast Line Follower Robot / Fast LFR / Fastest LFR / PID Line Follower:
• Fast Line Follower Rob...
How To Test Battery Capacity Using HW-586 Battery Capacity Tester:
• How To Test Battery Ca...
Soccer Making Bot Competition:
• Soccer Bot Competition...
Hand Drawing PCB Layout Using Marker Pen and Etching:
• Hand Drawing PCB Layou...
DIY Self Balancing Robot using Arduino and MPU6050 Accelerometer:
• DIY Self Balancing Rob...
Line Follower Robot:
• Line Follower Robot us...
How to Make ESP32 RC Robotic Car:
• How to Make ESP32 RC R...
Human Following Robot Arduino:
• Human Following Robot ...
Line Sensor Array for LINE FOLLOWER ROBOT:
• 6 Channel Line Sensor ...
ESP32 Soccer Bot / Soccer bot using ESP32 / How to Make Soccer Bot using ESP32:
• How to Make Soccer Bot...
Make Professional PCB at Home:
• How to Make Profession...
PCB Layout Design in Proteus:
• How to Design PCB Layo...
How To Use Sim800l GSM Module with Arduino:
• How To Use Sim800l GSM...
Dual LED Flasher Circuit:
• Dual LED Flasher Circu...
Music Rhythm LED Light Circuit:
• Music Rhythm LED Light...
Simplest LED Blink Circuit:
• Simple LED Blink Circu...
FLIP FLOP LED Light Circuit:
• FLIP FLOP LED Flasher ...
Fire Detector Circuit using IR Photodiode:
• Fire Detector Circuit ...
IR Proximity Sensor / Obstacle Detector Circuit:
• IR Sensor and Obstacle...
Soccer Bot Competition 2023:
• Grand Final Match | So...
High Capacity Battery 12v Pack Making:
• High Capacity DIY 12 V...
Gas Detector using Arduino and MQ-2:
• Gas Leakage Alarm usin...
𝐂𝐢𝐫𝐜𝐮𝐢𝐭 𝐃𝐢𝐚𝐠𝐫𝐚𝐦 𝐚𝐧𝐝 𝐂𝐨𝐝𝐞:
sub4unlock.io/...
#ArduinoProject #DIYRobotics #MPU6050Accelerometer #PIDControl #SelfBalancingRobot #RoboticsTutorial #electronicsprojects #stemeducation #arduinotutorial #engineeringprojects #mpu6050 #arduino
Like, Follow & Subscribe !!!
Instagram▶ / _aslam._hossain_
Facebook Page▶ / aslamhossain3852
RUclips▶ / @aslamhossain1
If this video is helpful to you, Please Subscribe! (#Aslam_Hossain)
---------------------------------------------
👉For any inquiries: aslamhshakil20@gmail.com
---------------------------------------------
𝐄𝐱𝐩𝐥𝐨𝐫𝐞 𝐋𝐚𝐭𝐞𝐬𝐭 𝐕𝐢𝐝𝐞𝐨:
Fast Line Follower Robot / Fast LFR / Fastest LFR / PID Line Follower:
ruclips.net/video/ST8KdWPMzp4/видео.htmlsi=4OLW0cTDNwGmwwBY
Robo Soccer Bot using FlySky FS-i6 Transmitter and BTS7960 Motor Driver:
ruclips.net/video/gxoFwbduTOc/видео.html
Code and Circuit: github.com/aslam-Hossain-YT/Self-Balancing-Robot-Code
Hello, congratulations for the video. A query, I want to do the following: make a mechanical arm ALWAYS be horizontal with respect to the Earth. And I want to see it in LEDs, in such a way that when it is perfectly horizontal a led lights up, otherwise, it does not light up and instead others light up (indicating that it is very inclined to the right or to the left). I ask: Which module should I use? with accelerometer and gyroscope or ONLY accelerometer? Thank you and Happy 2024!!!
You can use MPU6050
Nisa 🙂
A little advice, use bigger wheels than you. I used two 10cm diameter wheels. It is more stable
Thanks for the advice. Will try in future.
that's a great tutorial. good job
Thank You
Wonderful 👍🏻
Thank You
hi. will this work using esp32? if so, how is the connection on the esp32. thank you in advance.
Will work. Everything is same.
Hola Buenas, tenemos problemas con el código de Arduino para que el robot se equilibre, nos podrías ayudar, muchas gracias
Knock me through facebook
Ya te he hablado@@aslamhossain1
good job❤
Thank You
which library are u using, where did you get it ?
Included in he github
hello, great work i just wanna ask what is the rpm of the motors and voltage
600 rpm. I've provided 8v. Maximum 12v can be provided.
@@aslamhossain1 thank you a lot
nice
Thank you
hello! what do the values KP, KI, and KD do and how do i know which ones to change in order to calibrate it. The current issue with my robot is that as soon as it's turned on, both wheels spin at maximum speed and i'm not sure what the issue is ):
You have test with different value of KP,KI,KD
how to adjust the values of Kp,Kd and Ki can you explain, Thank You
Increase Kp and Decrease Ki or vice verse. And observe at which your robot can balance perfectly. Do this until you get a perfect balance. Thank You❤
@@aslamhossain1 what is PID_YAW_KP stands for..? We have to adjust this also..?
@@robomatics697 this is oscillation in vertical axis. Keep it as low as possible.
❤❤❤
Hi, copied your sketch abd drivers into the same directory. When I try and complile the sketch, getting error messages. any ideas ?
C:\Arduino\sketch\Balanced_Robot\PID_v1.cpp:58:6: error: prototype for 'bool PID::Compute(bool)' does not match any in class 'PID'
bool PID::Compute(bool forceCompute)
^~~
In file included from C:\Arduino\sketch\Balanced_Robot\PID_v1.cpp:14:0:
c:\Arduino\sketch\libraries\PID/PID_v1.h:29:10: error: candidate is: bool PID::Compute()
bool Compute(); // * performs the PID calculation. it should be
^~~~~~~
In file included from C:\Arduino\sketch\Balanced_Robot\Balanced_Robot.ino:7:0:
C:\Arduino\sketch\Balanced_Robot\MPU6050_6Axis_MotionApps20.h:46:56: error: expected class-name before '{' token
class MPU6050_6Axis_MotionApps20 : public MPU6050_Base {
^
In file included from C:\Arduino\sketch\Balanced_Robot\Balanced_Robot.ino:7:0:
C:\Arduino\sketch\Balanced_Robot\MPU6050_6Axis_MotionApps20.h:81:29: error: 'VectorInt16' has not been declared
uint8_t dmpGetAccel(VectorInt16 *v, const uint8_t* packet=0);
^~~~~~~~~~~
You need to add necessary library files in arduino libraries. given in the link.
Dimensions of pvc project board please 🙏🏻 🙏🏻 🙏🏻
Can't remember right now. You can use 10 x 5 cm.
Very good job man, I made a video about LCD too, if you want pass by channel, good luck with next projects!!! 💪❤
Can you share the codes for arduino uno?
Sure. Pin number is same as arduino nano. Just connect according to code. Or change pin number in code according to your connection. Check: github.com/aslam-Hossain-YT/Self-Balancing-Robot-Code
@@aslamhossain1 Can you share the code for ESP32? its the basic esp32 vroom dev module. Thanks in advance.
Assalamu Alaikum Vaya
Please help me i want android phone coding with arduino ide.
But this video Circuit diagram and code are not supported and i can't download this code.
So give me a way how I can contact you and collect the required arduino code and circuit diagram❤😊
Knock me in facebook: facebook.com/AslamHShakil1?mibextid=9R9pXO
hi aslam, i am working on a project involving MPU6050 and i am facing some issue regarding it.... may i have your social media acc name so that i could dm you regarding it, if you won't mind??
Sure. facebook.com/aslamhossain3852?mibextid=vk8aRt