Congrats!! One of the best projects in the web. My graduation project was a self balancing cart. It was 1989. It doesn't work. There were not so many ready made circuits like Arduino. You showed times have changed.
Finally I managed to successfully implement this robot, congratulations to the author! I had difficulty understanding the PID adjustment, but in the end, after many tests, I realized that it would not be necessary to change any of the data reported (based on the video values) the critical point, in my case, was to leave the resolution of the step in eighth step (only ms1 and ms2 connected in 5V and ms3 floating), with the sixteenth step the robot was able to balance itself but it was not in a fixed position, it made an oscillation amplitude of about 40 cm. It was necessary to change the transmission rate of the HC-05 to 115200 by AT commands, but it was fine. To make the cursor go back to the center in the app: settings => check the "back to MID" fields. Do not forget to use an electrolytic capacitor (100 uF or more) between the Vmot and GND pins of the A4988 driver, unfortunately, during the tests, some were burned because I did not use this capacitor. Any questions I will be happy to help you.
hey please reply if we make different body structure than yours than we have to change the value of pid or not? if yes then where in the code we need to change? please specify exact file name and location in that code! thanks
I went to the blog and w3as hoping for a tutorial on the process but unfortunately it was more a tutorial on how to download copy and paste. Wish i could find a real well explained tutorial that doesnt skip the math
Looking through the comments to find if anyone else would say that. It is counter intuitive, but it is true. As i have said below similar videos : Try balancing a broom on your hand. First with the brush side up, then with the brush side down.
Great job. Thanks a lot for sharing it. I wish next time you make it a way that the robot gets up on its own. I am sure you have the skills to do it. Thanks again
Are you meant to see the red lights at 11:26 when you have uploaded the code? Mine didnt do that but arduino ide said it was uploaded. My robot isn't doing anything when I plug its battery in
Hi, the project worked for me but when I calibrated the MPU sensor it does not work for me, the robot continues to rotate out of control and does not stabilize, could you give me some recommendations please, thank you
I follow your complete video and your documentation. I am not get success as the app could not work. When I connect HC-05 to ez GUI and go to AUX section it shows not enough information. Please help me how I can solve this issue?
Hi, I'm in the middle of building this robot and I have a question. I'm building without the custom PCB (ie on normal breadboard), so I'm using your diagram. It all seems OK except for one connection. On the top A4988 stepper driver the ground pins are connected through a 1K resistor to the step pin and to D5 on the arduino. This seems wrong - I would have thought that the two ground pins should connect directly to ground, with the step pin connected to D5 and a 1K bridge to ground (ie the same as the bottom A4988 driver). Have I misunderstood the circuit, or is it just a misprint ?
I am two years too late to reply, but the STEP pin is connected to D5 and the same pin is pulled down to GND by the 1K resistor. Same happens in the bottom A4988.
WOW...... Good contribution, like all of your channel, thanks for sharing I'm going to get to work, this project is very interesting Can you provide information on how the different modes of operation are changed? Greetings from Barcelona - SPAIN
What about MS1, MS2, MS3 pin of A4988 driver? Please tell me as soon as possible. Your PCB sketch and the real PCBs are of different connection with those pins.
Sir I made the robot as you shown in the video and also make the circuit same as the diagram and put a capacitor of 100uf between vmot and gnd. But when I place the robot vertically steeper motors are continuously rotating I also done the calibration and Aux and pid settings. Please help me to figure out the problem.
One question, how did you make the bluetooth connection with the application work on the hc-05 model (I'm doing the same project, but the bluetooth connection is not working well)
Ther Gerber file which you gave with this video is kind of different from the pcb used in this video, so basically will my project work with the only components used in the video? Please let me know
Bonjour. Dans EZ-GUY quand je suis à l'écran "AUX", j'ai l'indication "Pas assez d'information". Je n'ai pas l'écran suivant visible au temps 12:16 de la vidéo. J'ai recommencé de nombreuses fois sans pouvoir cocher les 3 cases. Merci de m'aider à finir la configuration. Bonne année à tous !
I have a problem with i2c communication. In the ez gui app, in graphs, only works when i calibrate mpu sensor before and upload the sketch without quit tension. If I source my board with lipo battery, graphs does not anything. Pls help me
Can't seem to get the code to compile correctly in arduino IDE. There's mention of a config tab but no idea where or what that is. Any help is much appreciated. Thanks for the design!
Excellent work!! Could you please let me know how to change from pos hold to normal mode? And share your control mode configuration? Thanks in advance!
I am building similar robot using MPU6050, but my sensor starts giving very wrong outputs when it is subjected to vibrations due to stepper motors, please suggest me something to solve this!
Quite a lot of gain on your microphone, the vocal sound would benefit from some compression and EQ to separate it from the BGM in the mix, I love your designs always something interesting! I wonder if it can gain stability after jumping a ramp?
HI, thank you for your kind instructions. I was following your guide and now stuck into running an "ez gui" app. If you know why my app doesn't show AUX, could you tell me why? it only says 'Not enough information'.
Hi. I don't know if you still have this project data, if so, can you tell me the current app like the clip is broken and can't be used anymore, do you know if you have found an alternative method?
Hi Mr innovative. I have ordered the pcb’s from the link you provided. I got them and installed the components as you suggested. But there is a problem. I burnt 6 arduino nanos. I followed all the lines on the pcb and they line up with the schematic you shared. I know electronics and I have designed boards but couldn’t find what the problem is here. Can you help? Thanks
Mr Innovative. It turns out the Gerber file you share on your link has a short circuit on the +5V and the ground as well as PIN no 9 on arduino which burnt out 6 of my Arduino's!. This teaches me a lesson don't trust all the shares online. Given that you have spent so much time putting your project online with effort to describe the deatils etc I thought the schematics and the Gerber will be good. But it is not. W A R N I N G Y O U T U B E R S ! DON'T ORDER THE GERBER FILE FROM THE LINK PROVIDED HERE!!!!.....
When I upload the sketch I get… what should i do???? Output.cpp:162:13: error: ‘DRIVER_PIN’ was not declared in this scope pinMode(DRIVER_PIN[{i}],OUTPUT);(5) Output.cpp:164:3: error: expected ‘;’ before ‘}’ token } exit status 1 ‘DRIVER_PIN’ was not declared in this scope
I bought your pcb and each time i burned my arduino (3 times) with several pcb (i bought 5) I have question what is the fonction of j1 jumper do we need to install it For the over jumper i understand that it is for microstep for motor driver Could you help me i dont understand ?
hello,name is daniel,i have a question, i am currently using this video as my final year project and i have some problems, can u help me why when i connected to my ez-gui with my robot it tells that there is no data
Hello, I'm from Brazil and I'm trying to build this prototype as a project at the university. But, EZ-GUI is reporting "I2C Errors cont". Can you help me resolve this error? thank you
@@brandyplays6134 first time i burnt out my Arduino nano second time it worked perfectly fine, even i dont know the reason. the first time i used it my arduino nano got too hot
Congrats!! One of the best projects in the web. My graduation project was a self balancing cart. It was 1989. It doesn't work. There were not so many ready made circuits like Arduino. You showed times have changed.
Finally I managed to successfully implement this robot, congratulations to the author! I had difficulty understanding the PID adjustment, but in the end, after many tests, I realized that it would not be necessary to change any of the data reported (based on the video values) the critical point, in my case, was to leave the resolution of the step in eighth step (only ms1 and ms2 connected in 5V and ms3 floating), with the sixteenth step the robot was able to balance itself but it was not in a fixed position, it made an oscillation amplitude of about 40 cm. It was necessary to change the transmission rate of the HC-05 to 115200 by AT commands, but it was fine. To make the cursor go back to the center in the app: settings => check the "back to MID" fields. Do not forget to use an electrolytic capacitor (100 uF or more) between the Vmot and GND pins of the A4988 driver, unfortunately, during the tests, some were burned because I did not use this capacitor. Any questions I will be happy to help you.
hello, im getting driver pin was not declared in the scope
please help me out
i meant in the code while uploading to my arduino
Can you share the scheme you use? Thanks
hey please reply if we make different body structure than yours than we have to change the value of pid or not? if yes then where in the code we need to change? please specify exact file name and location in that code! thanks
I have smaller wheels 60mm. Will they suffice or is it mandatory to use 100mm? Leonardo, your offer of help is much appreciated; Thank You Very Much
Alhumdulilah I am near to complete this project I am very glad and thankfully to the vedio maker,, 😊🥰🥰
EZ-GUI is saying no data received when i tried to connect it with HC-05 at baud rate of 115200. and also AUX is showing "not enough information".
bro did you found the solution. Same problem also for me.
@@aravinds8743 did you find solution? Same problem also for me
Really needed this channel. Best reference for arduino projects!
I went to the blog and w3as hoping for a tutorial on the process but unfortunately it was more a tutorial on how to download copy and paste. Wish i could find a real well explained tutorial that doesnt skip the math
Try putting the battery on the top level. With an inverted pendulum, a higher center of gravity actually makes it easier to balance.
Looking through the comments to find if anyone else would say that.
It is counter intuitive, but it is true. As i have said below similar videos :
Try balancing a broom on your hand. First with the brush side up, then with the brush side down.
Great job. Thanks a lot for sharing it. I wish next time you make it a way that the robot gets up on its own. I am sure you have the skills to do it. Thanks again
Are you meant to see the red lights at 11:26 when you have uploaded the code? Mine didnt do that but arduino ide said it was uploaded. My robot isn't doing anything when I plug its battery in
Fantastic project, and so inspiring. Thumbs Up - for sure.
Thanks a lot for repeating my project!
i have also made this project.
Sir my Ez-gui app is showing warning no data received pls help what to do
Wonderful There are no other words to define your work
Hi, the project worked for me but when I calibrated the MPU sensor it does not work for me, the robot continues to rotate out of control and does not stabilize, could you give me some recommendations please, thank you
great work ...i have a question i have the motors rotating in different direction !!
how can I change the direction of the orongue one .. thank's .
I follow your complete video and your documentation. I am not get success as the app could not work. When I connect HC-05 to ez GUI and go to AUX section it shows not enough information. Please help me how I can solve this issue?
You need to set your HC-05 bout rate to 115200 first, for this you need to set it by AT command mode
Sir kindly clear which maximum android version can support EZ-GUI Ground Station app?
Hi,
I'm in the middle of building this robot and I have a question. I'm building without the custom PCB (ie on normal breadboard), so I'm using your diagram. It all seems OK except for one connection. On the top A4988 stepper driver the ground pins are connected through a 1K resistor to the step pin and to D5 on the arduino. This seems wrong - I would have thought that the two ground pins should connect directly to ground, with the step pin connected to D5 and a 1K bridge to ground (ie the same as the bottom A4988 driver). Have I misunderstood the circuit, or is it just a misprint ?
I am two years too late to reply, but the STEP pin is connected to D5 and the same pin is pulled down to GND by the 1K resistor. Same happens in the bottom A4988.
$2 part... $25.02 for shipping!
Hi bro when I connect it to mobile after sum sec it will say warning data not received can u please tell me y
this is a very self-balancing robot. congrats!
A small doubt,can we use cnc driver for this project with the same code including a4988.what will be the code changes
I didn't get any data from the bluetooth to my EZ-GUI APP
Can you please solve it?
great project, although the arduino nano is mislabelled as a mpu6050 @2:36. Great project and video though
WOW......
Good contribution, like all of your channel, thanks for sharing
I'm going to get to work, this project is very interesting
Can you provide information on how the different modes of operation are changed?
Greetings from Barcelona - SPAIN
2:35 You miss labeled the Arduino near the wheels as an MPU6050.
What about MS1, MS2, MS3 pin of A4988 driver?
Please tell me as soon as possible.
Your PCB sketch and the real PCBs are of different connection with those pins.
hey i have extra pcbs???
Do you want?
@@syedsulaiman8380 For now, no thanks. But if I need I must contact you
@@diptangshudas6725 I live in india and I ordered the pcb he has given
If you want fell free to contact
I also have other PCBs from how to mechtronics
Hi,@@syedsulaiman8380
Great work man, I got a question,, What were the criteria used in evaluating the control algorithm?
The robot control app doesn't show the aux part. What do I need to do to make it show the aux panel?
please help me
how to disarm or unarm?
I tried turning off the board but when I turn it on its still armed.
Sir I made the robot as you shown in the video and also make the circuit same as the diagram and put a capacitor of 100uf between vmot and gnd.
But when I place the robot vertically steeper motors are continuously rotating
I also done the calibration and Aux and pid settings.
Please help me to figure out the problem.
I have the same problem
I am working on it
did you fix it ?
did you adjust the PID value yourself because mine say wrong value
One question, how did you make the bluetooth connection with the application work on the hc-05 model (I'm doing the same project, but the bluetooth connection is not working well)
Ther Gerber file which you gave with this video is kind of different from the pcb used in this video, so basically will my project work with the only components used in the video? Please let me know
Heyy can you share the Gerber file?
Bonjour. Dans EZ-GUY quand je suis à l'écran "AUX", j'ai l'indication "Pas assez d'information". Je n'ai pas l'écran suivant visible au temps 12:16 de la vidéo. J'ai recommencé de nombreuses fois sans pouvoir cocher les 3 cases. Merci de m'aider à finir la configuration. Bonne année à tous !
I have a problem with i2c communication. In the ez gui app, in graphs, only works when i calibrate mpu sensor before and upload the sketch without quit tension. If I source my board with lipo battery, graphs does not anything. Pls help me
Can't seem to get the code to compile correctly in arduino IDE. There's mention of a config tab but no idea where or what that is. Any help is much appreciated. Thanks for the design!
I want to use A0, A1, A2 and A3 for stepper control. Could you please guide me where to change pin configuration? Thanks in Advance.
Excellent work!! Could you please let me know how to change from pos hold to normal mode? And share your control mode configuration? Thanks in advance!
Why do you need two MPU6050's?
I am building similar robot using MPU6050, but my sensor starts giving very wrong outputs when it is subjected to vibrations due to stepper motors, please suggest me something to solve this!
Quite a lot of gain on your microphone, the vocal sound would benefit from some compression and EQ to separate it from the BGM in the mix, I love your designs always something interesting! I wonder if it can gain stability after jumping a ramp?
thanks bro, thanks for your help. So, I can finished my task , thanks bro
How did u configure the bt-05
I am not getting any data from Bluetooth to EZ-GUI App
Can you please solve this problem?
@@maddilasumanth7888 Change the Baud Rate of HC-05 Bluetooth Module
@@iwanbukanfals1834How to change Baud rate of HC-05 module bro??
@@iwanbukanfals1834 in EZ-GUI app I am getting " warning No Data Received"
Please slove this problem
Please🙏
can you say something more about calibration? my robot does not drive sideways but front and back
In First trial u got the accuarte output ??
how do i find my orientation for my mpu 6050
When changing baud rate of HC05 in AT mode, what should be stop bit and pairty bit?
Thank You
Can I use 8mm rod instead of 5mm plz reply me
I'm using reversal shaft stepper motors will it work?????
Is there a way to run this with a bluetooth controller rather than though an app?
How could the robot follow the person who has the program installed in the smartphone autonomously ?
Please tell me what is the orientation of mpu6050
Either it is ROLL or PITCH if I place the mpu6050 same as you
HI, thank you for your kind instructions. I was following your guide and now stuck into running an "ez gui" app. If you know why my app doesn't show AUX, could you tell me why? it only says 'Not enough information'.
same
Did you manage to resolve this issue? I have the same problem
That means your BT module boud rate is not set on 115200 set it first by AT command mode
i had a doubt
what if i used a different diameter tyres
will it work same or i have kame some changes in the code
Thats awesome!!!!
I have one question.
What is the defference between normal mode and position hold mode????
İn pısition hold mode it wworks like a bumeranh
Can we use drv8825 stepper motor driver instead of a4988?
Plszz help me!
How do I change the Baudrate?
Hi, help, I have assembled the robot, but it swings and I have to hold it with my hand, what should I change as a PID parameter
Increasing the kD constant would help with that
Nice!!!.. Would an Arduino Nano Every work?
I tried it but getting errors and some variables not defined in the def.h file
Sketch is giving compilation error please help
And also how to get config.h option in new ide
Good equilibrium, congeatilation. Is deseable bb8
I get "warning no data received" when I connect to my robot on ez-gui, what should I do? Nothing appears under AUX
did you solve it?
Hi. I don't know if you still have this project data, if so, can you tell me the current app like the clip is broken and can't be used anymore, do you know if you have found an alternative method?
Hi Mr innovative. I have ordered the pcb’s from the link you provided. I got them and installed the components as you suggested. But there is a problem. I burnt 6 arduino nanos. I followed all the lines on the pcb and they line up with the schematic you shared. I know electronics and I have designed boards but couldn’t find what the problem is here. Can you help? Thanks
Mr Innovative. It turns out the Gerber file you share on your link has a short circuit on the +5V and the ground as well as PIN no 9 on arduino which burnt out 6 of my Arduino's!. This teaches me a lesson don't trust all the shares online. Given that you have spent so much time putting your project online with effort to describe the deatils etc I thought the schematics and the Gerber will be good. But it is not. W A R N I N G Y O U T U B E R S ! DON'T ORDER THE GERBER FILE FROM THE LINK PROVIDED HERE!!!!.....
@@alpaslanalperkayar Do you maybe have the fixed gerber file that works ?
david.persak10 x I haven’t had time but will send an update as soon as I got it fixed
@@alpaslanalperkayar is the schematic atleast correct?? that has been used here?
@@brandyplays6134 The schematics is correct. I have a new Gerber file now. Expecting the PCB's end of the week. I'll test and share the file
Can we use different kind of battery
When I upload the sketch I get…
what should i do????
Output.cpp:162:13: error: ‘DRIVER_PIN’ was not declared in this scope
pinMode(DRIVER_PIN[{i}],OUTPUT);(5)
Output.cpp:164:3: error: expected ‘;’ before ‘}’ token
}
exit status 1
‘DRIVER_PIN’ was not declared in this scope
In the AUX part i get something that says "Not Enough Information". I set the baud rate of hc-05 to 115200. Can you help?
I also got that.but after i set the baud rate to 115200... it works
My bluetooth module connects to my phone, but when i go to aux it says that its not receiving data. Any ideas on what might be wrong?
Set Blue tooth baud rate 115200 from at command
@@MrInnovative thanks!
@@thatguywithaplane2954
me too. can you help me. thanks
@@MrInnovative I ALREADY SET THE BUD RATE BUT IT WARNING NO DATA RECEIVED
@@phtechnologyindia6709 have you figured out how to beat it?
Sir....how much it take to develop this model
If I Wanna use bigger wheels like 6-6.5 inch ,can I use the same equipment?or the software is based on the size of wheels?
just PID value will be change nothing else...
I bought your pcb and each time i burned my arduino (3 times) with several pcb (i bought 5)
I have question what is the fonction of j1 jumper do we need to install it
For the over jumper i understand that it is for microstep for motor driver
Could you help me i dont understand ?
Hi, where did you buy the wheels?
to premise that I have 65 cm wheels, could this be it?
Is there an error or missing in the circuit connections?
Sir pls replay fast can we use gear motor instead of servo pls replay faster
hello,name is daniel,i have a question, i am currently using this video as my final year project and i have some problems, can u help me why when i connected to my ez-gui with my robot it tells that there is no data
Sir Kon sy course may aysy project banany ko milta ha batao please sir please
Sir aap ny Kon sa course Kiya ha batao please sir please
Well done Joakim. How do you create the PCB Boards?
Hallo! You can use it, with some changing.
a.aliexpress.ru/_eNRPmV .
In this sketch can I tune PID value myself. If yes please guide where. I can't find PID variables
You can change PIDs in GUI.
PIDSPEED is PIDROLL in GUI. PIDANGLE is PIDLEVEL.
Sir....does it run without chip
thanks for sharing,my balancing robot was success in this day
Did you copied all same from the video?
my program & code is same with this video,.
@@iwanbukanfals1834 So you went to BalancingWii.ino and compile and run? Because I did the same but it tells me it has many errors.
@@androidoptimusprime yes,following that vidio,you will can
hello, im getting driver pin was not declared in the scope
please help me out
How much did this cost and how long did it take to build?
Had an issue after connecting with the app, we are getting "No Data Received" warning after selecting AUX
Me too (after building the whole robot)
Did you guys solve the issue ?
can I use Arduino Uno with those components insead of Arduino Nano or NO ???????
Of course. Uno has more functionality and pins. No problem.
@@RyanMcCoppin thank you so much bro for your respond
Can I use an Arduino uno
Where is ON/OFF switch,And how can i start robot second time without on/off switch
Hello, I'm from Brazil and I'm trying to build this prototype as a project at the university. But, EZ-GUI is reporting "I2C Errors cont". Can you help me resolve this error?
thank you
Hi ! Looks very nice ! :) Congrats ! I'd like to do the same kind of robot ^^ but i don't know doing PCB, can you help to tell me what can i use ?
Wires.
@@RyanMcCoppin bruh XD
Bro config.h is not showing in drop down when I am uploading code then what should I do pls help I am using arduino ide 1.8 version
Can I use 9 volt battery instead of using lipo battery??
No
Why I dont have settings in A U X? Pls help
Me too
i don´t have too, can anyone help me ?
Same problem
Same here if anyone solved the problem then pls reply
Hii...can u plz explain how to configure the bt-05 with 115200
www.askvina.org/post/balancing-robot-arduino-ez-gui
@@askvina please share complete circuit diagram. thanks in advance
is the code same for gear motors and motor driver ?
No bro
IN THE APP AUX IS SETTING NOTSHOWING PLS HELP ME BRP
Aslam o alikum bahi main nay sara bana lia hai lakin programming main error day raha hai
Bro can I use BO motor in it
Hi. Can i know all part i need to do this proyect and all step?
Email. Alfredo.lopez.lopez01@gmail.com
y is the gerber files provided by u diff from the one in the video
That is what I modified and improved one,
@@MrInnovative sir can u plz provide me the one used in video
@@MrInnovative sir the one u improved isnt working.i burnt out my arduino nano..can you post the one in which you used in the video?
@@brandyplays6134 Same here bro
@@brandyplays6134 first time i burnt out my Arduino nano second time it worked perfectly fine, even i dont know the reason.
the first time i used it my arduino nano got too hot
where do i get the wheels???