Skip to content

Latest commit

 

History

History
65 lines (53 loc) · 2.37 KB

File metadata and controls

65 lines (53 loc) · 2.37 KB

Automatic tumbler
Self-balancing robot based on NodeMCU

РусскийEnglish(Английский)

Description

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.

Main parts

  • 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

Main parts

Wiring diagram

Wiring diagram

Installation and uploading

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.

Start and connection

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 :)