Control ESP32 Mobile Robot Using Android Bluetooth App

Control ESP32 Mobile Robot Using Android Bluetooth App

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:

  1. Data Logging Using Favoriot IoT Platform and ESP32 (to install ESP32 board package)
  2. 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.

Wiring connection table

 
7.4V LIPO BATTERYMAKER DRIVEDC MOTORNODE32 LITE
PositiveVB+  
NegativeVB-  
 M1A TerminalLeft Motor 
 M1B TerminalLeft Motor 
 M2A TerminalRight Motor 
 M2B TerminalRight 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:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Related Products