WI- FI Based Robot Controlling by Webpage Interface and ... - IJETAE

2 downloads 818 Views 271KB Size Report
Keyword- Wi- Fi Robot, PIC Microcontroller, webpage interface, Education .... client device with a standard SPI interface to a host processor or data source.
International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 5, Issue 4, April 2015)

WI- FI Based Robot Controlling by Webpage Interface and Video Monitoring Mohammed Saquib Khan1, Ataur Rehman Khan2, Altamash Khan3, Akmal Kalia4, Lochan Bisne5 1,2,3,4

Students, Department of Electronics and Telecommunication, Theem College of Engineering, Boisar, India Assistant Professor, Department of Electronics and Telecommunication, Theem College of Engineering, Boisar, India

5

A Wireless Camera mounted on the Robot captures the video and transmits it to the client, which gives the current position of the robot. Based on that video we can determine whether we need to move the robot forward or backward. Keys pattern are designed on a webpage through which the robot will be controlled.

Abstract- Robot controlling through Wi- Fi is an interesting tool to perform laboratory experiments within Electronics and Telecommunication Engineering. Designing of the system requires the knowledge of physical components, sensors, embedded system and decision algorithm. As we know humans cannot perform many task which a Robot can do. Robots are required where human interventions are nearly impossible. Due to this, a concept of designing a robot which can be controlled through Wi- Fi emerged in our minds. Here controls of the robot are integrated on a webpage. This project comprises of basically three modules Wi- fi Module, Router, Microcontroller which handles all basic functionalities of a Robot.

II. SYSTEM OVERVIEW

Keyword- Wi- Fi Robot, PIC Microcontroller, webpage interface, Education

I. INTRODUCTION Wi-Fi technologies are supported by nearly every modern personal computer operating system, most advanced game consoles and laptops, and many printers and other peripherals [2]. Wi-Fi technology expanded to next level because Wi-Fi connection not only use to surf internet but Wi-Fi connection can be used to control home appliances such as television, stereo, room lighting, alarm and many more appliances wirelessly [1]. The devices are completely autonomous, do not emit noise at work and have extensive features that make the surveillance as convenient as possible even for sucking users. The small sizes that the digital recorder has allow it not only to install in any room, but even if necessary – in the car[3]. Hence it is possible to control a robot using a Wi-Fi connection. Here we are using non- autonomous Robot. On the robot, a Wi-Fi module is mounted which is interfaced with a PIC microcontroller [4]. A controller is a client sitting on a computer or a laptop in range of Wi-Fi administers the robot. Whenever a client sends the control signal, it is transmitted wirelessly and is captured by the Wi-Fi module mounted on the robot. This signal is transmitted to microcontroller attached to it. Microcontroller analyze this signal and it takes appropriate action to rotate the motor i.e., either clockwise or anticlockwise. Due to this we can control the movement of robot either in forward or backward left or right directions.

Fig 1. Block Diagram

PIC Microcontroller is the heart of the system including Wi- Fi Technology. A regulated Power Supply is used to give supply to the microcontroller which is required for the operation of microcontroller. Another power supply which is a DC power supply used to drive the motor driver IC. As microcontroller receives the signal from Wi- Fi Module it decodes the signals using the code which is burned in the microcontroller. The different Signals are for Forward, Reverse, Right and Left motion of the vehicle and the signal for video transmission. There is a reset circuit for reset of the microcontroller and crystal oscillator for providing clock to the microcontroller. III. MATERIALS REQUIRED 1) Wireless Router, 2) Wireless Receiver (Wi- Fi Module)

447

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 5, Issue 4, April 2015) 3) 4) 5) 6) 7) 8) 9)

Wireless Camera or IP Camera Microcontroller (PIC16F73) Acrylics Sheets Plastic Sheet Motors (No: 2) Batteries Chassis.

Special features of this microcontroller are Power- on Reset (POR), Power- up Timer (PWRT), Watchdog Timer (WDT), Programmable code protection, Power saving SLEEP mode etc. Certain Peripheral features are two 8- bit Timer, one 16- bit Timer, Two capture compare PWM module, 8- bit Analog to Digital converter, Synchronous Serial Port (SSP), Universal Synchronous, Asynchronous Receiver Transmitter (USART/SCI) [4].

IV. H ARDWARE DESIGN

B. Motor Controller L293D IC is used to drive 2 geared motors. L293D is a dual H- bridge motor driver integrated circuit (IC). It contains two inbuilt H- bridge driver circuits. Here in this robot we are using it in common mode where two DC motors can be driven simultaneously, both in forward and reverse direction. The motor operations of two motors will be controlled by a webpage. When forward button is pressed logic 01 will be send to driver circuit through microcontroller and for reverse 10 will be send [5]. Similarly when stop button is pressed logic 00 or 11 will be send for corresponding motors. Enables pins 1 and 9 must be high for motors to start operating [5]. S1 0 0 1 1

Fig 2. The Wi- Fi Enabled Robot

A robotic chassis kit is used to form the base of the robot; it is made of the aluminum alloy and weight approximately 500g. It supports all the hardware components used in the robot such as the Wi-Fi module batteries for the motor as well as for the camera. The chassis platform is suitable for the robot as we have already fabricated circuit boards, sensors on the platform. In the design we have two layers at upper layer it contains the layout and the lower layer contains the two individual driver motors and a voltage sensor. Microcontroller, motor controller and power supply are also placed in the first layer. The second layer is mounted above the first upper layer. The camera is attached at the front end in the lower layer of the chassis.

S2 0 1 0 1

Result Stop Forward Reverse Stop

D. Wireless Camera It is hard to imagine a modern office or commercial enterprise without CCTV, which can be carried out as secretly, as openly. Convenience of current surveillance systems is that the wireless camera can be installed in any place, regardless of the source of electricity. The modern wireless camera – is a miniature camcorder, the size of which allows installing it secretly in any room. In this case, the camera will transmit not only images but also sound. Wireless camera can operate for a few hours. Information from a tiny video camera goes to the receiver, and you can watch it through a DVR, VCR, computer or television, in real time and record mode. 2.4G wireless mini A/V Camera is used in the robot. It has 1/3, 1/4 picture sensor. The systems it contains are PAL/CCIR NTSC/EIA. When the camera is on by connecting the 9V battery the signal is transmitted with the help of the Wireless video Transmitter. It uses Electronic Frequency Modulation. The sensitivity of the receiver is +18dB and receiving frequency is 0.9G/1.2G. The power consumption is ≤ 400mW.

A. Microcontroller PIC16F73 microcontroller is used in this Robot. It has high performance RISC CPU which has only 35 single word instructions to learn. Its operating speed is 20 MHz clock input and 200ns instruction cycle [4]. It is added with features like up to 8K x 14 words of Flash Program Memory, up to 368 x 8 bytes of Data Memory (RAM), eight level deep hardware stack [4].

448

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 5, Issue 4, April 2015) Video and audio output can be seen on any Television system. For getting video on laptop for pc we require TV tuner card.

This IC sends a signal to the motor driver IC L293D which drives the motor forward, reverse and steer accordingly. When Forward key is pressed microcontroller gives signals to motor driver IC which drives the motor in forward direction and similar operations for other controls.

E. WI-FI-Module GHI’s .NET Micro frame work module provide Wi-Fi support through RS9110-N-11-21-01 Wi-Fi Module This allows over real socket connection over Wi-Fi such as with EMX module you can open up to 127 TCP/UDP sockets simultaneously with SSL security. This is not a simple Wi-Fi-Serial bridge commonly used on simple embedded systems [2]. This module is a complete IEEE 802.11 b/g/n Wi-Fi client device with a standard SPI interface to a host processor or data source. It integrates a MAC, baseband processor, RF transceiver with power amplifier, a frequency reference, an antenna, and all WLAN protocol and configuration functionality in embedded firmware to provide a self-contained 802.11n WLAN solution for a variety of applications [2]

VI. SOFTWARE DESIGN The robot contains multiple devices and subsystems such as the drive control, sensors, control and buzzer, Awaken feature systems. The hardware connects these subsystems physically but software is required to communicate logically between them. This section describes the software details for each of the hardware systems. A. WEBPAGE Buttons are designed on a webpage which are programmed to perform certain action on press. Buttons are forward, reverse, left, right, stop, ON and OFF. Each button functions as the name suggest. When button is pressed corresponding signal will pass through wi- fi and will be received by robot through wi- fi module. Wi- fi module forwards it to microcontroller and microcontroller will perform corresponding operation. Microcontroller is burned by a program in which functions like forward, reverse etc are given.

V. W ORKING

B. Microcontroller Programming Program is compiled using compiler and hex file is created which is burned with the help of IC burner in microcontroller. Program for operations like forward, reverse, left, right and stop movements has been written. VII. ADVANTAGES 1) 2) 3) 4)

Fig 3. Custom Webpage

Above is the Webpage through which the Robot is controlled. Laptop and wi- fi module are connected in same WLAN and an ip is taken automatically by wi- fi module on robot. This ip has to be written on a web browser and above page will be open up. This custom webpage includes all keys for operation. There are keys namely Forward, Reverse, Left, Right, Stop and ON/OFF. When any key is pressed a signal from wi- fi router is transmitted and received by wi- fi module mounted on robot. The signal processed by microcontroller.

Cost effective No line of sight required Easy to operate Highly Stable VIII. D ISADVANTAGES

Limited range but can be increased by internet. IX. CONCLUSION Controller program is designed so as to enable the microcontroller to control robot using Wi-Fi technology. Webpage with different controls are designed for operation of the robot. Interfacing of Wi- fi module and Microcontroller has been done.

449

International Journal of Emerging Technology and Advanced Engineering Website: www.ijetae.com (ISSN 2250-2459, ISO 9001:2008 Certified Journal, Volume 5, Issue 4, April 2015) [2]

This robot can be proven as a boon for surveillance in a factory or industry as well as for military purpose.

[3]

X. RESULT The Robot is tested and found working in all aspects. There is no delay in operation and found quick response. Robot is easily controlled by webpage. The project is accomplished with the help of KEIL compiler And ISP programmer.

[4] [5]

REFERENCES [1]

[6]

Raymond J. Smith (2003). “Wi- Fi Home Networking”. New York, NY. McGraw-Hill

450

Houda Laboid, Hossam Afifi, Costantino De Santis (2007). “Wi-Fi TM, Bluetooth TM, ZigBee TM and WiMax TM”. Pavan.C, Dr. B. Sivakumar “Wi-Fi ROBOT FOR VIDEO MONITORING & SURVEILLANCE SYSTEM” International Journal of Scientific & Engineering Research Volume 3, Issue 8, August-2012. M. A. Mazidi. “PIC Microcontroller and embedded systems”. ISBN 978-81-317-1675-5 Second edition 2009. Pavan. C, Dr. B. Sivakumar: Wi-Fi ROBOT FOR VIDEO MONITORING & SURVEILLANCE SYSTEM International Journal of Scientific & Engineering Research Volume 3, Issue 8, August-2012 1 ISSN 2229-5518 National conference on Machine Intelligence Research and Advancement (NCMIRA, 12)