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

About: 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'm intermediate are C, C++, PYTHON. I…

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

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

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:

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

Internet of Things Contest 2017

Participated in the
Internet of Things Contest 2017