Beruflich Dokumente
Kultur Dokumente
BACHELOR OF TECHNOLOGY
in
ELECTRONICS AND COMMUNICATION ENGINEERING
Submitted by
SK.RIZWANA AFREEN - 15FE1A04E1
SK.KHAJA MOIN - 15FE1A04D6
CERTIFICATE
External Examiner
ACKNOWLEDGEMENT
We are most thankful to our parents who stood as pillars of motivation and for the
way they influenced and moulded our lives.
We are more thankful to our chairman Dr. LAVU RATHAIAH who helped us to
have a technical incubation by providing the required infrastructure.
We are very much thankful to our principal Dr. K.PHANEENDRA KUMAR who
extended a timely help at each and every step of our academic career.
We are very thankful to our Head of the department Mr. M.SUMAN an amicable
person who supported us very much and helped to a maximum extent and made this project
successful.
We are heartily thankful to our project guide Mr. B.HARISH, Assistant Professor,
the person with vibrant knowledge and amicable by nature who laid a best guide lines and for
the efforts made by her to make the project a successful one.
Finally, we are thankful to each and every faculty members both technical and non -
technical, friends and all the persons who helped us directly or indirectly in making our
project a successful one.
Project Associates
We hereby declare that the work described in this project work, entitled
“IMPLEMENTATION OF CAMOUFLAGE TECHNUQUE BASED MULTI
FUNCTIONAL ARMY ROBOT” which is submitted by us in partial fulfilment for the
award of Bachelor of Technology (B.Tech) in the Department of Electronics &
communication Engineering to the Vignan’s Lara Institute of Technology and science
affiliated to Jawaharlal Nehru Technological University Kakinada, Kakinada, Andhra
Pradesh, is the result of work done by us under the guidance of Mr. B.HARISH, Assistant
Professor, in the department ECE.
The work is original and has not been submitted for any Degree/Diploma of this or
any other university.
Signature
Place:Vadlamudi.
Date:
ABSTRACT
In today’s era, lot of expenses are made in the field of defence for the sake of adopting
primitive security measures for safeguarding the border from the trespassers. Some military
organizations utilizes robot in the risk prone areas which are very much effective and
efficient when compared to the army men. But these robots cannot hide their existence from
outside world and can be easily detected by enemies. In order to overcome this problem
camouflage technique based multifunctional army robot was implemented.
The main intention of this system is to get camouflaged to hide its existence from
the outside world and can quietly enter into enemy area and send us the information via
camera. The proposed architecture consists of Arduino Mega, NodeMCU, Color sensor,
LED,IR sensor, Gas sensor, DC motors.
Arduino Microcontroller will guide the output devices by taking the input signals
from the sensors. The color that is sensed by the color sensor as the robot moves according to
the command given to it through BLYNK tool, the LED will glow with suitable intensity and
match with ground color. After reacting with color filter on receiving light reflected by
ground, photodiode generates a signal which is analyzed in terms of frequencies and then it
gives the color of ground. The controllers are designed in the BLYNK app to manage the
movement which in turn drive the robot in any required direction. When IR sensor detects the
obstacle, the respective controller in BLYNK app switches to high state. Similarly when gas
is detected it will be shown by their respective controller in BLYNK app. Live video
streaming from the robot end is received using Alfred android app. Thus, the robot which
will change its color according to surrounding surfaces and can easily be hidden from
enemies to keep the information confidential and use of camera will help us to keep eye on
enemy territory.
i
INDEX
CONTENTS PAGE NO.
ABSTRACT i
LIST OF FIGURES v
LIST OF TABLES vi
ABSTRACT vii
2.1 Journals 4
3.1 Objective 6
3.3 Description 7
3.4 Advantages 8
3.5 Disadvantages 8
3.6 Applications 8
4.3 Working 10
4.5 Applications 10
ii
5.1.1 Overview 11
5.1.2 Power 11
5.1.3 Memory 12
5.1.5 Communication 13
5.1.6 Programming 14
5.2 NodeMCU 14
5.2.1 Features 14
5.2.3 Specifications 15
5.2.4 ESP8266 16
5.2.4.1 Specifications 16
5.2.4.5.1 MCU 19
5.3.1 Description 20
5.3.3 Features 22
iii
5.3.5 Application Information 23
5.4.2 Features 26
5.4.4 Characteristics 28
5.4.5 Applications 28
5.5 IR sensor 28
5.5.1 Features 29
5.5.2 Specifications 29
5.5.4 Applications 30
5.6.2 Specifications 31
5.6.3 Features 32
5.6.4 Applications 32
iv
5.7 L293D Motor driver IC 33
5.7.3 Features 35
5.7.4 Applications 37
6.2 Embedded C 40
6.3.2 Features 44
CONCLUSION 54
FUTURE SCOPE 55
REFERENCES 56
APPENDIX 57-63
v
LIST OF FIGURES
vi
Fig. 6.4 Creating New project 46
vii
LIST OF TABLES
viii
ix
IMPLEMENTATION OF CAMOUFLAGE TECHNIQUE BASED MULTIFUNCTIONAL ARMY
ROBOT
CHAPTER-1
INTRODUCTION
1.1 Robot
Science is developing new technologies to ease human life. One such invention of this
technology is specialized robots in the field of Artificial Intelligence. The word robot means
“A machine capable of carrying out a complex series of actions automatically, especially one
programmable by a computer”. These robots help to make human life much easier especially
in dangerous areas & works.
One of the concern areas of today is the military. Military robots are specially used to
take the risky job which is difficult to be handled manually by humans. These robots act as
the assistant of a soldier. Today, many military organizations take the help of military robots
to perform risky jobs due to their accuracy of performing the jobs. The military has
recognized that automatic devices are far more efficient than the use of human soldiers, as
there is a reduced risk of mistakes and the devices can also be equipped with powerful
weapons. The military has recognized another advantage, too: more and more robots can do
dangerous work that was previously undertaken by humans. The use of robots for such tasks
makes a soldier’s work much more secure it can even saves lives.
There are different kinds of robots that are specifically employed for doing special tasks
in military applications. In military services, there are some areas in which some of the tasks
involve greater risk and danger, and therefore, those tasks must be performed without
military personnel, solely by the robots.
The military is unquestionably the first user of new technologies and developments, in
technique, and is also, very often, the booster for new developments, when it becomes
necessary to invent new technologies for military systems. Many basic technologies, which
were used in the military for the first time, have become part of the industrial robot today.
However, the definition of military robotics and industrial robotics is still very different. The
military has specific, robotized equipment, whereas, in industrial terms, the robot is more of
an intelligent, flexible, mass production machine. In the future, the use of industrial robots for
military applications will become ever more possible. Price and development of the technical
abilities of the modern robot will increase the interest of military users. The reasons for this
replacement are, as follows: quality, cost and humanization; however, using a different
approach in each field.
Military robots are related to very different applications and differ to those robots that
are used for industrial production, in a way that they do not produce things, but have to
interact in warfare. The concept, however, is the same; a device has to fulfill some tasks
automatically to qualify as a robot. In military terms, technology focuses on the control of
missiles and vehicles in order to have unmanned devices that are either tele-operated or that
find their way, automatically guided by laser beams or GPS satellites. Today, military robots
can be divided into several categories: guided missiles; military spacecraft; unmanned aerial
vehicles (UAV); unmanned ground vehicles (UGV); remotely operated vehicles (ROV); and
autonomous underwater vehicles (AUV).
The intercontinental ballistic missiles are very large type of rocket with guidance
systems. In fact, various combat situations require different types, depending on where the
missiles are launched, for what kind of aims they are determined and on how they fly – in a
ballistic curve or self-propelled. Two systems were used; laser-guided missiles and so-called
cruise missiles, which find their way by comparing the terrain with digital photographs of it.
From this point on, soldiers were able to control such missiles from a safe distance by
programming them before the take-off. Due to exact surveillance and precise laser marks, the
precision of the missiles was remarkably good.
In space, the military is present with satellites, which are basically robotic space crafts
that orbit around the earth. Such satellites perform a wide range of military purposes,
reaching from missile surveillance over navigation to intelligence gathering, which makes
them similar to a military scout that gets all the necessary information for further military
actions.
Unmanned vehicles are important instruments in modern warfare. The most widely
spread, the so-called drones, are predominantly used for surveillance. These small aircrafts
can take pictures of a region without being recognized as large planes. If an enemy shoots the
drone down, the loss is relatively small and, more importantly, does not harm any humans.
Both drones and unmanned ground vehicles can also be used as weapons. Soldiers can
control the bomb and gun carrying devices via satellite and do fear human casualties on their
own side.
ROV stands for remotely operated vehicle; ROVs are unoccupied, highly
maneuverable underwater robots operated by someone at the water surface. Remotely
operated vehicles, or ROVs, allow us to explore the ocean without actually being in the
ocean.These underwater robots are controlled by a person typically on a surface vessel, using
a joystick in a similar way that you would play a video game. A group of cables, or tether,
connects the ROV to the ship, sending electrical signals back and forth between the operator
and the vehicle. Most ROVs are equipped with at least a still camera, video camera, and
lights, meaning that they can transmit images and video back to the ship.
CHAPTER 2
LITERATURE SURVEY
2.1 Journals
Unmanned multi-functional robot using zigbee adopter network for defense application
Now-a-days in military, there has been a huge development as compare to those
robots used in earlier times. Today, military ground robots & unmanned vehicles are used
worldwide. However, the significant growth of the current military robots comes as the
nature of combat changes in every region while the globally integrated enterprise replaces
nationalistic dominance. It can be said that military robot automation of the defense process
is the next wave of military evolution. This proposed system gives an exposure to design a
simple robot that can be used to do multifunction in defense. Manual control is also employed
to control the robot from the control room which is located far away from the border area.
The system uses non-commercial Zigbee standard for wireless communication . This system
is aimed towards the Zigbee technology up to 30 meters distance. This also helps on remote
bomb detonation and diffusion. In this proposed system, a military robot is designed to detect
the unknown person in border area, gag leakage detection, bomb detection and diffusion.
Zigbee wireless sensor network is used to send the data’s to the host system wirelessly. All
these functions are done automatically or manually with the help of Lab view software which
is to be installed in host system.
of multiple colors – the various colors it drives over. On the other hand, also created a system
which can receive and decipher information received from the Smart phone using Blue-tooth
to further pilot motors which in turn drive the robot in any required direction . Furthermore,
Camera is attached to show the real time data wireless through RF, Gas sensor to detect toxic
gas, Metal sensor to detect metal arm and weapons if any, PIR sensor to detect human
intruders or soldiers beneath the earth, LCD display to display the detected parameter. The
robot is being camouflaged and is controlled from afar an object. So, in the Defense sector,
such a Robot would allow the vehicles having large size to be camouflaged in fact,
Camouflage is essential in the army missions. Besides, in the Intelligence sector, we could
use spying robots like drones.
But use of Blue-tooth module has many disadvantages such as it can lose connection
in certain conditions, it has low bandwidth as compared to Wi-Fi, it allows only short range
communication between devices, security is a very key aspect as it can be hacked.
Camouflage Color Changing Robot For Military Purpose
Human life comes to risk at places where human being cannot survive, war fields,
high altitude areas, etc. As human’s life is always prior than anything else, the proposed robot
is substitution to human life wherein it acts as a security.
Camouflage robot is solution for reducing human losses in military operations or
terrorist attacks. They play major role in saving human lives. The proposed system analyzes
the surrounding area and also provides live footage to the observer. Camouflage Robot acts
as a virtual spy and can be sent into the strategic locations of military importance for
observation and warfare purpose. The proposed system consists of one colour sensor camera
as part of camouflaging feature and other camera for surveillance purpose. Colour sensor
camera senses the colour of surface and according to that robot will change its colour.
Because of this feature this robot can’t be easily detected by enemies and also used Wireless
transceiver for communication between transmitter and receiver. This robot can quietly enter
into enemy area and send us the information via camera. The movement of this robot is
wirelessly controlled computer. Since human life is always valuable, these robots are the
substitution of soldiers in war areas.
CHAPTER 3
EXISTING SYSTEM
Design and Implementation of Multi Purpose Robot for Military
Application
3.1 Objective
The main objective of this sytem is to design a robot which is capable of detecting
human beings and land mines in its path and which is wirelessly controlled through PC using
Zigbee technology and the live images of the war field can be seen on the TV.
3.2 Block Diagram of existing system
RS232 Target
Zigbee
Interfacing system(LASER)
Motor DC
Metal detection sensor
Driver Motors
Micro
PIR Sensor Controller Crystal
PIC Oscillator
16F877A
Battery LED
9V Indicators
s
Buzzer
AV Video
Transmitt Camera
er
Battery 9V
PC RS232 Zigbee
Interfacing
Power Supply
TV AV Receiver
3.3 Description
This prototype of military robot is used in war fields to know about the status of the
enemies around that area. It monitors the area in various positions with a camera by
controlling the Robot with the help of PC commands using Zigbee wireless communication.
This Robot makes use of a micro controller, which is programmed, with the help of
embedded C instructions. This Microcontroller is capable of communicating with input and
output modules. The controller is interfaced with dc motors, which are fixed to the Robot to
control the direction of the Robot. the robot moves according to the instructions given by
Computer.
Whenever the user presses a button in the PC, the data related to that button is sent
through Zigbee module interfaced to PC. This data will be received by the Zigbee module in
the robot system and feds this to Microcontroller which judges the relevant task to the
information received and acts accordingly.
The Robot has PIR sensor which will detect the intruder or an unauthorized person.
Metal detection sensor is also present to detect any land mines present under the ground.
When a land mine is detected, the Robot will stop and displays a command “metal detected”
on the PC through Zigbee.
This robot also shoots using the laser light.The live images from the camera in the
robot system can be sent to TV through AV system.
3.4 Advantages
3.5 Disadvantages
Limited distance.
Low range
Setting up of communication between robot and rescue control unit
Noisy wireless communication link between robot and control unit ultimately stopped
robot to function
3.6 Applications
CHAPTER 4
PROPOSED SYSTEM
4.1 Objective
The main objective of the proposed system is to implement a robot which is based on
camouflage technology to minimize the number of human losses. It changes its color with
respect to surface. It can be controlled by smart phone using internet of things.
RGB
LED
DC Motor Motor DC
motor driver driver Motor
circuit ciruit
r
Color
Arduino Mega sensor
IR
2560
sensor
Node
MCU
Gas
sensor
Block diagram consists of Arduino Mega, Node MCU, Color sensor, IR sensor, Gas sensor,
RGB LED , DC motors, Driver circuit, Power supply and Camera. And BLYNK APP which
is used to control the movement of the robot and even the output parameters are displayed
using the BLYNK Platform.
4.3 Working
2. The color sensor detects the surface color and the Arduino mega controller of robot then
will process the received data and will turn on the LED according to the color received.
3. When IR sensor detects the obstacle, the respective controller in BLYNK app switches to
high state. Similarly when gas detected it will be shown by the respective controller.
4. Live video streaming from the robot end is received using app.
Hardware Tools:
Arduino Mega
Node MCU
Color sensor
IR sensor
Gas sensor
RGB LED
Driver motor circuit
DC Motors
Software Tools:
Arduino IDE software
BLYNK APP
4.5 Applications
CHAPTER 5
HARDWARE IMPLEMENTATION
5.1.1 Overview
5.1.2 Power
The Arduino Mega can be powered via the USB connection or with an external power
supply. The power source is selected automatically. External (non-USB) power can come
either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by
plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can
be inserted in the Gnd and Vin pin headers of the POWER connector. The board can operate
on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may
supply less than five volts and the board may be unstable. If using more than 12V, the voltage
regulator may overheat and damage the board. The recommended range is 7 to 12 volts. The
Mega2560 differs from all preceding boards in that it does not use the FTDI USB-to-serial
driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial converter.
● VIN The input voltage to the Arduino board when it's using an external power source (as
opposed to 5 volts from the USB connection or other regulated power source). You can
supply voltage through this pin, or, if supplying voltage via the power jack, access it through
this pin.
5.1.3 Memory
The ATmega2560 has 256 KB of flash memory for storing code (of which 8 KB is
used for the boot loader), 8 KB of SRAM and 4 KB of EEPROM
Each of the 54 digital pins on the Mega can be used as an input or output, using
pinMode() , digitalWrite(), and digitalRead() functions. They operate at 5 volts. Each pin can
provide or receive a maximum of 40 mA and has an internal pull-up resistor (disconnected by
default) of 20-50 kOhms. In addition, some pins have specialized functions:
● Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX);
Serial 3: 15 (RX) and 14 (TX). Used to receive (RX) and transmit (TX) TTL serial data. Pins
0 and 1 are also connected to the corresponding pins of the ATmega8U2 USB-to-TTL Serial
chip.
● External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20
(interrupt 3), and 21 (interrupt 2). These pins can be configured to trigger an interrupt on a
low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for
details.
● PWM: 0 to 13. Provide 8-bit PWM output with the analogWrite() function.
● SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication
using the SPI library. The SPI pins are also broken out on the ICSP header, which is
physically compatible with the Uno, Duemilanove and Diecimila.
● LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value,
the LED is on, when the pin is LOW, it's off.
● I2C: 20 (SDA) and 21 (SCL). Support I2C (TWI) communication using the Wire library
(documentation on the Wiring website). Note that these pins are not in the same location as
the I2C pins on the Duemilanove or Diecimila.
The Mega2560 has 16 analog inputs, each of which provide 10 bits of resolution (i.e. 1024
different values). By default they measure from ground to 5 volts, though is it possible to
change the upper end of their range using the AREF pin and analogReference() function.
There are a couple of other pins on the board:
● AREF Reference voltage for the analog inputs. Used with analogReference()
● Reset Bring this line LOW to reset the microcontroller. Typically used to add a reset button
5.1.5 Communication
5.1.6 Programming
The Arduino Mega can be programmed with the Arduino software (download). For
details, see the reference and tutorials. The ATmega2560 on the Arduino Mega comes pre
burned with a boot loader that allows you to upload new code to it without the use of an
external hardware programmer. It communicates using the original STK500 protocol
(reference, C header files). You can also bypass the boot loader and program the
microcontroller through the ICSP (InCircuit Serial Programming) header; see these
instructions for details
NodeMCU is an open source IoT platform. It includes firmware which runs on the
ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which is based on the ESP-12
module. The term “NodeMCU” by default refers to the firmware rather than the DevKit. The
firmware uses the Lua scripting language. It is based on the eLua project, and built on the
Espressif Non-OS SDK for ESP8266. It uses many open source projects, such as lua-cjson,
and spiffs. This module comes with a built in USB connector and a rich assortment of pin-
outs. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it
without any trouble, just like Arduino. It is also immediately breadboard friendly.
5.2.1 Features
Version: DevKit v1.0 Breadboard Friendly Light Weight and small size. 3.3V
operated, can be USB powered.
5.2.4 ESP8266
Several SPI modes can be supported, including Standard SPI, Dual SPI, and Quad SPI.
Therefore, please choose the correct SPI mode when you are downloading into the flash,
otherwise firm wares/programs that you downloaded may not work in the right way.
5.3 TCS3200 Color sensor
Output
S2 S3 S0 S1 𝑂𝐸
L L Power down
L H 2%
H L 20%
H H 100%
S2 S3 PHOTODIODE TYPE
L L Red
L H Blue
H L Clear(no filter)
H H Green
The sensor has two more control pins, S0 and S1 which are used for scaling the output
frequency. The frequency can be scaled to three different preset values of 100 %, 20 % or
2%. This frequency-scaling function allows the output of the sensor to be optimized for
various frequency counters or microcontrollers.
5.3.3 Features
High-Resolution Conversion of Light Intensity to Frequency
Programmable Color and Full-Scale Output Frequency
Communicates Directly With a Microcontroller
Single-Supply Operation (2.7 V to 5.5 V)
Power Down Feature
Nonlinearity Error Typically 0.2% at 50 kHz
Stable 200 ppm/°C Temperature Coefficient
Low-Profile Lead (Pb) Free and RoHS Compliant Surface-Mount Package
The air quality sensor is also a MQ-135 sensor for detecting venomous gases that are
present in the air in homes and offices. The gas sensor layer of the sensor unit is made up of
tin dioxide (SnO2); it has lower conductivity compare to clean hair and due to air pollution
the conductivity is increases. The air quality sensor detects ammonia, nitrogen oxide, smoke,
CO2 and other harmful gases. The air quality sensor has a small potentiometer that permits
the adjustment of the load resistance of the sensor circuit. The 5V power supply is used for
air quality sensor.
The air quality sensor is a signal output indicator instruction. It has two outputs:
analog output and TTL output. The TTL output is low signal light which can be accessed
through the IO ports on the Microcontroller. The analog output is an concentration, i.e.
increasing voltage is directly proportional to increasing concentration. This sensor has a long
life and reliable stability as well.
5.4.2 Features
When it comes to measuring or detecting a particular Gas the MQ series Gas sensors
are the most inexpensive and commonly used ones. MQ135 is available as a module or as
just the sensor alone. If you are trying to only detect (not measuring PPM) the presence of a
gas then you can buy it as a module since it comes with an op-amp comparator and a digital
output pin. But if you planning to measure the PPM of a gas it is recommend buying the
sensor alone without module.
The MQ-135 Gas sensors are used in air quality control equipments and are suitable
for detecting or measuring of NH3, NOx, Alcohol, Benzene, Smoke, CO2. The MQ-135
sensor module comes with a Digital Pin which makes this sensor to operate even without a
microcontroller and that comes in handy when you are only trying to detect one particular
gas. If you need to measure the gases in PPM the analog pin need to be used. The analog pin
is TTL driven and works on 5V and so can be used with most common microcontrollers.
If you are looking for a sensor to detect or measure common air quality gases such as CO2,
Smoke, NH3, NOx, Alcohol, Benzene then this sensor might be the right choice for you.
You can either use the digital pin or the analog pin to do this. Simply power the
module with 5V and you should notice the power LED on the module to glow and when no
gas it detected the output LED will remain turned off meaning the digital output pin will be
0V. Remember that these sensors have to be kept on for pre-heating time (mentioned in
features above) before you can actually work with it. Now, introduce the sensor to the gas
you want to detect and you should see the output LED to go high along with the digital pin, if
not use the potentiometer until the output gets high. Now every time your sensor gets
introduced to this gas at this particular concentration the digital pin will go high (5V) else
will remain low (0V).
You can also use the analog pin to achieve the same thing. Read the analog values (0-
5V) using a microcontroller, this value will be directly proportional to the concentration of
the gas to which the sensor detects. You can experiment with this values and check how the
sensor reacts to different concentration of gas and develop your program accordingly.
5.4.4 Characteristics
5.4.5 Applications
5.5 IR SENSOR
An infrared sensor is an electronic device, that emits in order to sense some aspects of
the surroundings. An IR sensor can measure the heat of an object as well as detects the
motion. These types of sensors measures only infrared radiation, rather than emitting it that is
called as a passive IR sensor. Usually in the infrared spectrum, all the objects radiate some
form of thermal radiations. These types of radiations are invisible to our eyes, that can be
detected by an infrared sensor .The emitter is simply an IR LED (Light Emitting Diode) and
the detector is simply an IR photodiode which is sensitive to IR light of the same wavelength
as that emitted by the IR LED. When IR light falls on the photodiode, The resistances and
these output voltages, change in proportion to the magnitude of the IR light received.
5.5.1 Features
5.5.2 Specifications
Working voltage: 3 - 5V DC
Output type: Digital switching output (0 and 1)
3mm screw holes for easy mounting
Board size: 3.2 x 1.4cm
Pin, Control
Description
Indicator
Vcc 3.3 to 5 Vdc Supply Input
Gnd Ground Input
Out Output that goes low when obstacle is in range
Power LED Illuminates when power is applied
Obstacle LED Illuminates when obstacle is detected
Adjust detection distance. CCW decreases distance.
Distance Adjust
CW increases distance.
IR Emitter Infrared emitter LED
Infrared receiver that receives signal transmitted by Infrared
IR Receiver
emitter.
5.5.4 Applications
Radiation Thermometers
Flame Monitors
Moisture Analyzers
Gas Analyzers
5.6.2 Specifications
5.6.3 Features
Usage Notes
The ultra bright LED is an electrostatic sensitive device, so static electricity and surge
will damage the LED.
It is required to wear a wrist-band when handling the LED. All device, equipment,
machinery, desk and ground must be properly grounded.
When using LED, it must use a protective resistor in series with DC current about
20mA.
5.6.4 Applications
Industrial Application
Portable Flashlight/ torchlight
Light guides
Decorative Lighting
LCD backlight
Multi-color Light
Status indicators.
Commercial use.
Advertising signs.
L293D is a dual H-bridge motor driver integrated circuit (IC). Motor drivers act as
current amplifiers since they take a low-current control signal and provide a higher-current
signal. This higher current signal is used to drive the motors.
L293D contains two inbuilt H-bridge driver circuits. In its common mode of
operation, two DC motors can be driven simultaneously, both in forward and reverse
direction. The motor operations of two motors can be controlled by input logic at pins 2 & 7
and 10 & 15. Input logic 00 or 11 will stop the corresponding motor. Logic 01 and 10 will
rotate it in clockwise and anticlockwise directions, respectively.
Enable pins 1 and 9 (corresponding to the two motors) must be high for motors to
start operating. When an enable input is high, the associated driver gets enabled. As a result,
the outputs become active and work in phase with their inputs. Similarly, when the enable
input is low, that driver is disabled, and their outputs are off and in the high-impedance.
4 Ground Ground(0v)
5 Ground Ground(0v)
12 Ground Ground(0v)
13 Ground Ground(0V)
5.7.3 Features
The L293D is a popular 16-Pin Motor Driver IC. As the name suggests it is mainly
used to drive motors. A single L293D IC is capable of running two DC motors at the same
time; also the direction of these two motors can be controlled independently. So if you have
motors which has operating voltage less than 36V and operating current less than 600mA,
which are to be controlled by digital circuits like Op-Amp, 555 timers, digital gates or even
Micron rollers like Arduino, PIC, ARM etc.. this IC will be the right choice for you.
Using this L293D motor driver IC is very simple. The IC works on the principle
of Half H-Bridge, let us not go too deep into what H-Bridge means, but for now just know
that H bridge is a set up which is used to run motors both in clock wise and anti clockwise
direction. As said earlier this IC is capable of running two motors at the any direction at the
same time, the circuit to achieve the same is shown below.
All the Ground pins should be grounded. There are two power pins for this IC, one is
the Vss(Vcc1) which provides the voltage for the IC to work, this must be connected to +5V.
The other is Vs(Vcc2) which provides voltage for the motors to run, based on the
specification of your motor you can connect this pin to anywhere between 4.5V to 36V, here
I have connected to +12V.
The Enable pins (Enable 1,2 and Enable 3,4) are used to Enable Input pins for Motor
1 and Motor 2 respectively. Since in most cases we will be using both the motors both the
pins are held high by default by connecting to +5V supply. The input pins Input 1,2 are used
to control the motor 1 and Input pins 3,4 are used to control the Motor 2. The input pins are
connected to the any Digital circuit or microcontroller to control the speed and direction of
the motor. You can toggle the input pins based on the following table to control your motor.
5.7.4 Applications
CHAPTER 6
SOFTWARE IMPLEMENTATION
6.1 Arduino IDE
Projects made using the Arduino are called sketches, and such sketches are
usually written in a cut-down version of C++ (a number of C++ features are not
included). Because programming a microcontroller is somewhat different from
programming a computer, there are a number of device-specific libraries (e.g., changing
pin modes, output data on pins, reading analog values, and timers). This sometimes
confuses users who think Arduino is programmed in an “Arduino language.” However,
the Arduino is, in fact, programmed in C++. It just uses unique libraries for the device.
To begin, download the Arduino IDE from the Arduino website. Make sure to
select the right version for your Operating System (OS). For a full getting started guide for
each OS, please refer to the Arduino guide. Once the arduino.zip file has been downloaded,
extract the file to a folder somewhere on your computer. There is no install - simply open the
folder and double click the .exe.
Note: If you are running Windows 8, you will likely see "The driver is not digitally signed"
when installing the driver. To install it, you must first disable driver signature enforcement.
1. Plug in the USB cable - one end to the PC, and one end to the Arduino board.
2. When prompted, select "Browse my computer for driver" and then select the folder to
which you extracted your original Arduino IDE download.
3. You may receive an error that the board is not a Microsoft certified device - select “Install
anyway.”
When programming your Arduino board it is important to know what COM port the Arduino
is using on your PC. On Windows, navigate to Start->Devices and Printers, and look for the
Arduino. The COM port will be displayed underneath.
Alternatively, the message telling you that the Arduino has been connected successfully in
the lower-left hand corner of your screen usually specifies the COM port is it using.
Before loading any code to your Arduino board, you must first open the IDE. Double
click the Arduino .exe file that you downloaded earlier. A blank program, or "sketch," should
open.
The Blink example is the easiest way to test any Arduino board. Within the Arduino
window, it can be found under File->Examples->Basics->Blink.
Before the code can be uploaded to your board, two important steps are required.
1. Select your Arduino from the list under Tools->Board. The standard board used in RBE
1001, 2001, and 2002 is the Arduino Mega 2560, so select the "Arduino Mega 2560 or Mega
ADK" option in the dropdown.
If you noted the COM port your Arduino board is using, it should be listed in the dropdown
menu. If not, your board has not finished installing or needs to be reconnected.
The upper left of the Arduino window has two buttons: A checkmark to Verify your
code, and a right-facing arrow to Upload it. Press the right arrow button to compile and
upload the Blink example to your Arduino board.
The black bar at the bottom of the Arduino window is reserved for messages
indicating the success or failure of code uploading. A "Completed Successfully" message
should appear once the code is done uploading to your board. If an error message appears
instead, check that you selected the correct board and COM port in the Tools menu, and
check your physical connections.
If uploaded successfully, the LED on your board should blink on/off once every
second. Most Arduino boards have an LED prewired to pin 13.
It is very important that you do not use pins 0 or 1 while loading code. It is
recommended that you do not use those pins ever.
Arduino code is loaded over a serial port to the controller. Older models use
an FTDI chip which deals with all the USB specifics. Newer models have either a small AVR
that mimics the FTDI chip or a built-in USB-to-serial port on the AVR micro-controller
itself.
6.2 Embedded C
However, embedded C has to use with the limited resources (RAM, ROM, I/Os) on an
embedded processor. Thus, program code must fit into the available program memory. If
code exceeds the limit, the system is likely to crash.
Compilers for C (ANSI C) typically generate OS dependent executables. Embedded
C requires compilers to create files to be downloaded to the microcontrollers/microprocessors
where it needs to run. Embedded compilers give access to all resources which is not provided
in compilers for desktop computer applications.
Embedded systems often have the real-time constraints, which is usually not there
with desktop computer applications.
Embedded systems often do not have a console, which is available in case of desktop
applications.
So, what basically is different while programming with embedded C is the mindset; for
embedded applications, we need to optimally use the resources, make the program code
efficient, and satisfy real time constraints, if any. All this is done using the basic constructs,
syntaxes, and function libraries of ‘C’.
6.3 Bynk app
Blynk is a Platform with iOS and Android apps to control Arduino, Raspberry Pi and
the likes over the Internet. It's a digital dashboard where you can build a graphic interface for
your project by simply dragging and dropping widgets.It's really simple to set everything up.
Blynk is not tied to some specific board or shield. Instead, it's supporting hardware of
your choice. Whether your Arduino or Raspberry Pi is linked to the Internet over Wi-Fi,
Ethernet or this new ESP8266 chip, Blynk will get you online and ready for the Internet Of
Your Things.
Blynk was designed for the Internet of Things. It can control hardware remotely, it
can display sensor data, it can store data, visualize it and do many other cool things.
There are three major components in the platform:
Blynk App - allows to you create amazing interfaces for your projects using various
widgets we provide.
Blynk Server - responsible for all the communications between the smartphone and
hardware. You can use our Blynk Cloud or run your private Blynk server locally. It’s
open-source, could easily handle thousands of devices and can even be launched on a
Raspberry Pi.
Blynk Libraries - for all the popular hardware platforms - enable communication with the
server and process all the incoming and out coming commands.
Now imagine every time you press a Button in the Blynk app, the message travel to the
Blynk Cloud, where it finds its way to your hardware. It works the same in the opposite
direction and everything happens in a blynk of an eye
6.3.2 Features
1. Hardware.
An Arduino, Raspberry Pi, or a similar development kit.
Blynk works over the Internet. This means that the hardware you choose should be
able to connect to the internet. Some of the boards, like Arduino Uno will need an Ethernet or
Wi-Fi Shield to communicate, others are already Internet-enabled: like the ESP8266,
Raspberri Pi with WiFi dongle, Particle Photon or SparkFun Blynk Board. But even if you
don’t have a shield, you can connect it over USB to your laptop or desktop (it’s a bit more
complicated for newbies, but we got you covered). What’s cool, is that the list of
hardware that works with Blynk is huge and will keep on growing.
2. A Smartphone.
The Blynk App is a well designed interface builder. It works on both iOS and Android
6.3.4 Getting started with the blynk app
After you download the Blynk App, you’ll need to create a New Blynk account. This account
is separate from the accounts used for the Blynk Forums, in case you already have one.
We recommend using a real email address because it will simplify things later
After you’ve successfully logged into your account, start by creating a new project.
Select the hardware model you will use. Check out the list of supported hardware!
4. Auth token
Auth Token is a unique identifier which is needed to connect your hardware to your
smartphone. Every new project you create will have its own Auth Token. You’ll get Auth
Token automatically on your email after project creation. You can also copy it manually.
Click on devices section and selected required device And you’ll see token :
It’s very convenient to send it over e-mail. Press the e-mail button and the token will
be sent to the e-mail address you used for registration. You can also tap on the Token line and
it will be copied to the clipboard.
Now press the “Create” button.
5. Add a widget
Tap anywhere on the canvas to open the widget box. All the available widgets are
located here. Now pick a button.
Drag-n-Drop - Tap and hold the Widget to drag it to the new position.
Widget Settings - Each Widget has it’s own settings. Tap on the widget to get to them.
The most important parameter to set is PIN
When you are done with the Settings - press the PLAY button. This will switch you
from EDIT mode to PLAY mode where you can interact with the hardware. While in PLAY
mode, you won’t be able to drag or set up new widgets, press STOP and get back to EDIT
mode.
CHAPTER 7
RESULTS
The entire setup was shown in the below figure
The color is sensed by the color sensor as the robot moves according to the command
given to it through BLYNK tool, the LED will glow with suitable intensity and match with
ground color. After reacting with color filter on receiving light reflected by ground,
photodiode generates a signal which is analyzed in terms of frequencies and then it gives the
color of ground.
In the above figure it shows that the obstacle is detected and since no gas is
detected the controller in BLYNK app is in low state.
CONCLUSION
Thus, the proposed system is a substitution to human life. As Human life is always
more prioritize this proposed robot helps to act as a security system and also a life savior.
This system plays an important role of keeping eye on the war field areas and captures the
surroundings. As it is based on the Chameleons color changing effect, the robot changes its
color according to the surrounding environment and is hidden from the enemy’s insight.
Moreover, the camouflaging feature makes it difficult to detect the robot by naked human
eye. The constructed robot is also equipped with wireless camera that will help us to keep eye
on enemy territory and also captures live footage of the surrounding area so that we can
monitorize and analyze the war field’s territory. This proposed system gives an exposure to
design a simple robot that can be used to do multifunction in defense. Manual control is also
employed to control the robot from the mobile using BLYNK APP which is located far away
from the border area. If any obstacle is detected and dangerous gas is detected output
parameters obtained by sensor is monitored and read in BLYNK app which is an open source
platform.
FUTURE SCOPE
Implementation of the real time camouflage feature to the proposed robot design,
there is scope to improve the system by configuring it with multicolor camouflaging and to
give a feature of autonomy to the proposed design of the robot. With the use of color sensing
camera, all colors can be detected properly. Target is acquired in better accuracy by the use of
finer quality and more precise position sensing devices. Observation and firing platforms are
enabled by wireless data transfer to and from the control station and needs to be separated by
greater distances. Reliability, accuracy, and speed of multiple complex and complicated
activities can be achieved by quantitative and qualitative increase of the sensors. Enhance the
efficiency of power (and / or energy consumption). Functional complexity and increasing the
effectiveness by development of control software and hardware.
REFERENCES
[1] Premkumar. M “UNMANNED MULTI-FUNCTIONAL ROBOT USING ZIGBEE
ADOPTER NETWORK FOR DEFENSE APPLICATION” International Journal of
Advanced Research in Computer Engineering & Technology (IJARCET) Volume 2, Issue 1,
January 2013.
[2] Akash Ravindran and Akshay Premkumar “CAMOFLAGE TECHNOLOGY”
International Journal of Emerging Technology in Computer Science & Electronics
(IJETCSE) ISSN: 0976-1353 Volume 8 Issue 1 – APRIL 2014.
[3] P. Hymavathi, T.Jyothi “Surveillance Alive Human Detection Robot using X-bee
Technology” SSRG International Journal of Electronics and Communication Engineering
(SSRG-IJECE) – volume issue 4 June 2014.
[4] Dipak Patil, Himali Patil, Abhijeet Patil, Sunil Kalal “Camouflage Technique Based
Multifunctional Army Robot” International Journal of Advanced Research in Electronics and
Communication Engineering (IJARECE) Volume 4, Issue 2, February 2015.
[5] Yadnika Warang, Tejali Mahadik, Supriya Ojha, Asha Rawath “Camouflage Robot-A
Colour Changing Spy Robot” IJARIIE-ISSN (O) - 2395- 4396, Vol-3 Issue-2, 2017.
[6]. Vivek Khot, Ravindra Joshi, Aashay Chavan, Sanket Dhumal “Camouflaged Colour
Changing Robot for Military Purpose” International Journal of Advanced Research in
Computer Science and Software Engineering, Volume 5, Issue 3, March 2015 ISSN: 2277
128X.
[7]. PRATUSH G.: “GSM Controlled Topple Resistant Spy Robot” .In: IEEE Transaction,
2013,No.978-0-76955146-3/1.
[8] Robotics: K . S. Fu, R. C. Gonzalez, C.S.G. Lee, book published by Tata Mc- Graw Hill,
2008, 1st eds, ISBN: 9780070265103( rf transmission).
[9] Vivek Khot, Ravindra Joshi, Aashay Chavan, Sanket Dhumal ,“Camouflaged Colour
Changing Robot for Military Purpose”, International Journal of Advanced Research in
Computer Science and Software Engineering, Volume 5, Issue 3, March 2015.
[10] Yadnika Warang, Tejali Mahadik, Supriya Ojha, Asha Rawat,“Camouflage Robot-A
Colour Changing Spy Robot”, International Journal of Advance Research and Innovative
Ideas in Education, Vol-3 Issue-2 2017.
APPENDIX
CODE AT RECEIVER:
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#define Right1 D1
#define Right2 D2
#define Left1 D5
#define Left2 D6
#define OBST D4
#define GAS D0
char auth[] = "18f24d353c2e42b1a651f5971684cda1";
char ssid[] = "Sri";
char pass[] = "12345678";
void moveControl(int x, int y)
{
if(y>220) // FORWARD DIRECTION
{
digitalWrite(Right1,HIGH);
digitalWrite(Right2,LOW);
digitalWrite(Left1,HIGH);
digitalWrite(Left2,LOW);
}
// move BACK
else if(y<30)
{
digitalWrite(Right1,LOW);
digitalWrite(Right2,HIGH);
digitalWrite(Left1,LOW);
digitalWrite(Left2,HIGH);
}
// LEFT DIRECTION
else if(x<30)
DEPARTMENT OF ECE, VLITS 57
IMPLEMENTATION OF CAMOUFLAGE TECHNIQUE BASED MULTIFUNCTIONAL ARMY
ROBOT
{
digitalWrite(Right1,LOW);
digitalWrite(Right2,LOW);
digitalWrite(Left1,LOW);
digitalWrite(Left2,HIGH);
}
//RIGHT DIRECTION
else if(x>220)
{
digitalWrite(Right1,LOW);
digitalWrite(Right2,HIGH);
digitalWrite(Left1,LOW);
digitalWrite(Left2,LOW);
}
// STOP CONDITION
else
{
digitalWrite(Right1,LOW);
digitalWrite(Right2,LOW);
digitalWrite(Left1,LOW);
digitalWrite(Left2,LOW);
}}
void setup()
{
Serial.begin(9600);
delay(500);
Serial.println("L293 MOTOR DRIVER CONTROL");
Blynk.begin(auth, ssid, pass);
1111111// initial settings for motors off and direction forward
pinMode(Right1, OUTPUT);
pinMode(Left1, OUTPUT);
pinMode(Right2, OUTPUT);
pinMode(Left2, OUTPUT);
pinMode(OBST, INPUT);
pinMode(GAS, INPUT);
digitalWrite(OBST, HIGH);
digitalWrite(GAS, HIGH);
digitalWrite(Right1, LOW);
digitalWrite(Left1, LOW);
digitalWrite(Right2, LOW);
digitalWrite(Left2 , LOW);
}
void loop()
{
if(digitalRead(GAS))
Blynk.virtualWrite(V2, 0);
else
Blynk.virtualWrite(V2, 1);
if(digitalRead(OBST))
Blynk.virtualWrite(V3, 0);
else
Blynk.virtualWrite(V3, 1);
Blynk.run();
}
BLYNK_WRITE(V1)
{
int x = param[0].asInt();
int y = param[1].asInt();
moveControl(x,y);
}
CODE AT THE TRANSMITTER:
/*
// TCS230 color recognition sensor
// Sensor connection pins to Arduino are shown in comments
Color Sensor Arduino
----------- --------
VCC 5V
GND GND
s0 8
s1 9
s2 12
s3 11
OUT 10
OE GND
*/
const int s0 = 8;
const int s1 = 9;
const int s2 = 12;
const int s3 = 11;
const int out = 10;
// LED pins connected to Arduino
int redLed = 2;
int greenLed = 4;
int blueLed = 3;
// Variables
int red = 0;
int green = 0;
int blue = 0;
void setup()
{
Serial.begin(9600);
pinMode(s0, OUTPUT);
pinMode(s1, OUTPUT);
pinMode(s2, OUTPUT);
pinMode(s3, OUTPUT);
pinMode(out, INPUT);
pinMode(redLed, OUTPUT);
pinMode(greenLed, OUTPUT);
pinMode(blueLed, OUTPUT);
digitalWrite(s0, HIGH);
digitalWrite(s1, HIGH);
}
void loop()
{
//Serial.print("R Intensity:");
//Serial.print(red, DEC);
//Serial.print(" G Intensity: ");
//Serial.print(green, DEC);
//Serial.print(" B Intensity : ");
//Serial.print(blue, DEC);
//Serial.println();
color();
if (red < blue && red < green && red >10 && red <30 )
{
Serial.println(" - (Red Color)");
digitalWrite(redLed, HIGH); // Turn RED LED ON
digitalWrite(greenLed, LOW);
digitalWrite(blueLed, LOW);
}
else if (blue < red && blue < green && blue<10)
{
Serial.println(" - (Blue Color)");
digitalWrite(redLed, LOW);
digitalWrite(greenLed, LOW);
digitalWrite(blueLed, HIGH); // Turn BLUE LED ON
}
else if (green < red && green <20)
{
Serial.println(" - (Green Color)");
digitalWrite(redLed, LOW);
digitalWrite(greenLed, HIGH); // Turn GREEN LED ON
digitalWrite(blueLed, LOW);
}
else if (red<7 && green<7 && blue<15)
{
Serial.println(" - (Yellow Color)");
digitalWrite(redLed, HIGH);
digitalWrite(greenLed, HIGH); // Turn GREEN LED ON
digitalWrite(blueLed, LOW);
}
else if (red < 8 && green >=10 && blue < 8)
{
Serial.println(" - (Pink Color)");
digitalWrite(redLed, HIGH);
digitalWrite(greenLed, LOW); // Turn GREEN LED ON
digitalWrite(blueLed, HIGH);
}
else if (red >170 && green >170 && blue>170)
{
digitalWrite(redLed, LOW);
digitalWrite(greenLed, LOW);
digitalWrite(blueLed, LOW);
}
else{
Serial.println();
}
delay(1000);
}
void color()
{
digitalWrite(s2, LOW);
digitalWrite(s3, LOW);
//count OUT, pRed, RED
red = pulseIn(out, digitalRead(out) == HIGH ? LOW : HIGH);
digitalWrite(s3, HIGH);