Professional Documents
Culture Documents
Report Mini Project
Report Mini Project
CERTIFICATE
The result embodied in this project report has not been submitted to any other
University/Institution for the award of any Degree/Diploma.
EXTERNAL EXAMINER
CANDIDATES DECLARATION
We hereby declare that this Mini Project Report titled “GSM BASED LPG WEIGHT
AND LPG LEAKAGE DETECTION SYSTEM” submitted by us to the Department of
Electronics and Communication Engineering, VBIT, Aushapur, Under JNTUH, is a
Bonafide work undertaken by and it is not submitted to any other University or Institution
for the award of any degree or diploma.
By
Manish. D (19P61A04K5)
Pavan Kumar. Y (19P61A04K7)
Shiva Kumar. T (20P65A0441)
ACKNOWLEDGEMENT
At the outset we sincerely thank God for having got my Mini project report completed in time.
Firstly we would thank our parents who have been a motivating factor throughout our lives.
Secondly we sincerely thank our principal Dr. PVS Srinivas and our Head of the department Dr.
U.poorna laxmi for their kind cooperation and Encouragement for the successful completion of
Seminar work and providing the necessary facilities.
We are most obliged and grateful to our project guide Mrs. J. Manga, for giving us guidance in
completing this project successfully.
We express our sincere gratitude to our Project coordinators, Department of ECE and my other
faculty for attending our project seminars and for their insightful comments and constructive
suggestions to improve the quality of this project work.
By
Manish. D (19P61A04K5)
Pavan Kumar. Y (19P61A04K7)
Shiva Kumar. T (20P65A0441)
ABSTRACT
The objective of this work is to monitor the gas cylinder continuously and display the weight of
gas present inside the cylinder and send an alert to the user when the gas weight comes below the
threshold level of 1kg, it sends a message to the user and it also detects any leakage occurring
and if any leakage is detected it will be displayed through the LCD display and sends an SMS
alert through GSM module to the user.
The weight of the LPG gas is calculated by using the below formula:
LPG weight = Actual weight received by the weight sensor – actual weight of the empty gas
cylinder
CERTIFICATES I
I
II
CANDIDATE DECLARATION
I
ACKNOWLEDGMENT
IV
ABSTRACT
V
LIST OF FIGURES
V
LIST OF TABLES I
VI
CHAPTER-1 INTRODUCTION
INTRODUCTION
AIM
ADVANTAGES
DISADVANTAGES
LITERATURE SURVEY
CHAPTER-2 ANALYSIS
HARDWARE REQUIREMENTS
GSM MODULE
ARDUINO UNO BOARD
MQ2 SENSOR
LOADCELL
LCD
POWER SOURCE DESCRIPTION
TRANSFORMER
CHAPTER-3 DESIGN AND IMPLEMENTATION
BLOCK DIAGRAM
CIRCUIT DIAGRAM
HARDWARE IMPLEMENTATION
SOFTWARE IMPLEMENTATION
CHAPTER-4 RESULTS
CHAPTER-5 CONCLUSION AND REFERENCE
NK
LIST OF FIGURES
AIM
The main aim of the project is to provide information about the weightage of the cylinder when it
is about only 10%, But also helps in providing the leakage of the gas using GSM module by
Arduino UNO Board when gas is leaked.
ADVANATGES
Low cost
Easy to implement and portable
Detects the weight of the cylinder and intimates when there is 10% of gas remaining present in
the cylinder.
It avoids the problematic situation or the trouble caused due to unavailability of gas cylinder.
Generally unavailability is caused by late intimation or late booking of gas cylinder.
It also detects the gas leakage and intimates.
Buzzer gets turned on when weight of the cylinder is 10% and when gas leakage found.
DISADVANTAGES
The circuit requires power supply
GSM module provides limited data rate capability, for higher data rate GSM advanced version
devices are used.
LITERATURE SURVEY
In 1983, work began to develop a European standard for digital cellular voice telecommunications when
the European Conference of Postal and Telecommunications Administrations (CEPT) set up the Groupe
Spécial Mobile (GSM) committee and later provided a permanent technical-support group based in Paris.
Five years later, in 1987, 15 representatives from 13 European countries signed a memorandum of
understanding in Copenhagen to develop and deploy a common cellular telephone system across Europe,
and EU rules were passed to make GSM a mandatory standard. The decision to develop a continental
standard eventually resulted in a unified, open, standard-based network which was larger than that in the
United States.
In February 1987 Europe produced the first agreed GSM Technical Specification. Ministers from the four
big EU countries cemented their political support for GSM with the Bonn Declaration on Global
Information Networks in May and the GSM MoU was tabled for signature in September. The MoU drew in
mobile operators from across Europe to pledge to invest in new GSM networks to an ambitious common
date.
In this short 38-week period the whole of Europe (countries and industries) had been brought behind GSM
in a rare unity and speed guided by four public officials: Armin Silberhorn (Germany), Stephen Temple
(UK), Philippe Dupuis (France), and Renzo Failli (Italy). In 1989 the Groupe Spécial Mobile committee
was transferred from CEPT to the European Telecommunications Standards Institute (ETSI). The
IEEE/RSE awarded to Thomas Haug and Philippe Dupuis the 2018 James Clerk Maxwell medal for their
"leadership in the development of the first international mobile communications standard with subsequent
evolution into worldwide smartphone data communication". The GSM (2G) has evolved into 3G, 4G and
5G.
.
CHAPTER-2
HARDWARE REQUIREMENTS
GSM MODULE(SIM800L)
Specifications
IC Chip SIM800L GSM cellular chip
Operating Voltage range 3.4V ~ 4.4V
Recommended supply voltage 4V
Peak Current 2A
Power consumption Sleep mode < 2.0mA
Idle mode < 7.0mA
GSM transmission (avg): 350 mA
GSM transmission (peek): 2000mA
The microcontroller used in our project is Arduino UNO. The Uno is a microcontroller board
based on the ATmega328P. It has 14 digital input/output pins (of which 6 can be used as PWM
outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP
header and a reset button. It contains everything needed to support the microcontroller; simply
connect it to a computer with a USB cable or power it with a AC- to-DC adapter or battery to
get started.You can tinker with your UNO without worrying too much about doing something
wrong, worst case scenario you can replace the chip for a few dollars and start over again. "Uno"
means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0. The Uno
board and version 1.0 of Arduino Software (IDE) were the reference versions of Arduino, now
evolved to newer releases. The Uno board is the first in a series of USB Arduino boards, and the
reference model for the Arduino platform; for an extensive list of current, past or outdated boards
see the Arduino index of boards.
(a) Programming: The Uno can be programmed with the Arduino Software (IDE). Select
"Arduino/Genuino Uno" from the Tools > Board menu (according to the microcontroller on your
board). The ATmega328 on the Uno comes preprogrammed with a boot loader that allows one 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).
(b) Power: The Uno board 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. 14 The board can operate on an external
supply from 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less
than five volts and the board may become unstable. If using more than 12V, the voltage regulator
may overheat and damage the board. The recommended range is 7 to 12 volts.
Microcontroller ATmega328P
Operating Voltage 5V
Input 7-12V
Voltage
(recommende
d)
Input Voltage (limit) 6-20V
Digital I/O Pins 14 (of which 6 provide PWM output)
PWM Digital I/O Pins 6
Analog Input Pins 6
DC Current per I/O Pin 20mA
DC Current for 3.3V Pin 50mA
Flash Memory 32 KB (ATmega328P) of which 0.5
KB used
by boot loader
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
Clock Speed 16 MHz
Length 68.6 mm
Width 53.4mm
Weight 25g
Features
High performance, low power AVR 8 bit micro controller.
Advanced RISC architecture.
• 331 power full instructions –most single clock cycle execution.
• 32×8 general purpose working registers.
• Fully static operation.
• Up to 20 MIPS throughput at 20MHz.
• On-chip 2-cycle multiplier.
Special micro controller features.
• Power- on reset and programmable brown-out detection.
• Internal calibrated oscillator.
Speed Grade:
0 - 4MHz @ 1.8 - 5.5V.
0 - 10MHz @ 2.7 -5.5V.
0 - 20MHz @ 4.5 -5.5V.
Power Consumption at 1MHz, 1.8V, 25°C.
• Active Mode: 0.2mA.
• Power-down Mode: 0.1μA.
• Power-save Mode: 0.75μA (Including 32 kHz RTC).
MQ2 gas sensor is an electronic sensor used for sensing the concentration of gases in the air such as LPG,
propane, methane, hydrogen, alcohol, smoke and carbon monoxide.
MQ2 gas sensor is also known as chemiresistor. It contains a sensing material whose resistance changes
when it comes in contact with the gas. This change in the value of resistance is used for the detection of
gas. MQ2 is a metal oxide semiconductor type gas sensor. Concentrations of gas in the gas is measured
using a voltage divider network present in the sensor. This sensor works on 5V DC voltage. It can detect
gases in the concentration of range 200 to 10000ppm.
Working Principle
This sensor contains a sensing element, mainly aluminium-oxide based ceramic, coated with Tin dioxide,
enclosed in a stainless steel mesh. Sensing element has six connecting legs attached to it. Two leads are
responsible for heating the sensing element, the other four are used for output signals.
Oxygen gets adsorbed on the surface of sensing material when it is heated in air at high temperature. Then
donor electrons present in tin oxide are attracted towards this oxygen, thus preventing the current flow.
When reducing gases are present, these oxygen atoms react with the reducing gases thereby decreasing the
surface density of the adsorbed oxygen. Now current can flow through the sensor, which generated analog
voltage values.
These voltage values are measured to know the concentration of gas. Voltage values are higher when the
concentration of gas is high.
The Variation in resistance of the sensors measured indirectly as a Change in voltage appearing across the
load resistor RL.
In fresh air the current passing through the Sensor and RL in series is steady, but when a combustible gas
such as propane, methane etc. comes in contact with the Sensor surface, the Sensor resistance decreases in
accordance with the gas concentration present. The voltage Change across RL is the same when VC and
VH are supplied from AC or DC sources. One can feel that this circuit is most suitable for evaluating the
MQ2 performance because of the ease in measuring the output signal.
Features
Can be used to Measure or detect LPG, Alcohol, Propane, Hydrogen, CO and even methane
FOR MODULE
Pin Number Pin Name Description
1 VCC This pin powers the module,
typically the operating voltage
is +5V
2 GND Used to connect the module to
system ground
3 DIGITAL OUT You can also use this sensor to
get digital output from this pin,
by setting a threshold value
using the potentiometer
4 ANALOG OUT This pin outputs 0-5V analog
voltage based on the intensity
of the gas
FOR SENSOR
Pin Number Pin Name Description
1 H-Pin Out of the two H pins, one pin is
connected to supply and the other to
ground
2 A-Pin The A pins and B pins are
interchangeable. These pins will be
tied to the Supply voltage
3 B-Pin The A pins and B pins are
interchangeable. One pin will act as
output while the other will be pulled
to ground
LOADCELL
As per dictionary, a load cell is described as a “weight measurement device necessary for
electronic scales that display weights in digits.” However, load cell is not restricted to weight
measurement in electronic scales. Load cell is a passive transducer or sensor which converts applied
force into electrical signals. They are also referred to as “Load transducers”.
However, the only load cells which are prevalent are the load cells based on strain gages.
Hence, the term „load cell‟ means „strain gage-based load cells‟. The reason behind the wide adoption
of strain gage-based load cells is their characteristics
Higher quality load cells cancel out the effects of temperature using two techniques. By
matching the expansion rate of the strain gauge to the expansion rate of the metal it‟s mounted on,
undue strain on the gauges can be avoided as the load cell warms up and cools down. The most
important method of temperature compensation involves using multiple strain gauges, which all
respond to the change in temperature with the same change in resistance.
Some load cell designs use gauges which are never subjected to any force, but only serve to
counterbalance the temperature effects on the gauges that measuring force. Most designs use 4 strain
gauges, some in compression, and some under tension, which maximizes the sensitivity of the load
cell, and automatically cancels the effect of temperature. It is often easy to measure the parameters like
length, displacement, weight etc that can be felt easily by some senses.
However, it is very difficult to measure the dimensions like force, stress and strain that cannot
be really sensed directly by any instrument. For such cases special devices called strain gauges are
very useful. There are some materials whose resistance changes when strain is applied to them or
when they are stretched and this change in resistance can be measured easily. For applying the strain
you need force, thus the change in resistance of the material can be calibrated to measure the applied
force. Thus the devices whose resistance changes due to applied strain or applied force are called as
the strain gauges.
Load cell is transducer which transforms force or pressure into electrical output. Magnitude of
this electrical output is directly proportion to the force being applied. Load cells have strain gauge,
which deforms when pressure is applied on it. And then strain gauge generates electrical signal on
deformation as its effective resistance changes on deformation. A load cell usually consists of four
strain gauges in a Wheatstone bridge configuration. Load cell comes in various ranges like 5kg, 10kg,
100kg and more, here we have used Load cell, which can weight upto 40kg.
A load cell is an electronic sensor for measuring weight and force. When a force is applied to
it, a weak electrical signal at the millivoltage level appears on its output wires. In fact, the load cell is a
transducer which converts force into measurable electrical output.
A load cell consists of a metal core and a set of electrical resistances that transform when a
force is applied to it. But after the force is removed, it returns to its original state. The reversibility of
this material determines the quality and accuracy of the load cell. The equivalent electrical circuit of a
load cell is as follows:
Load cells have 4 wires:
Red for Excitation+
Black for Excitation-
White for Output-
Green for Output+
Be careful about the side of the load cell when you’re putting a weigh on it. Usually, there is an arrow on
the module that shows the force direction. With the help of this arrow, you can place the weight and the load cell
correctly.
Interfacing a Load Cell with Arduino
The output signal produced by the load cell is in range of millivolts, so we need an amplifier to convert the
signal into a level that we can later transform it into a digital signal and process it. For this purpose, we use HX711
amplifier sensor. The HX711 amplifier sensor includes a HX711 chip with analog-to-digital conversion capability
in 24-bit accuracy. The HX711 module amplifies the low-voltage output of the load cell and sends it to the
Arduino so that the Arduino eventually calculate weight from this data. HX711 on breakout board - This microchip
is specially made for amplifying the signals from load cells and reporting them to mircocontroller. The load cells
plug into this board, and this board tells the Arduino what the load cells measure.
A liquid-crystal display (LCD) is a flat-panel display or other electronically modulated optical
device that uses the light-modulating properties of liquid crystals combined with polarizer Liquid
crystals do not emit light directly, instead using a backlight or reflector to produce images in color or
monochrome LCDs are available to display arbitrary images (as in a general-purpose computer
display) or fixed images with low information content, which can be displayed or hidden. For
instance: preset words, digits, and seven-segment displays, as in a digital clock, are all good examples
of devices with these displays. They use the same basic technology, except that arbitrary images are
made from a matrix of small pixels, while other displays have larger elements. LCDs can either be
normally on (positive) or off (negative), depending on the polarizer arrangement. For example, a
character positive LCD with a backlight will have black lettering on a background that is the color of
the backlight, and a character negative LCD will have a black background with the letters being of
the same color as the backlight.
The term LCD stands for liquid crystal display It is one kind of electronic display module used in an
extensive range of applications like various circuits & devices like mobile phones, calculators,
computers, TV sets, etc. These displays are mainly preferred for multi-segment light-emitting diodes
and seven segments. The main benefits of using this module are inexpensive; simply programmable,
animations, and there are no limitations for displaying custom characters, special and even
animations, etc.
Pin1 (Ground/Source Pin): This is a GND pin of display, used to connect the GND terminal of the
microcontroller unit or power source.
Pin2 (VCC/Source Pin): This is the voltage supply pin of the display, used to connect the supply pin
Of the power source.
Pin3 (V0/VEE/Control Pin): This pin regulates the difference of the display, used to connect a
changeable POT that can supply 0 to 5V.
Pin4 (Register Select/Control Pin): This pin toggles among command or data register, used to
connect a microcontroller unit pin and obtains either 0 or 1(0 = data mode, and 1 = command mode).
Pin5 (Read/Write/Control Pin): This pin toggles the display among the read or writes operation, and
it is connected to a microcontroller unit pin to get either 0 or 1 (0 = Write Operation, and 1 = Read
Operation).
Pin 6 (Enable/Control Pin): This pin should be held high to execute Read/Write process and it is
connected to the microcontroller unit & constantly held high.
Pins 7-14 (Data Pins): These pins are used to send data to the display. These pins are connected in
two-wire modes like 4-wire mode and 8-wire mode. In 4-wire mode, only four pins are connected to
the microcontroller unit like 0 to 3, whereas in 8 -wire mode, 8-pins are connected to microcontroller
unit like 0 to 7.
Pin15 (+ve pin of the LED): This pin is connected to +5V
Pin 16 (-ve pin of the LED): This pin is connected to GND.
Features of LCD16x2
The features of this LCD mainly include the following.
The operating voltage of this LCD is 4.7V-5.3V
It includes two rows where each row can produce 16-characters.
The utilization of current is 1mA with no backlight
Every character can be built with a 5×8 pixel box
The alphanumeric LCDs alphabets & numbers
Is display can work on two modes like 4-bit & 8-bit
These are obtainable in Blue & Green Backlight
It displays a few custom generated characters
INTRODUCTION
The power supplies are designed to convert high voltage AC mains electricity to a suitable low
voltage supply for electronics circuits and other devices. A RPS (Regulated Power Supply) is
the Power Supply with Rectification, Filtering and Regulation being done on the AC mains to
get a Regulated power supply for Microcontroller and for the other devices being interfaced to
it.
For example a 5V regulated power supply system as shown below:
A power supply unit can by broken down into a series of blocks, each of which performs a
particular function. A d.c power supply which maintains the output voltage constant
irrespective of a.c mains fluctuations or load variations is known as “Regulated D.C Power
Supply”.
TRANSFORMER
A transformer is an electrical device which is used to convert electrical power from one Electrical circuit to
another without change in frequency. Transformers convert AC electricity from one voltage to another with
little loss of power. Transformers work only with AC and this is one of the reasons why mains electricity is
AC. Step-up transformers increase in output voltage, step-down transformers decrease in output voltage.
Most power supplies use a step-down transformer to reduce the dangerously high mains voltage to a safer
low voltage. The input coil is called the primary and the output coil is called the secondary. There is no
electrical connection between the two coils; instead they are linked by an alternating magnetic field created
in the soft-iron core of the transformer. The two lines in the middle of the circuit symbol represent the core.
Transformers waste very little power so the power out is (almost) equal to the power in. Note that as
voltage is stepped down current is stepped up. The ratio of the number of turns on each coil, called the
turn’s ratio, determines the ratio of the voltages. A step-down transformer has a large number of turns on
its primary (input) coil which is connected to the high voltage mains supply, and a small number of turns
on its secondary (output) coil to give a low output voltage .
Turns ratio = Vp/ VS = Np/NS
Power Out= Power In
VS x IS=VP x IP
Vp = primary (input) voltage
Np = number of turns on primary coil
Ip = primary (input) current
RECTIFIER
A circuit which is used to convert a.c to dc is known as RECTIFIER. The process of conversion a.c
to d.c is called “rectification”.
FILTER
A Filter is a device which removes the a.c component of rectifier output but allows the d.c component to
reach the load
Capacitor Filter
We have seen that the ripple content in the rectified output of half wave rectifier is 121% or that of full-
wave or bridge rectifier or bridge rectifier is 48% such high percentages of ripples is not acceptable for most of the
applications.
REGULATOR
Voltage regulator ICs is available with fixed (typically 5, 12 and 15V) or variable output voltages. The
maximum current they can pass also rates them. Negative voltage regulators are available, mainly for use in dual
supplies. Most regulators include some automatic protection from excessive current ('overload
protection') and overheating ('thermal protection'). Many of the fixed voltage regulators ICs have 3
leads and look like power transistors, such as the 7805 +5V 1A regulator shown on the right. The
LM7805 is simple to use. You simply connect the positive lead of your unregulated DC power supply
(anything from 9VDC to 24VDC) to the Input pin, connect the negative lead to the Common pin and
then when you turn on the power, you get a 5volt supply from the output pin.
Load cell and MQ2 sensor are the two inputs which are interfaced with Arduino. The output of the Arduino will be based on applied inputs. In these we use MQ2 sensor to detect some
of the combustible gases like iso propane and butane, therefore those gases will be detected by MQ2 sensor, In which due to leakage detection we have to protect ourself we use alert
system as GSM and also for status purpose we use display called LCD display. Similarly one more application like LOADCELL(weight sensor) such that when it is below threshold
level than reference level then that user will get SMS through GSM and status will show on display.
This work proposes an advance and innovative approach for LPG leakage detection, prevention and
automatically sends the alert to the user for refill. In advance, the system provides the automatically
monitors LPG regulator also if leakage is detected the system will automatically sends the SMS alert to the
user. Hence it helps to avoid the explosion and blast. The proposed work consists of a Arduino, Power
supply, LCD Display, GSM modem, MQ2 sensor, Load cell.
Arduino: In this project Arduino plays important role in interfacing the components to it. Input is given to
the Arduino and output is taken from Arduino by using digital pins for displaying the output.
CIRCUIT DIAGRAM
The power supply 5V is given to the Arduino through an adapter. When MQ2 sensor detects the gases and
compare with the comparator and which gives digital logic data to Arduino. If the logic is’0’ then the gas
leakage is detected similarly when the logic is ‘1’ then the gas leakage is not detected therefore the Arduino
takes proper action, and SMS alert is sent to user phone in case of gas leakage occurs. The output of the
MQ2 sensor is given Arduino to the digital pin (D10) and the output of the Arduino is given to input as
LCD to display the status of the leakage. Whenever a force/pressure is applied on the load cell it will
converts force in to electrical signal, the output of the load cell is few milli volts. In HX711 it consisting of
ADC which is used to convert from analog to digital data given to Arduino for weight measurement.
Whenever cylinder weight goes below some threshold value. The SMS alert is given to the user for the
registration of new cylinder and displays the weight of the cylinder in LCD.
Arduino
Arduino/Genuino Uno is a microcontroller board based on the ATMEGA328P. It has 14 digital
input/output pins, 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an
ICSP header and a reset button.
Arduino uno microcontroller can sense the environment by receiving input from a variety of sensors
and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller
is programmed using the arduino programming language (based on wiring) and the arduino
development environment (based on processing). This controller can be used as a general purpose
device, which can read data, perform limited calculations depending up on the program prepared for
it, and control the other devices interfaced with this controller. The prime use of a microcontroller is
to control the operation of a machine using a fixed program that is stored in rom and that does not
change over the life time of the system
Here MQ2 sensors and push buttons are interfaced with micro-controller at its input side, by
activating these devices command signals are generated for the controller; these are called set of
instructions. These instructions are used to move code and data from internal memory to the ALU.
These instructions in the form of above devices are coupled with pins to the IC package; these pins
are programmable, means capable of having several different functions depending up on the program
prepared for it. The microcontroller is concerned with getting data from and to its own pins; the
architecture and instruction set are optimized to handle data in bit, byte, and word size.
GSM MODULE
The RX pin of the GSm module is connected to the TX pin of the Arduino UNO Board and TX pin
of the GSm is Connected to the RX pin of the Arduino UNO Board
MQ2 sensor
The both analog pins and digital pins are used as digital pins. The circuit connections are mentioned
in the above figure , according to the pin connections the code is created to perform the task. VCC
pins of MQ2 sensor is connected to the +5v and ground to the ground.
To wire your LCD screen to your board, connect the following pins: LCD RS pin to digital pin 6. LCD
Enable pin to digital pin 7. LCD D4 pin to digital pin 5. LCD D5 pin to digital pin4. LCD D6 pin to digital pin
3. LCD D7 pin to digital pin 2. LCD R/W pin to GND. LCD VSS pin to GND.
SOFTWARE IMPLEMENTATION
PROGRAMMING ARDUINO
Once Arduino studio IDE is installed on the computer, connect the board with computer using USB
cable. Now open the 46rduino IDE and choose the correct board by selecting
Tools>Boards>Arduino/Genuino Uno, and choose the correct Port by selecting Tools>Port.
Arduino Uno is programmed using Arduino programming language based on Wiring. To get it
started with Arduino Uno board and blink the built-in LED, load the example code by selecting
Files>Examples>Basics>Blink. Once the example code (also shown below) is loaded into your
IDE, click on the ‘upload’ button given on the top bar. Once the upload is finished, you should see
the Arduino’s built-in LED blinking. Below is the example code for blinking:
ARDUINO – INSTALLATION
After learning about the main parts of the Arduino UNO board, we are ready to learn how to set up
the Arduino IDE. Once we learn this, we will be ready to upload our program on the Arduino board.
In this section, we will learn in easy steps, how to set up the Arduino IDE on our computer and
prepare the board to receive the program via USB cable.
Step 1: First you must have your Arduino board (you can choose your favourite board) and a
USB cable. In case you use Arduino UNO, Arduino Duemilanove, Nano, Arduino Mega 2560, or
Diecimila, you will need a standard USB cable (A plug to B plug), the kind you would connect to a
USB printer as shown in the following image. In case you use Arduino Nano, you will need an A to
Mini-B cable instead as shown in the following image
Step 2: Download Arduino IDE Software.
You can get different versions of Arduino IDE from the Download page on the Arduino Official
website. You must select your software, which is compatible with your operating system (Windows,
IOS, or Linux). After your file download is complete, unzip the file.
REFERENCES
The following are the references made during the development of this project work.
Text Books:
Linear Integrated Circuits – By: D. Roy Choudhury, Shail Jain
Digital Electronics. By JOSEPH J.CARR
Fundamental of Radio Communication: By A.SHEINGOLD
Basic Radio and Television: By S.P.SHARMA
Digital and Analog Communication System By: K. sam Shanmugam
Relays and their applications - By: M.C.SHARMA
Op-Amps Hand Book - By: MALVIND
The concepts and Features of Micro-controllers - By: Raj Kamal
The 8051 Micro-controller Architecture, programming & Applications - By: Kenneth J. Ayala
Programming and Customizing the 8051 Micro-controller - By: Myke Predko
Electronic Circuit guide book – Sensors – By JOSEPH J.CARR
Catalogs:
(1) TEXAS - LINEAR IC’s manual
(2) SIGNETICS - DIGITAL IC’s manual
Journals:
(1) Electronic Design
(2) Electronics for you
(3) Electronics Text
(4) Practical Electronics