• No results found

Control And Monitoring Of Robot With Smart Phone Using Raspberry Pi

N/A
N/A
Protected

Academic year: 2022

Share "Control And Monitoring Of Robot With Smart Phone Using Raspberry Pi"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Suman B S, IJRIT-18 International Journal of Research in Information Technology(IJRIT)

www.ijrit.com ISSN 2001-5569

Control And Monitoring Of Robot With Smart Phone Using Raspberry Pi

Suman B S

M.Tech Student, Digital Electronics Srinivas Institute Of Technology

Mangalore, India sumana1ms@gmail.com

Ganapati Sharma

Associate Prof,Dept of Electronics & Communication Srinivas Institute Of Technology

Mangalore, India Sharma746@yahoo.com

Abstract—In this project control and monitoring of robot is done using internet where the robot can be controlled even if it is in the remote place. The user can control the robot from any location with the use of the internet. Out of various Human Machine Interactions the common misbelief about robot is that they are used for industrial drive only. However it is not so that they find applications in different fields extending from simple domestic routines to space considerations. There are many ways to control the robots but imagine the instance of monitoring a robot miles a away over the internet. The proposed project defines the usage of internet to control the robot from a remote end by visual feedback so that user can see the movement of the robot from anyplace.

Controlling robot without wire is very supportive for a widespread range of applications from industrial to medical fields. The purpose of the project is to develop a robot which must be controlled by a person at any time and from any place using the network. The main advantage of the project is that there is no any restricted distance is needed for running the robot.Many spent more time in internet than the average time they sleep, So with the introduction of an internet controlled robot, the industrialists can even do their work from home and when used for household applications, the user can do it from his office.

Keywords— Raspberry Pi, robot, web server, internet control.

I. LITERATURE SURVEY

Telerobotics refers to control the robot from a remote end. By this it is possible to control the motion of the robot in space directly. Internet and satellites are some of the methods of teleoperation. The internet is universal and enables the user to access any system across the world. With the use of internet it becomes an easy task to anyone to control and monitor the robot from internet.

The control of robot using web server and zigbee communication[2]. The purpose of this is to improve a robot which would be controlled by the certified person by some time and from some place by the web technology.The robot consists of DC motor which supports in plane moving of hands and offers proper control to the robot program. For proper working of the project internet connection is required and a server pc need to run on the host side to which user can access for any place in the world.

This is having ZigBee at local system connected through serial port by RS232 converter. Zigbee primarily act as wireless communication among robot and the local system and updates the data to the web server. In this paper the communication is through the ZigBee. It is not having camera for visual feedback. It is the drawback in this paper.

Functioning with home robots to turn like human can benefit those with the daily tasks[3]. Imirok, a system which distantly control robot by user motion with webcam. The gesture tracing algorithm identifies user motion in real time. The communication between human and sensor allowable home robot a home atmosphere is important in persistent computing. Identifying user motion from low-level image signals and repeat the motion on robots is technically interesting. Imirok offers an interface for

(2)

Suman B S, IJRIT-19 general users to control robots using the webcam they previously have without the need of buying precise hardware. With the use of an optical flow based gesture tracing algorithm the system will track user motion in real time without the necessity of a model training process in progress.

The system identifies user motion in real time without the need of model training earlier using the system. This paper deals with controlling of robot using the user motion which needs the to be present the place always. And this is the drawback of this paper.

The design of system is distributed into 3 parts namely- Accelerometer, Robot and Platform[4]. It is primarily an Accelerometer centred system which controls a Robot without wire using a low cost accelerometer via RF signals. The Robot is fixed over a removable platform which is also controlled wirelessly by other accelerometer. The prime aim of the design is that the robot and platform starts the movement as soon as the operator makes a gesture or posture or any motion. The Robotic arm is synchronized with the gestures (hand postures) of the operator and the platform part is synchronized with the gestures (leg postures) of the operator. Single accelerometer is attached on the human hand which capture its gestures and thus the robot travels consequently and the accelerometer is attached on the leg of the user which is captured by its gestures and accordingly the platform moves. In a outer layer the robot and platform is matched with the motions of the leg and hand of the user correspondingly. The accelerometer is used in this paper which gives the idea of using the accelerometer present in smart phone for doing the project. It uses camera for visual feedback but the robot cannot be controlled from the remote end.

II. INTRODUCTION

Moving of various Human-Machine-Interactions (HMI), hand gesture based HMI might be the most natural and spontaneous way to communicate between people and machines, since it closely relates how human interact with each other. . Its perception and naturalness have produced many applications in exploring large and complex data, computer games, virtual reality, health care, etc. Robots are the vital part of all the industries. The advantages of robot are that it can work in hazardous area and also in areas which cannot be accessed by human .Controlling a robot from anywhere is a complex issue. The robot in this project is controlled by using the internet from any end using the android phone. The phone uses the accelerometer, which is built in component in the android phone. The internet is universal and enables the user to access the systems on the global network economically. As per the present trend and technology the trend of electric home appliances is toward home networking.

One can control all household applications and can monitor the status from the remote end. Raspberry pi is a device which uses a web server on a single board. With the use of the internet it becomes an easy way to control and monitor the robot. The USB camera is used for visual feedback by providing live video streaming over the internet. Using Raspberry Pi it is possible for client computers to access the data held by the Pi server.

The work in this project introduces MATLAB and smart phone to detect the location and direction of an object in three dimensional space. The solution employed uses the phone accelerometer gaining through MATLAB. Accelerometer in mobile phones is used to detect the orientation of the phone. There by changing the orientation of the phone, the robot is controlled using the Raspberry Pi.

III. BLOCK DIAGRAM

Figure 1. Block Diagram

(3)

Suman B S, IJRIT-20

The system architecture of robot control is shown in Fig.l. The block diagram shows the system architecture . Here, the smart phone is used to control the robot using the sensor UDP App which is available in the play store. By knowing the IP address of the LAN, robot can be controlled from any system using the putty application. The camera is placed in the server side where the robot is working. The visual feedback is obtained using the IP address in any system . Here, the visual feedback is seen in the smart phone using Firefox browser by tying the IP address.

The Raspberry Pi is based on a Broadcom BCM2835 system on a chip (SoC), which incorporates an ARM1176JZF-S 700 MHz processor. The GPU used is the VideoCore IV, owned by the Broadcom. It uses an SD card for booting and for memeory as it doesn‟t have an inbuilt hard disk for storage option. A supercomputer can be made out of Raspberry Pi by stacking 64 boards together . The visual feedback is provided by the iBall 12.0 MP web camera. A USB hub is used to interface camera with Pi because it is difficult for Pi to power it up after an USB keyboard and mouse are plugged in.

Here, the Raspberry Pi is connected to the internet via LAN and the smart phone is connected to the internet via LAN or WIFI. The USB webcam provides the visual feedback necessary for monitoring the robotic arm from a remote end. Raspberry Pi needs an HDMI/VGA monitor for its display, which is here provided by the LCD projector through an HDMI connection. The robot is controlled from the client side via the visual feedback. At first, an operating system has to be set up in Raspberry Pi. The debian distribution was installed onto an SD card. The internal memory of Raspberry Pi is 512MB, so an external storage memory is required for all the operations we do in the system, from storing a data to installing an application. As Raspberry Pi is a single board computer, we need a mouse and keyboard to work, with the 2 USB ports available, it’s possible to connect the mouse and keyboard to the system. The video streaming can be enabled by using the motion software and the configuration file has to be edited in order to suit our needs for live streaming. Using a suitable editor, the web page has to be designed. A dynamic web page is created and is saved in the web server default directory /var/www.

Python is the preferred language for Raspberry Pi, but it also supports C, Java, Ruby, etc.. Python programs are written for the forward and backward motion of each joint of the arm and are linked with the PHP script. The robotic arm has 5 motors, so 3 motor driver ICs are required for the control of all the joints of the robotic arm. A triple L293 driver board which consists of three L293D motor driver ICs is designed for the control of all the motors and is interfaced with the GPIO pins of Raspberry Pi.

The enable pin should be made high for the motor to run and by changing the values of the input pins, we can change the direction of motion of the arm. Each driver IC can control a maximum of two motors. A total of 15 GPIO pins of Raspberry Pi are used for the control of all the joints of robotic arm.

Video streaming is an integral part of this project as it serves as the means by which the user can monitor the robot from a remote end, otherwise the user has no other way to determine whether the robot is moving or not, unless he is present at the local site where the robot is present. The video is out through the port 81 and can be viewed from any browser by providing the IP address in the address bar of the client browser.Once the video streaming is working perfectly, a web page is designed to integrate the video streaming with the buttons to control the arm. Buttons are created for the robot movement in forward,backward,right and left direction.

(4)

Suman B S, IJRIT-21

Figure 2. .Diagram of Raspberry Pi

The above picture shows the Raspberry Pi is a small computer about the size of a credit card. It was developed in the UK by the Raspberry Pi Foundation with the hope of inspiring a generation of learners to be creative and to discover how computers are programmed and how they function. This small computer features amazing HD (high-definition) quality video playback, sports high quality audio and has the ability to play 3D games. The device uses the ARM processor which does most of the hard work in order to run the Raspberry Pi. Even though the Raspberry Pi is a computer it does not have a hard drive like traditional computers, instead it relies on the SD card for the starting up and storing of information. For the Raspberry Pi the SD card does the same job as a hard drive does in a traditional computer. The SD card must contain the operating system, programs and the data needed to run the Raspberry Pi.

IV. FLOW CHARTS

The figure 3 and figure 4 shows the flow diagram for recognizing the movement. Reading the accelerometer from the phone when it is tilted is obtained. Using the MATLAB all orientation of the phone is determined. Orientation with higher value is choosen. Then decision is made by writing the code in MATLAB. Later, the decision signal is transmitted to Raspberry Pi. The Raspberry Pi will recognize the signal and transmit the control signal to robot to perform the action.

(5)

Suman B S, IJRIT-22 Figure 3.Flow diagram of the process

(6)

Suman B S, IJRIT-23 Figure 4.Flow diagram continued

V. RESULT AND ANALYSIS

The main aim of the project is to control the robot from remote end and to obtain the visual feedback of the working robot. In order to achieve the aim the various components areassembled to form a prototype of the designed concept and the overall assembly look of the robot is as shown below.

Figure 5.Top view of the robot

(7)

Suman B S, IJRIT-24 Figure 6 .Screen shot of putty application

Figure 7. Screen shot showing the Sensor UDP app in Smart phone

V. CONCLUSION

This project presents control and monitoring of robot using smart phone from anywhere around the world. With the help of this the concept the robot can be adopted in home automation.Any object or electrical appliances can be controlled from the remote end. By knowing the IP address from any system the video can be obtained. This is the main purpose of this project. The camera used here is the wired camera. Now a days internet is the common place to most of the people therefore,using internet controlling and monitoring of the robot will become an easy task to the people.The future work can be done by using the wireless

(8)

Suman B S, IJRIT-25 camera by placing it on robot any location where the robot works can be accessed. This needs the port forwarding technique.

Sensors can be attached to the robot so that it gives the information of that place eg: gas sensor, temperature sensor etc.

References

[1] Ron Oommen Thomas, K. Rajasekaran” Remote Monitoring and Control of Robotic Arm with Visual Feedback using Raspberry Pi”, International Journal of Computer Applications (0975 – 8887), Volume 92 – No.9, April 2014

[2]V. Ramya, B. Palaniappan, T. Akilan “Embedded System for Robotic Arm Movement Control using Web Server and ZigBee Communication”, International Conference on Research Trends in Computer Technologies, Proceedings published in International Journal of Computer Applications® (IJCA) (0975 – 8887), pg 30-34, 2013

[3] Wan MuhamadHanif Wan Kadira, Reza EzuanSaminb, Babul Salam Kader Ibrahim C. “Internet Controlled Robotic Arm”, Science Direct , International Symposium on Robotics and Intelligent Sensors , pg 1065-1071, 2012.

[4] Lung Ngai, Wyatt S. Newman, Vincenzo Liberatore, “An Experiment in Internet-Based, Human-Assisted Robotics”, Case Western Reserve University, pg-1011-1015,IEEE, 2002.

[5] Huosheng Hu, Lixiang Yu, PuiWoTsui, Quan “Internet-based Robotic Systems for Teleoperation” International Journal of Assembly Automation, Vol. 21, No. 2, pg 1-10, 2000

[6] Kuk-Hyun Han, Yong-Jae Kim, Jong-Hwan Kim and Steve Hsia, “Internet Control of Personal Robot between KAIST and UC Davis”, 2000.

[7] R.A. Kadu, Prof. V.A. More, P.P. Chitte, J.G. Rana, M.R. Bendre . “Wireless Control & Monitoring of Robotic Arm”

International Journal of Computer Technology and Electronics Engineering (IJCTEE) Volume 2, Issue 1, pg 28-38, 2010 [8] Christian Hernández, RacielPoot, Lizzie Narváez, Erika Llanes and Victor Chi “Design and Implementation of a System for Wireless Control of a Robot” International Journal of Computer Science Issues, Vol. 7, Issue 5, pg 191-197, September 2010.

[9] Lighttpd Web Server http://www.lighttpd.net

[10] Raspberry Pi Forum and Discussion page http:// www.raspberrypi.org/phpBB3.

IJCATM :

References

Related documents

Although there is no consensus regarding the criteria that should be used to indicate angiotomography for BCVI diagnosis in blunt trauma patients, we conclude that the

Furthermore, detailed histological analysis of the injured skeletal muscle stained positive for the presence of calcium as indicated by black coloration (Fig. 4d ) and possessed

The study was analyzed based on comparing the gross and net NPA‟s of five different banks for the last five years with market capitalisation of the banks and for this purpose

Name changed in the interest of confidentiality.. tenants or owners of residential units not more than 75 sq. yards in size and owned at least two or all of these

In a previous SMiRT-20 paper, four one dimensional pipe models with time dependent boundary conditions were developed to be able to predict pump pulsations throughout an

performance of the equipment, (called as damage modes, hereinafter), as a basic event. Thirdly, investment amount of the seismic countermeasures based on the entire fault tree

Previous evaluation of lymphocytes taken from patients with Wiskott-Aldrich syndrome (WAS) and other X-linked immunodeficiencies has revealed deficiencies of a