How to Make WiFi Controlled Robot Car using ESP8266 and L298N Motor Driver

{getToc} $title={Table of Contents}

INTRODUCTION

In this project, we will build a WiFi Controlled Robot Car using ESP8266, L298N motor driver, and DC motors.

This robot can be controlled using a mobile browser through WiFi, without using any external app.

WATCH YOUTUBE VIDEO

Watch full working of WiFi Robot Car:

COMPONENTS REQUIRED

Item Image Item Name Quantity Buy
ESP8266 (NodeMCU) 1 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
L298N Motor Driver 1 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
BO Motors 4 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
Wheels 4 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
18650 Battery Holder 1 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
18650 Batteries 2 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
Jumper Wires As Required {getButton} $text={Buy Now} $icon={cart} $color={#007bff}
Switch 1 {getButton} $text={Buy Now} $icon={cart} $color={#007bff}

TOOLS REQUIRED

ToolQtyBuy
Screwdriver 1 {getButton} $text={Buy Tool} $icon={cart} $color={#007bff}
Wire Cutter 1 {getButton} $text={Buy Tool} $icon={cart} $color={#007bff}
Glue Gun Optional {getButton} $text={Buy Tool} $icon={cart} $color={#007bff}

APPS AND ONLINE SERVICES

AppAccess
Arduino IDE {getButton} $text={Download} $icon={download} $color={#007bff}

WIRING CONNECTIONS

ESP8266 ↔ L298N

L298NESP8266
IN1D1
IN2D2
IN3D3
IN4D4
ENAD5
ENBD6

Power

ComponentConnection
BatteryL298N Power Input
ESP8266Powered via Vin or 5V

ARDUINO CODE

WORKING PRINCIPLE

ESP8266 creates a WiFi hotspot and hosts a web page. The user controls the robot using buttons on the webpage. Commands are sent to ESP8266 which controls motors via L298N.

TIPS

  • Connect to WiFi: Robot_Car
  • Password: 12345678
  • Use stable battery

CONCLUSION

This project introduces IoT-based robot control using ESP8266.

Uday kiran

Hey Guys, My name is Uday Kiran. I'm from India. now I'm 18 years old, studying at college. Making DIY projects is my hobby, passion and I love making awesome projects from scratch. I am the creator of the Electromechanics community. facebook twitter youtube instagram external-link

Previous Post Next Post

نموذج الاتصال