Ultimate RC Balancing Bot!

Here Is My Arduino UNO (atmega328P) + MPU6050 based balancing bot I took for aa extreme indoor Test drive:
YouTube Video

I will update with an outdoor drive once it stops raining!!!

I included all the code below that is custom
Tank code is for when it falls over and I drive it back :slight_smile:
anyone have a balancing bot and an RC radio take this for a test drive!

Uses standard MPU6050_6Axis_MotionApps20.h library
eeprom code can be removed it is there to store PID settings while tuning
Don't forget to get your calibration values for your MPU6050

Z

BalancingBotWTankModeArcV3_GreenTank_Best.ino (22.6 KB)

PID_v2.cpp (8.08 KB)

PID_v2.h (2.94 KB)

Tank.cpp (2.03 KB)

Tank.h (1.25 KB)

RC_V1r2.cpp (21.4 KB)

RC_V1r2.h (4.34 KB)

Here is some outdoor footage of the bot jumping off curbs and driving fast on pavement, gravel and grass

Impressive work! What RC car did you start with? It looks like one that I have seen at a "bigbox" store. What are you using for a motor driver?

I am guessing the remote control receiver goes to the Arduino then, the Arduino runs the motors. Is that correct?

cyclegadget:
Impressive work! What RC car did you start with? It looks like one that I have seen at a "bigbox" store. What are you using for a motor driver?

I am guessing the remote control receiver goes to the Arduino then, the Arduino runs the motors. Is that correct?

The RC Car I got from Goodwill for a wapping $3 with no remote control and No battery. (JLX Overdrive RC Car) When I first got it I attempted to tie into the H-Bridge on the Radio receiver but I damaged it some how. So I went on a quest to find a replacement but the tiny 2amp arduino shield motor controllers failed to even move the RC Car so I built my own 40 Amp H-bridge based on the automotive Half H-bridge chip BTS7960 with an on board atmega328p "arduino at heart" surface mount chip. I call it the Arc Controller. I hope to do another Kickstarter soon with better pricing:) . Now you can find similar H-bridges in breakout boards IBT-2 H-Bridge on the market.

Z