Esp32 Projects

How to make a WIFI controlled car using ESP32 and Blynk App

How to make a WIFI controlled car using ESP32 and Blynk App - step by step instructions

Introduction

Hi friends, welcome back. In this tutorial, we will make a small robot car controlled by the ESP32 Board. Also, this can be easily controlled by the New Blynk App with WIFI.

When The Power is on the circuit the WIFI is connected and is Conected to the Blynk Cloud via a WIFI Connection throughout.

How to make a WIFI controlled car using ESP32 and Blynk App 1

  • Then, when you press the Commands Like(Forward, Backward, Left, Right) buttons on the Mobile Blynk app, those values are sent to the ESP32 Board via the Blynk cloud.
  • Then, the N20 Gear Motor rotate according to these values. the DRV8833 2-Channel DC Motor Driver is used for the speed control of the N20 Motor.

We Explain the steps of how to make your robot car at home just follow the steps.

Bill Of Materials

S.N

Component's

Quanitity

1

ESP32 Board

1

2

DRV8833 2 Channel DC Motor Driver

1

3

N20 motor

4

4

N20 motor wheel

4

5

3.7v lithium battery

1

6

3.7v lithium battery holder

1

7

Zero PCb

1

Component’s 

ESP32 Board

Here we used the ESP32 Microcontroller because it has built-in WIFI And Blutooth and is also easy to available.

Features:-

  • The ESP32 has built-in Wi-Fi support, allowing it to connect to wireless networks.
  • ESP32 supports various communication protocols, including SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit), and UART (Universal Asynchronous Receiver/Transmitter).
  • Supply Voltage: 3.3 V ~ 5 V.

ESP32 Baord

 

DRV8833 2 Channel DC Motor Driver

The DRV8833 Dual H-bridge motor driver IC can be used for bidirectional control of two brushed DC motors at 2.7 V to 10.8 V. It can supply up to about 1.2 A per channel continuously and can tolerate peak currents up to 2 A per channel for a few seconds.

DRV8833 2 Channel DC Motor Driver

N20 Motor (150-rpm)

The N20 Micro Gear 12V 1500 RPM DC Motor (High Torque) is a lightweight, high torque, and low RPM motor. It is equipped with a gearbox assembly to increase the torque of the motor.

N20 Motor2

With Motor Driver

N20 Motor1

N20 Wheels

N20 Wheels

3.7v lithium-ion battery

3.7V 3200mAH (Lithium Ion)Rechargeable Battery also known as Lipo batteries are thin, light and powerful. This battery has a capacity of 3200mAh.

3.7v Battery

 

Circuit Diagram

Here we design the circuit diagram and do the connection properly like the Motor Driver is conected to the ESP32 Board.

  • IN1 – 13
  • IN2 – 12 
  • IN3 – 14
  • IN4 – 27
  1. VCC Is Connected to the Vin Pin and GND Will be Connected to the GND
  2. In OUPUT Side Is connected to the N20 Motor
  3. 3.7v Battery used to power up the circuit and also connect the one on/off switch

ESP32 based robot car

Hardware Design

Now we fix all N20 motors in the MDF Board And Soldring it with the help of Wire.

ESP32 Robot car1

I put the ESP32 Board And Motor Driver Circuit on Top Of The MDF Board.

ESP32 Robot car4

Code 

Before you Upload The Code Is Required To Download The library and Few Changes in The Code.

Blynk Library — Download

First Change the Blynk Token ID key and WIFI User Name And password.

Then You Select The Proper Board And Upload The Code To An ESP32 Board.

If You don’t Know how To Upload the code to ESP32 Board then first check the Article:- Basic Of ESP32 BoardESP32 Board

GitHub e1697076839430

Blynk App Setup

In Blynk Steup just Flow The Step One By One Copy the Token ID in a Code.Blynk App

Now We Sucess fully created the Template then we went to the WebDesboard and Used The 4 Switch buttons and one Speed Control Slider.

How to make a WIFI controlled car using ESP32 and Blynk App3

just go to the My Devices option select your template and use it.

How to make a WIFI controlled car using ESP32 and Blynk App2

Now Your app is ready to control the Small Robot Car. Just attach the battery and click the forward button, backward button, right button and left button.

How to make a WIFI controlled car using ESP32 and Blynk App1 e1700206922390

Project Working 

1

Video

Conclusion

In this Project we tried to design a small robot we used the ESP32 And DRV8833 Motor Drivers because the motor RPM Is Less That’s why the robot moves solely if you use more RPM motors Then it Moves Fast. but one advantage of the robot is powers up the whole circuit only the 3.7v battery.

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker