Self-balancing robot for fun is capable of:
- actually, to balance; :)
- to ride and turn;
- to deviate from obstacles using distance sensors;
- all of it are controlled through an access point distributed by the robot itself, which acts, among other things, as a web server, issuing a control page to a standard browser upon request.
- esp8266 NodeMCU v3;
- motor driver l298n;
- yellow single-axis arduino TT-geared motors;
- 2x 18650 batteries and battery compartment;
- MPU6050;
- SSD1306 128x64 I2C display;
- 2x HC-SR04 distance sensors;
- toggle switch KCD1-11;
- breadboard 4x6 см (if you'd like);
- body parts
To compile the sketch, you need to install the following libraries:
Libraries are installed by following links and clicking Code->Download ZIP.
В Arduino IDE Sketch->Include library->Add .ZIP library...
After that you need to download the balancing_robot directory and put it in the Arduino IDE workspace. (sources.h should be in the same folder with the sketch).
Compile and upload.
When the power is turned on, the robot will start balancing.
To control it, you need to connect to an access point :
ssid: balancingbot; // default
psw: 123456789;
and enter the robot's ip-address in the browser:
192.168.1.1 // default
have fun :)


