ESP8266 Based Wi-Fi Controlled Bot With a Smartphone

by _Kripa_ in Circuits > Remote Control

5137 Views, 32 Favorites, 0 Comments

ESP8266 Based Wi-Fi Controlled Bot With a Smartphone

IMG_20171010_174036282.jpg
IMG_20171010_131355016.jpg
IMG_20171010_173941600.jpg

Create your own Wi-Fi controlled bot!

It's a NodeMCU ESP8266 based Wi-Fi controlled car.

This car is controlled by a android phone.

It's really simple to make.

So lets get started.

Components Required for the Project

IMG_20171010_225512716.jpg
IMG_20171010_230003954.jpg
IMG_20171010_225241077.jpg
IMG_20171010_231040034.jpg
IMG_20171010_225710390.jpg
IMG_20171010_225008689.jpg
IMG_20171010_231621546.jpg
IMG_20171010_231244700.jpg

Here is what you need to make a Wi-Fi controlled car :

  • L293D motor driver ic
  • 2x Gear Motor
  • 3x Wheels
  • NodeMCU ESP8266
  • 4x 3.7V Lithium-ion
  • Jumper Wires
  • Breadboard
  • L7805CV voltage regulator

  • And obviously a working android phone

Making the Circuit

IMG_20171010_172824609.jpg
IMG_20171010_131704897.jpg

Connect the components as given in the diagram. It's not tough at all.

Connect two batteries in parallel first and then connect them in series.

Make sure all the connections are tight and secured.

Uploading the Sketch to ESP8266

inst1.png
inst2.png
inst3.png
inst4.png
inst5.png

We will upload our sketch to the ESP8266 using Arduino IDE.

First open your arduino IDE. Then go to Preferences and then add the following

link to Additional Boards Manager URLs :

http://arduino.esp8266.com/stable/package_esp8266c...

Then go to Boards Manager and install ESP8266 package.

Then go to Library Manager and install Blynk.

Then go to examples and select NodeMCU from Blynk.

Give your SSID and password.

You will also have to give your AuthToken which you will get in the following step.

And after that you will have to upload the sketch to your ESP8266.

Configuring Your Android Phone

Screenshot_20171011-013144.png
Screenshot_20171010-180350.png
Screenshot_20171010-180419.png
Screenshot_20171011-000754.png

First you need to install the Blynk app on your phone.

You can go to PlayStore and install the app by clicking the following link :

https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&...

Though the app is not made for controlling cars, it was made for controlling

LEDs. But anyways it works.

Create a account and soon you will get your Auth Token which you will

have to use in the previous step.

Then create a new project and enter your Project Name, Device (ESP8266)

and connection network (Wi-Fi) as well.

And then add four switch and two slide switch.

Configure the pin as in the given photo.

Connect your phone's Wi-Fi to the same network as you have given in the code.

And then you are good to go.

Run the project and enjoy.

Working Video

ESP8266 based Wi-Fi controlled Bot with a Smartphone