DIY ESP32 Wifi Self Balancing Robot - B-Robot ESP32 Arduino Programing
Introduction: DIY ESP32 Wifi Self Balancing Robot - B-Robot ESP32 Arduino Programing
This article is proudly sponsored by PCBWAY.
PCBWAY make high quality prototyping PCBs for people all over the world. Try it for your self and get 10 PCBs for just $5 at PCBWAY with very great quality, Thanks PCBWAY. The ESP32 Balancing Robot Shield that I developed in this project uses PCBWAY PCB services. In this instructable, I will show you how to build Self Balancing Robot use ESP32 Wifi. Let's get started!
This self balancing robot is based on:
* B-Robot EVO 2.0 by JJRobots
* B-Robot ESP32
Step 1: Circuit Diagram
Step 2: Parts List
* 1 x PCB ESP32 Balancing Robot Shield (https://www.pcbway.com/project/shareproject/ESP32_Balancing_Robot_Shield.html)
* 1 x ESP32 DEVKIT V1 board
* 2 x Stepper Motor Driver A4988
* 1 x 3 axis Acc. and Gyro sensor MPU6050
* 2 x Stepper Motor Nema17
* 1 x Servo Motor MG90S
* 1 x LED 3mm
* 2 x LED 3mm White Super Bright
* 1 x Active BUzzer
* 2 x V-Regulator 5V AMS1117 (SMD)
* 1 x Resistor 1K Ohm
* 1 x Capacitor 0.1uF
* 1 x Capacitor 100uF/16V
* 2 x Capacitor 220uF/16V
* 1 x Rocker Switch Dia. 375
20mm
* 2 x Rechargeable Battery Li-ion 18650 3,7V
* 1 x Battery Holder 2x 18650
* 1 x Micro USB Cable
* 1 x OTG Adapter
* 1 x Terminal Screw 2 pin 5mm
* 2 x Female Header 15 pin
* 5 x Female Header 8 pin
* 2 x Female Header 4 pin
* 1 x Male Header 2 pin
* 1 x Male Header 3 pin
* 1 x Jumper cap
* 1 x Set screw 5mm
* 1 x Set M3 set screw 10mm
* 2 x O-ring 3mm ID 82mm
* 1 x Set 3D Printed Parts
Step 3: Order PCB on PCBWAY
To make this project you need to order a prototype PCB on PCBWAY. How to order is very easy and you will get 10 Pcs PCB for $5 with very great PCB quality.
Step to Order:
1. SignUp/Log in on pcbway.com
2. Open this PCB project link ESP32 Wifi Balancing Robot Shield
3. Click Add to cart.
4. Wait moment for PCB review, then Click Check Out.
Step 4: Solder SMD Component (AMS1117 5V)
This project has two SMD component, it is not too difficult to solder because the size of the SMD component is quite large, so don't worry.
You will need tweezers as a tool to hold the components when soldered.
Step 5: Place the Components
After finish solder SMD component, next attach other trough hole components on the PCB following the pictures and symbols on the PCB, for details you can follow step by step in the video.
Step 6: Soldering
Solder all the component legs on the back of the PCB, for details you can follow step by step in the video.
After finish solder, cut all the long legs of the component wire
Step 7: Attach Modules
Attach the ESP32 board, MPU6050 and two Driver Stepper Motor A4988 into the female header socket as shown, look at the pin name don't get the wrong orientation.
Step 8: 3D Printed Parts
Print all of 3D parts Balancing robot, get design file from thingiverse.com/thing:2306541
List 3D Printed Parts:
* 2x Wheels
* 2x Hub Arm
* 2x Side Panel
* Top Shelf
* Motor Shelf
* Electronics Shelf
* 2x Bumpers
Step 9: Install 3D Parts
* Insert four M3 nuts into each hole on the edge of the Electronics Shelf (3d printed part).
* Install two Side Panel (3d printed part) on both sides then tie it with a machine screw.
Step 10: Install Stepper Motor
* Attach two stepper motor Nema17 to the Motor Shelf (3d printed part) then tie it with a machine screw. 375