Introduction: ESP8266 Based Wi-Fi Controlled Bot With a Smartphone
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.
Step 1: Components Required for the Project
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
L7805CV voltage regulator
And obviously a working android phone
Step 2: Making the Circuit
Connect the components as the given 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.
Step 3: Uploading the Sketch to ESP8266
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 :
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.
Step 4: Configuring Your Android Phone
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 :
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.