Wireless Video Surveillance Robot Controlled using Simple

Wireless Video Surveillance Robot Controlled using Simple
Volume 6, No. 2, March-April 2015
International Journal of Advanced Research in Computer Science
Available Online at www.ijarcs.info
Wireless Video Surveillance Robot Controlled using Simple Bluetooth Android Application
Shoeb Maroof Shaikh
Khan Sufiyan
Computer engineering
Panvel, India
Computer engineering
Panvel, India
Asgar Ali
Mir Ibrahim
Computer engineering
Panvel, India
Computer engineering
Panvel, India
Prof. Kalpana Bodke
Assistant Professor, Computer Engineer
Panvel, India
Abstract: Controlling a robot by remote is quite common for now-a-days, if we claim for controlling a robot by wireless medium which is your
android phone, sounds impressive, and if we says that the controlling can be done without tracking a robot by eyes; we are providing a idea of
video streaming to controls a robot.
This prototype of our proposed system uses a wireless-networking standard technology called Bluetooth. An Android application designed to
control the robot actions via Bluetooth connection is another step forward and includes video streaming by wireless cameras to track the robots.
For possible communication between two systems one is a smart device which runs on Android OS, while another is a robot build on Arduino
Uno board. The both systems are interconnected with each other by Bluetooth module attached to robot. The android application is able to send
data over Bluetooth module according to the the application features, sensors, and touch screen. Android device are uses Bluetooth service on
Serial Port Profile (SPP) connection to control the robot.
Keywords: Arduino board, streaming, wireless, Bluetooth, Serial Port Profile (SPP), Surveillance, Remote, Wi-Fi
In this paper we mainly focus on the android App which
remotely controls the robot by inputting the video by
directional commands of move and the commands are serially
transmits to robot via Bluetooth module attached with the
robot build on Arduino board.
On the robot side, you have to add a Bluetooth module
connected to the robot controller. The Bluetooth module is a
small device designed to transmit data between peripheral
devices. In other words, this small device is able to
synchronize the I/O data between the robot and the Android
device. [1]
In this paper we are going to go over building a Arduino robot
that can be controlled via Bluetooth with an Android
phone/tablet. The following is the list of components we are
going to use:
© 2015-19, IJARCS All Rights Reserved
L293D motor driver
Arduino Mega
Bluetooth module
Android phone or tablet
Apart from the list of parts for the robot you are going to need
these basic things to build and program your robot
1. Computer with the Arduino IDE and Eclipse Luna
2. Soldering iron
3. Some solder and wires
Also, the second and important part of our proposed system is
wireless video streaming. In streaming, the video content sent
in compressed form over the wireless transmission medium
and displayed by the viewer in real time on the android
With streaming video, a user does not have to wait to
download a file to play it. Instead, the media is transferred in a
Shoeb Maroof Shaikh et al, International Journal of Advanced Research in Computer Science, 6 (2), March- April, 2015,100-103
continuous stream of data and is played as it arrives on the
android application. [2]
The Arduino sketch makes use of the SoftwareSerial library to
communicate via two digital pins to the bluetooth device.
You will need to make sure that the SoftwareSerial baud rate is
set to match the baud rate of your bluetooth device. [6]
After the assembly of your robot chassis and soldered your
motor driver and Bluetooth module, the next step is to wire up
your Arduino board to the motor drivers and chassis.
Given below is the arduino sketch used on the arduino board.
If you already have a robot platform and you have plans to
control wirelessly the robot, you can use HC-05 Serial
Bluetooth Module.
SoftwareSerial blue(8, 9);
HC-05 Serial Bluetooth Module – It has a signal range 30
feet; this wireless module is cheap and easy to use. [3]
A large community of Android developers applies their
programming skills on several software development tools with
support for fast debugging. Using these tools, it is the shortest
way to build easily and in minutes any Android application
able to control remotely a robot. In the following, we explore
several development tools that can be easily used to develop
Android application.
Android SDK – the first and the best development platform is
and will be the Android development kit. [4]
Bluetooth – before starting to build any application, it is good
to know the Android Bluetooth APIs.
The Android platform includes support for the Bluetooth
network stack, which allows a device to exchange data with
other Bluetooth devices wirelessly. This application framework
provides access to the Bluetooth functionality through the
Android Bluetooth APIs. These APIs let applications connect
to other Bluetooth devices wirelessly, enabling point-to-point
and multipoint wireless features. [5]
Using the Bluetooth APIs, an Android application can perform
the following tasks:
Scan for available Bluetooth devices
It asks the local Bluetooth adapter for paired
Bluetooth devices
Establish the RFCOMM channels
It connects to other devices through the service
discovery mode
Transfer data to and from devices via Bluetooth
Manage multiple Bluetooth connections
© 2015-19, IJARCS All Rights Reserved
//Initialization part
void setup()
//Declaring the output pins
void loop()
//Code for the driving the motors
We use the Android Bluetooth APIs to accomplish the four
major tasks necessary to communicate using Bluetooth: setting
up Bluetooth, finding devices that are either paired or available
in the local area, connecting devices, and transferring data
between devices.
All of the Bluetooth APIs are available in the
android.bluetooth package. [5]
//The most important API included is:
import android.bluetooth.BluetoothAdapter;
//various methods used are:
public void onResume() {
//first of all, we check if there is bluetooth on the phone
mBluetoothAdapter =
if (mBluetoothAdapter == null) {
// Device does not support Bluetooth
Log.v(TAG, "Device does not support Bluetooth");
//Device supports BT
if (!mBluetoothAdapter.isEnabled()){
//if Bluetooth not activated, then request it
Intent enableBtIntent = new
//BT activated, then initiate the BtInterface object to
handle all BT communication
Shoeb Maroof Shaikh et al, International Journal of Advanced Research in Computer Science, 6 (2), March- April, 2015,100-103
bt = new BtInterface(handlerStatus,
//called only if the BT is not already activated, in order to
activate it
protected void onActivityResult(int requestCode, int
resultCode, Intent moreData){
if (requestCode == REQUEST_ENABLE_BT){
if (resultCode == Activity.RESULT_OK){
//BT activated, then initiate the
BtInterface object to handle all BT communication
bt = new
BtInterface(handlerStatus, handler);
else if (resultCode ==
Log.v(TAG, "BT not activated");
Log.v(TAG, "result code not
Log.v(TAG, "request code not known");
//handles the clicks on various parts of the screen
//all buttons launch a function from the BtInterface
public void onClick(View v) {
//Code for sending the characters to the Bluetooth
module on the arduino
Figure1: Proposed Robot Prototype
Once connection is successfully established, the user can send
controlling commands through the GUI of the android
application. The command sent via the mobile application is
received by the Bluetooth module which transmits it through
serial communication to the Arduino board.
The Arduino board processes the commands and provides the
appropriate output to the motor driver shield L293 D. The
motor driver shield provides the required power to the motors
according to the given commands. [7]
The android application simultaneously provides the live video
streaming using the network camera or android mobile devices
mounted on the robot. [2]
Arduino board is used for the robot. Bluetooth module named
'HC-05' is connected to the Arduino board. The android
application establishes a connection with the Bluetooth module
on the Arduino board.
Figure2: Screenshot of the android application
© 2015-19, IJARCS All Rights Reserved
Shoeb Maroof Shaikh et al, International Journal of Advanced Research in Computer Science, 6 (2), March- April, 2015,100-103
The existing wireless surveillance systems are stationary and
can't be used for many critical applications. The controlling of
such surveillance systems are very tedious, out dated and time
It can be used as a Surveillance System which can be
controlled wirelessly
It can be remotely controlled from far
It requires less Man Power.
It can be used for critical situations like flood, disposal
of bombs, Fire Fighting, Terrorist attack, Earth quake,
We have successfully implemented the working of the wireless
video surveillance robot controlled using a simple android
mobile device. The robot is successfully controlled using the
android application through Bluetooth. The real time video feed
is successfully achieved using the Wi-Fi technology on our
designed android application.
© 2015-19, IJARCS All Rights Reserved
Surveillance Robot Using Arduino Microcontroller,
Android APIs and the Internet, First International
Conference on Systems Informatics, Modelling and
Simulation, 2014.
bcam&hl=en, February 2012.Indoor Surveillance Security
Robot with a Self-Propelled Patrolling Vehicle, Volume
2011, Article ID 197105.
HC – 05 Datasheet [Web] : http://www.tec.reutlingenuniversity.de/uploads/media/DatenblattHC-05_BTModul.pdf
Android Developers Site API Guides [Web]:
Android Developers Site API Guides [Web]:
ml, October 2012
http://arduino.cc/en/Main/arduinoBoardUno, September
L293D Datasheet- Texas Instruments – Quadruple HalfH
293D.html, October 2012
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF