PD of PID in a balancing robot

True, I'd approach it and some other problems in a totally new design, hopefully to bring it to 1 level higher totally.

although it's an old topic,I'd like to share my case>>

I used to have the same problem.. using PD only the robot wouldn't respond to small change in angle and when I increased the P term it went crazy,,,D term wasn't helpful at all and when increased the robot starts to vibrate !!

as mentioned in previous posts this maybe due to noisy data...and what they said is true
I zeroed the D term and put I term instead and it balanced!! just like that!!
I term was like magic!

Hello

First sorry for my broken english.

I made a self balancing robot with mpu-6050 gyroscope, l298n driver, 2x 500rpm motors, arduino uno and bluetooth modul hc-06.

Robot chasing a vertical position and driven via Bluetooth. But i have a problem. When robot comes on a different basis. It does not catch more vertical position but it drives left or right. PID values should be continuously adjusting...Could you please help me?

Add a link to the program:

Thanks for all answers.