Introduction: Wi-Fi Controlled Bot Using Arduino UNO & ESP8266

Picture of Wi-Fi Controlled Bot Using Arduino UNO & ESP8266

This is a Wi-Fi controlled Bot made using Arduino Uno, ESP8266. The bot is controlled over a local server coded with javascript.

Step 1: Materials Required

Picture of Materials Required

1) Arduino Uno

2) Arduino Power adapter with +ve, -ve divider (Photo given)

3) ESP8266

4) 2 Light Dependent Resistance

5) L293D Motor Driver

4) Breadboard & some jumper wires

6) 2 DC motor B.O.

7) Chassis

Step 2: Connection

Picture of Connection

1) Connect the ESP Module as per the diagram except for the Tx-Rx pin. Connect them to the pin nos. you've defined in your code in SoftwareSerial. For ex. in my case it was 2,3

2) The L293D motor driver had inputs for the left BO motor from pins 4,5 (PWM) and for the right BO motor pins 6,9 (PWM). The outputs were connected to the two BO motors respectively. The 5V pin of the L293D motor was connected to 5V of arduino. The GND and 12V pins were connected in series to the two wires coming from the adapter (+ve for 12V and -ve for GND) on the bread board.

P.S. the connection for L293D was modified, by connecting +12V to 5V, because ESP wasn't responding when I supplied +12V. i didn't have a multimeter to measure the volatge going in ESP nor did I have resistance to connect and check.

Step 3: The Code

There are two parts in the code. One the arduino code and the other JavaScript. The link for the code is as follows:

https://github.com/debadridtt/WiFi-Controlled-Bot-...

Comments are there beside every line of code to make it understandable.

Comments

sunilk158 (author)2017-08-31

Hi sir which app is used for thid

DebadriD (author)sunilk1582017-10-02

no app, just simple javascript coding. I hope you'll be able to understand js.

About This Instructable

997views

20favorites

License:

Bio: Currently in 3rd yr. of my B.Tech degree in Electronics & Telecommunication Engineering from KIIT University, Bhubaneswar, India. A few programming languages at which I ... More »
More by DebadriD:ChatBot Using Raspberry Pi 3 & PythonSmart Car  Automation With E-Mail Notifications - IoT Using Arduino, ESP8266Car Parking Sensor Using Arduino and Ultrasonic Sensor
Add instructable to: