INTERFACING WEB SERVER WITH A ROBOT

Slides:



Advertisements
Similar presentations
RADIO FREQUENCY BASED SERIAL COMMUNICATION..
Advertisements

Lab7: Introduction to Arduino
How to use Arduino By: Andrew Hoffmaster.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Controlling Robot Car via Smartphone Supervisor: Dr. Jamal Kharousheh Prepared by : Hamza Qaddara Esmat Hedariya Hareth Hanani Faculty of Engineering Telecommunication.
ZigBee Calvin Choy David Kim Jason Chong Devin Galutira.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
BLUESMIRF SILVER BY MICHAEL SANCHEZ AND HECTOR REYNA.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Khaled A. Al-Utaibi  What is Arduino?  Arduino Boards  Arduino Shields  Arduino Uno Hardware.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
ZIGBEE Network Introduction Integrated with Zigbee or Bluetooth products Operation voltage : DC 7V ~ 40V. RS232 Interface Meets or Exceeds TIA/EIA-232-F.
Parallax 4x20 LCD (part number 27979) with Arduino Duemilanove
Digital Outputs LCD Display
EMBEDDED WEB SERVER. CONTENT: 1.ABSTRACT 2.INTRODUCTION TO EMBEDDED SYSTEMS 3.INTRODUCTION TO EMBEDDED WEB SERVER 4.BLOCK DIAGRAM 5.POER SUPPLY 6.COMPONENT.
Networking Components By: Michael J. Hardrick. HUB  A low cost device that sends data from one computer to all others usually operating on Layer 1 of.
Week 10 Today 1.Homework presentations and critique. 2.Review digital and analog inputs. 3.DIY - jumpers, soldering etc.
Tele-presence – Connecting Two Processing Platforms via Internet Controlling the Screen based on Distant User Input ServerClient 1.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
DEC0905 Remote Control of Home Appliances ABSTRACT The objective of this project is to enable users to remotely control home appliances and systems over.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Ultra-low cost IoT system for smart house applications Characterization Presentation Students: Sagiv Katony Asaf Luster Advisors: Evgeny Kuksin 
Remote Control of Home Appliances Using the Internet
Bluetooth Controlled Robot USART communication. This project aims in wireless control of the robot from a bluetooth app in a mobile device through USART.
Automated Industrial Wind Tunnel Controller By Daniel Monahan and Nick DeTrempe Advised by Dr. Aleksander Malinowski.
Emergency Alert System Dave Swift Zach Smith. Why EAS? Virginia Polytechnic Institute Client: Union College Campus Safety ◦Siren ◦Text Messaging ◦ .
1 of 20 Core Arduino Workshop Chris Koehler and Brian Sanders Colorado Space Grant Consortium.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
Mobile Robot Student: Tyrone Verburgt.
Samuel John Vinod Kumar CG Ganesh Raam K. Introduction  The need for health consciousness has increased in the recent past and so is the need to monitor.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
Final Year Project(EPT4046) Development of an internet controlled Surveillance Mobile Robot By Mimi Madihah Bt Mohd Idris Id: BACHELOR OF ENGINEERING.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
Microcontroller basics Embedded systems for mortals.
Final Presentation Smart-Home Smart-Switch using Arduino
Gsm Modems Based Irrigation Water Pump Controller for Illiterates
Microcontroller basics Embedded systems for mortals.
WIFI Gateway Offering Wifi connectivity to Serial device
QuickBev Group 29: Phillip Nielsen & Michael Perreux TA: Braedon Salz ECE445 Spring 2016 May 4, 2016.
ISA CLICK CONTROL #38 – FALL 2014 ERIC BRUNNGRABER DRAKE ISABIRYE.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
Application Case Study Christmas Lights Controller
Arduino.
SENSORS.
Arduino Uno – controlling LED strips
Assist. Prof. Rassim Suliyev - SDU 2017
Application Case Study Security Camera Controller
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Environment Temperature Monitor
Microcontroller basics
C# TCP/IP COMMINICATION WITH ESP8266
RAISING A PLANT LIKE A PET
Introduction to Handshaking Communication with SSC-32U
MULTIPURPOSE ROBOT Nishant Kumar Singh AJIT SINGH YADAV
INC 161 , CPE 100 Computer Programming
Arduino - Introduction
Introduction to Handshaking Communication with SSC-32
Remote Controlled Smart Socket
How to avoid catching things on fire.
IOT based Home Automation Over the Cloud
Assist. Prof. Rassim Suliyev - SDU 2018
Arduino Part 4 Let there be more light.
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino Motor Lab Inspired by NYU ITP project
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Introduction to Arduino
Lab #1: Getting Started.
Hardware Graduation Project (2) Seminar
Presentation transcript:

INTERFACING WEB SERVER WITH A ROBOT

The ESP8266 is a MICROCONTROLLER from Chinese manufacturer ESPRESSIF that includes Wi-Fi capability. It comes with an inbuilt firmware which supports serial interface and can be controlled using AT commands.  In short the ESP8266 module is a “serial to wireless internet” device.

FEATURES: 802.11 b/g/n protocol Wi-Fi direct (P2P), soft-AP Integrated TCP/IP protocol stack Supports antenna diversity Power down leakage current of < 10uA

Why esp8266?

HARDWARE CONNECTIONS The ESP8266 requires 3.3V power–do not power it with 5 volts! The ESP8266 needs to communicate via serial at 3.3V and does not have 5V tolerant inputs, so you need level conversion to communicate with a 5V microcontroller like most Arduinos use. When power is applied the red power light turns on and the blue serial indicator flickers frequently

block diagram

PIN CONFIGURATION

VCC AND GROUND CONNECTIONS The outer hub of the breadboard is Vcc and the inner hub is GND

LM 7805 PIN CONFIGURATION

Lm 7805 connections LM 7805 is a 5V voltage regulator which reduces any voltage below 32V to 5V

L293D PIN CONFIGURATION

L293D CONNECTIONS Place L293D in such a way that the notch is facing towards the right Giving 5V to Vss makes the robot move slow when compared to giving it 8V( in our case we have given 5V) Pins 1,8,9,16 are connected to Vcc of the breadboard Pins 4,5,12,13 are connected to GND of the breadboard

Arduino atmega 16 pin configuration

Arduino atmega16 connections Pin 9 of the Arduino is given to Vcc and pin 10 to the GND of the breadboard Place the Arduino such that its notch is facing the notch of L293D

INTERFACING L293D WITH ARDUINO Connect the pins 0 and 1 of the Arduino to the pins 15 and 10 of the L293D Connect the pins 24 and 25 of Arduino to the pins 2 and 7 of L293D

Motor connections Connect the left motor pins to the pins 11 and 14 of L293D Connect the right motor pins to the pins 3 and 6 of L293D

ir Sensor connections Connect the left, centre and right sensors to pins 26,27and 28 of the Arduino respectively

LM 35 PIN CONFIGURATION LM35 is a temperature sensor Connect the Vcc and GND to the breadboard and output pin to the 29th pin of the Arduino The LM35 gives analog output so we have connect it to the analog pin of the Arduino

CREATING A SERVER using esp8266

STEPS TO CONNECT THE ESP8266 Wi-Fi MODULE The Vcc (3.3V) of the ESP8266 is given to Vcc of the breadboard.(The 8V of the breadboard is reduced to 3.3V by means of a voltage regulator) The Tx and Rx pins of the ESP8266 is connected to the Rx and Tx pins of the Arduino The GND pin of the ESP8266 is given to the GND of the breadboard The RESET pin of ESP8266 should be connected to 3.3V CHPD pin should be given to 3.3V

The ESP8266 can be wired and can be programmed by using the AT commands. The wiring connections are shown

AT COMMANDS ESP8266, in it’s default configuration, boots up into serial modem mode. In this mode you can communicate with it using a set of AT commands. A set of AT commands used in this project is explained

Connect to the Wi-Fi network of the module Connect to the Wi-Fi network of the module. In our case it is AI-THINKER_FBB24A

The AT command is used to check if the system and Wi-Fi module are working correctly

The AT+RST command is used to reset the module

The AT+GMR command is used to know about the current firmware version

The AT+CIFSR command is used to return the local ip address (192. 168

The AT+CWMODE command is used to enable both client and server

the AT+CIPMUX command is used to enable multiple connections

The AT+CIPSERVER command is used to create a server

The AT+SIPSEND command is used to send messages

The message is displayed on the webpage

Thus the following AT commands used in programming the ESP8266 Wi-Fi module can be understood better by a table format. The following AT commands used for this project are shown.

algorithm Void setup() { initialize input and output pins; reset ESP8266; set mode as 3; enable multiple connections; enable server; }

Void loop() { wait for GET request; Check for obstacles; Do the necessary actions; Measure temperature using LM35; send message to the server using AT+SIPSEND command; }

Add \r \n to the command inside Serial Add \r \n to the command inside Serial.write in order to send command to the Wi-Fi module \r \n denotes carriage return(enter) For example to send the command “AT” use the command Serial.write (“AT\r\n”)