Your shopping cart is empty!
Control ESP32 Mobile Robot Using Android Bluetooth App
- Idris Zainal Abidin
- 09 Oct 2019
- 2098
Introduction
Besides the WiFi module, ESP32 also equipped with Bluetooth modules. So in this tutorial, I will share with you how to use the Bluetooth module and control ESP32 mobile robot using an Android app. Before that, you may need to refer the following tutorial first:
- Data Logging Using Favoriot IoT Platform and ESP32 (to install ESP32 board package)
- ESP32 PD Line Following Robot with Maker Line (for wiring connection)
Video
This video will show you how to control the ESP32 mobile robot by using the Android Bluetooth app.
Hardware Preparation
This is the list of items used in the video.
- Node32 Lite
- 2WD Smart Robot Car Chassis
- Breadboard 8.5x5.5cm
- Maker Drive
- LIPO Battery 7.4V 900mAH
- 40 Ways Male to Female Jumper Wire
Wiring connection table
7.4V LIPO BATTERY | MAKER DRIVE | DC MOTOR | NODE32 LITE |
Positive | VB+ | ||
Negative | VB- | ||
M1A Terminal | Left Motor | ||
M1B Terminal | Left Motor | ||
M2A Terminal | Right Motor | ||
M2B Terminal | Right Motor | ||
5V | RAW | ||
GND | GND | ||
M1A Pin | GPIO33 | ||
M1B Pin | GPIO25 | ||
M2A Pin | GPIO26 | ||
M2B Pin | GPIO27 |
Sample Program
This is the Arduino sample for ESP32. Please install the ESP32 board package manager in order to compile and upload the code successfully.
Thank You
References:
- ESP32 Pinout References
- Maker Drive Datasheet
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.