Introduction

In this post, I present a 4-wheel differentially steered car controlled through an IMU (MMPU 6050) and integrated with ESP32. The system uses two ESP32s, one at the controller end and the other on the car end, communicating via web sockets for fast speeds and low latency. On the car side, the setup consists of 4 motors with two motor drivers, controlled via PWM from the ESP32.

Motion Controlled Car

Hardware Used

Software Used

  • Arduino IDE to program the ESP32s.
  • ESP32 Libraries specifically its WiFi.h and WebSocketsServer.h library.
  • Libraries for MPU6050 or any other IMU that you use.

Project Demonstration

You can find the YouTube video for this project embedded below or click here to view it directly.

Future Work

  • Add more precise gesture controls
  • Integrate additional sensors for obstacle detection
  • Add a camera for computer vision based control

Thank you for reading this post. If you have any questions or feedback, please feel free to leave them in the comments section below. I know I havent provided the code for this project and its because I dont know where it is :/ . You can send me an email and I will try to find it and send it to you :)