Professional Documents
Culture Documents
ABSTRACT-
With the title itself, one can understand that this project is exclusively used to give the
information of the forthcoming station to the passengers in the bus. Most of the passengers do
not bother about the stations arriving until their destination arrives. There may also be chances
like they miss their destination and have to get down at some other station and go back to reach
their destination. To get rid of this kind of problem, we have designed a project called
“MODERN BUS STATION USING RFâ€. This project uses wireless communication, RF.
RF has the advantages of fast communication for longer distances and reliability. The RF
modules used here are STT-433 MHz Transmitter along with an RF encoder HT12E, STR-433
MHz Receiver along with an RF decoder HT12D. Every station will have the RF transmitter.
The RF transmitter will be interfaced to the controller through an RF encoder to encode the data
received by the controller and to transmit the data. Here in our project the RF transmitter
continuously transmits the predefined data. The RF receiver which interfaces the controller
through an RF decoder will be fixed in the train. Here the RF decoder is used to decode the
signal received by the transmitter. As the train moves and approaches the station, the RF receiver
present in the train will receive the information(predefined data) which is being continuously
transmitted by the transmitter and will pass the decoded data to the controller so that the
controller performs the predefined task of displaying the corresponding data on the LCD. Thus
the passengers can know the forthcoming station and act accordingly. Here in our project
APR9600 voice module will also be provided for the audio indication of station arrival. It gives
the audio output of the prerecorded voice whenever required, as per the code logic. As this is the
prototype we will consider 4 push buttons as inputs for four different stations. This project uses
regulated 5V, 500mA power supply. 7805 three terminal voltage regulator is used for voltage
regulation. Full wave bridge rectifier is used to rectify the ac output of secondary of 230/12V
step down transformer.
I.INTRODUCTION
Automated fare collection (AFC) systems are used in many urban public transport systems
around the world. As the designation suggests, these are typically designed with the specific
purpose of automating the ticketing system, easing public transport use for passengers and
adding efficiency to revenue collection operations. In addition, AFC systems are used to enable
integrated ticketing across different public trans-port modes and operators in urban areas. This
chapter gives you an introduction about the Internet of Things and its real time applications. The
main idea behind this project is to collect the fare automatically using the Internet of Things in a
cost efficient manner.Internet of Things allows objects to sensed and controlled remotely across
existing network infrastructure.
II.LITERATURE REVIEW
Literature review was carried out throughout the whole project to gain knowledge and improve
the skills needed to complete this project. The main sources for this project are previous related
projects, research thesis, books, journals and online tutorials. This chapter focuses on the basic
concepts and all fundamental theories which related to this project and the drawbacks of the
current system.
EXISTING METHODOLOGY
At present, public transportation plays a key role in everyone’s life for budget friendly
transportation from one location to another location. So, nowadays we are utilizing the public
transportation like bus, train, auto etc for our easy way of transportation and we are not aware of
the bus in which at what time the bus will arrive and departs from the bus station, we don’t have
the information regarding bus location.
So, the passengers travelling in the public transport with lack of bus information in terms of bus
location, passenger count inside the bus etc. Recently we all aware of bus accidents which occurs
with any reasons and lost many precious life’s. We don’t have any information system regarding
of getting an alert of any bus met with an accident.
PROPOSED METHODOLOGY
The bus tracking system will provide information of the bus location to the remote user or
passengers out there. This system mainly gives the information of the bus in two methods
respectively. We are using two types of communications between bus driver to passengers & bus
driver to the transport department.
The first method is that we are informing the fellow passengers about the particular bus location
via RF Communication based sending data to the passengers waiting over at bus station. In this
method, we are using two models as one is RF Transmitter block (Bus Driver kit) & another one
is RF Receiver Block (Bus Station kit) in which it contains of four switches, Arduino Uno, GPS
Module, GSM Module, 16x2 LCD Display in RF Transmitter block and AT89C51 Micro-
controller unit in RF Receiver Block. The bus driver need to manually press the each switch
which represents the bus stops of the particular bus route and sends the data to the LCD Display
which is monitored in the bus station by waiting passengers. The displayed data will be as
”BUS TS1234 IS AT LOCATION: xxxxx” in the bus station block. Similarly the bus driver need
to press all the other respective switches after crossing the each bus stop in that bus route to send
the bus location to the passengers waiting over at bus station.
In second method, this is used for getting the accurate bus location to the passengers effectively
by GPS & GSM Communication in between bus driver and passengers in the metropolitan city
or the passengers waiting out of the bus station. The passengers will able to track the real time
bus location by using GSM technology by sending an SMS to the concerned mobile number sim
which is inserted in the GSM Module in RF Tx block. After that any remote user wants the
information of the particular bus location from anywhere in the city, the user is all need to do is
sending an text message to the mobile number in the GSM Module as “@9234564563” then the
GSM Module receives the message and Arduino checks for the GPS availability and sends a
command to the GPS Module to receive the location of the bus from the satellites and then it
sends the latitude & longitude co-ordinates to LCD Display in RF Tx block and it also send a
SMS containing the google map link as “ALERT, BUS.NO.TS1234 IS AT
LOCATION: https://www.google.co.in/maps/place/(latitude,langitude”. By this method any
remote user in the city will get access to the bus location in a very easy manner by sending a
single message.
It also gives information regarding any accident occurred to the bus at anytime to the concerned
transport in-charge and to the transport department. It is basically works with the principle of
limit switch which will be present in the bus driver circuit and whenever the accident occurred
the limit switch will get pressed by the obstacle in which it indicates accident occurred to
particular bus. Then Arduino sends the command to the GSM Module and it sends the accident
prone area location as “ALERT, ACCIDENT DETECTED FOR BUS NO.TS1234, AT
LOCATION: https://www.google.co.in/maps/place/(latitude,langitude” to the concerned
transport department, Hospitals, Ambulance and Police Department.
Through this system we are able to get the information of bus in terms of bus location to the
public and accident detection of bus to the concerned departments in two types of
Communication which is RF Communication and GPS,GSM Communication.
RF Communication System
The primary motivation for this article was the design of a wireless communication system for
monitoring environmental parameters in bulk materials, namely, wood chip. This is a situation
where it is not possible to use sensors connected to a fixed bus line. The architecture of the
wireless RF monitoring system is in Figure 1 [12].
In the proposed monitoring system, n environmental sensors are located in the monitored area.
As the monitored area may be larger than the range of RF transmitting modules, the system
contains m receiving modules. Each receiving module is capable of receiving data from a set of
sensors, while these sets may overlap. For the implementation of wireless communication,
technology was chosen that allows communication at a distance of min. 50m and automatic
reception of data from transmitter probes without the need for further configuration. Using WiFi
or Bluetooth communication would require the need to connect the transmitters to the wireless
network. The use of RF signal in the free RF band 433.19MHz appears to be optimal for use in
terms of implementation and energy-saving.
When analyzing the problem, the requirements for the entire monitoring system were defined as
follows:(i)temperature measurement in the range -10C to 90C with accuracy of +/-0.5C and
resolution of 0.1C,(ii)autonomous operation of measuring probes for at least three months,
(iii)probe design resistant to the pressure of stored material in which the probe is placed and
against mechanical stress caused by mechanisms used in processing and material handling,
(iv)operation of probes in the free RF band 433.92MHz,(v)one-way communication protocol
which allows detection of a duplicate multiprobe transmission on the receiver side,
(vi)parameterized probe transmission frequency depending on the temperature of the material,
(vii)reception of a signal covering the entire storage site, secured by multiple receivers with
duplicate measured data filtering,(viii)data model of the system—internal model of the
measurement system maintaining information on the hardware configuration, active sensors,
their physical location, measured data, and other supplementary information,(ix)secure data
transmission from probes to receiving modules, secure communication from the receiving
modules and the control computer, and secure communication between the client software and
the control computer,(x)platform independent, simple client software,(xi)remote access to data.
The hardware part of the monitoring system consists of the required number of measurement
probes transmitting the measured data and one or more receiving modules covering the
monitored site.
Measuring Probe
The task of the measuring probe is measuring the required physical quantity (temperature,
humidity, pressure, etc.) at regular intervals and sending this value over the RF interface. An
autonomous operation is assumed, so for this module it is necessary to contain a battery that will
provide power to the entire solution. Along with the measured values, battery voltage
information will also be sent over RF link.
The measuring probe module (Figure 2) is designed to measure environmental parameters such
as temperature, humidity, atmospheric pressure, solar radiation intensity, and the like. For
biomass temperature monitoring purposes was developed a variant containing a temperature
sensor. The purpose of the measurement probe is to process the measured value, prepare
telemetry data, format the data according to the entered key, and send the processed data via the
RF interface. Ultra Low Power (ULP) components will be used to ensure minimum power
consumption.
As a communication channel a radio transmission was selected with a carrier frequency of
433.199MHz and OOK modulation. On-off keying (OOK) denotes the simplest form of
amplitude-shift keying (ASK) modulation that represents digital data at the presence or absence
of a carrier wave. In its simplest form, the presence of a carrier for a specific duration represents
a binary one, while its absence for the same duration represents a binary zero [13].
The proposed monitoring system will work with one-way communication. For the data packet,
the following requirements were defined:(i)sufficiently large address space for
sensors(ii)variable packet items(iii)content of the data part: telemetry data and data from
connected sensors(iv)packet check(v)minimalistic demands for overhead communication
RF Transmission Security
When using RF communication in the free bandwidth, the weakest point is the unencrypted
transmission of measured data from the probes transmitter to the receiver. Such transmission
may be acquired, modified, and further transmitted, which represents a security risk. Since it is a
one- way transfer, it is not possible to exchange the encryption keys before the communication
itself. To implement secure transmission, the following requirements were defined:(1)utilization
of a symmetric cipher(2)computational light-weight encryption algorithm(3)encryption
algorithm suitable for small source message lengths(4)use of multiple encryption keys
To implement encryption into measuring probes, the cryptographic algorithm needs to be simple
because it is necessary to conserve electrical energy when it comes to autonomous measuring
probes. The methods of reducing power consumption are lowering the core frequency of the
microcontroller, use of microcontroller sleep modes, and minimization of the time when the
microcontroller works in RUN mode.
Another important parameter when selecting a suitable encryption algorithm is the length of the
message that is being sent. The resulting encrypted frame must not exceed 27B. The data frame
used (DATA_VW) is in Figure 4. The maximum frame length is 27B, of which 4B is the
overhead and 23B is the data itself. The minimum possible frame length is 5B: 4B overhead and
1B telemetry data. When using a probe with a temperature sensor, the communication frame will
have a length of 7B. An important parameter in choosing encryption algorithm is the length of
the encrypted block and the key size. Due to the minimum and maximum length of the
communication frame, the block length 8B is suitable. For this length, the data frame may have
lengths 8B, 16B, and 24B.
When implementing the cryptographic algorithm for data acquisition systems [16, 17], the means
of communication must be taken into account. In a one-way communication, the use of
symmetric encryption is the optimal choice. Based on the analysis of the efficiency and
complexity of the block cipher algorithms, we chose the SPECK algorithm.
Software Hardware
ALP Processor
C Peripherals
VB memory
Etc.,
Construction industry
Transport
Buildings and premises
Domestic service
Communications
Office systems and mobile equipment
Banking, finance and commercial
Medical diagnostics, monitoring and life support
Testing, monitoring and diagnostic systems
The principal advantage of the pure Harvard architecture - simultaneous access to more than one
memory system - has been reduced by modified Harvard processors using modern CPU cache
systems. Relatively pure Harvard architecture machines are used mostly in applications where
tradeoffs, such as the cost and power savings from omitting caches, outweigh the programming
penalties from having distinct code and data address spaces.
Digital signal processors (DSPs) generally execute small, highly-optimized audio or
video processing algorithms. They avoid caches because their behaviour must be extremely
reproducible. The difficulties of coping with multiple address spaces are of secondary concern to
speed of execution. As a result, some DSPs have multiple data memories in distinct address
spaces to facilitate SIMD and VLIW processing. Texas Instruments TMS320 C55x processors,
as one example, have multiple parallel data busses (two write, three read) and one instruction
bus.
Microcontrollers are characterized by having small amounts of program (flash memory)
and data (SRAM) memory, with no cache, and take advantage of the Harvard architecture to
speed processing by concurrent instruction and data access. The separate storage means the
program and data memories can have different bit depths, for example using 16-bit wide
instructions and 8-bit wide data. They also mean that instruction pre-fetch can be performed in
parallel with other activities. Examples include, the AVR by Atmel Corp, the PIC by Microchip
Technology, Inc. and the ARM Cortex-M3 processor (not all ARM chips have Harvard
architecture).
Even in these cases, it is common to have special instructions to access program memory as data
for read-only tables, or for reprogramming.
Arduino:
Arduino is a prototype platform (open-source) based on an easy-to-use hardware and
software. It consists of a circuit board, which can be programmed (referred to as a
microcontroller) and a ready-made software called Arduino IDE (Integrated Development
Environment), which is used to write and upload the computer code to the physical board.
The key features are −
Arduino boards are able to read analog or digital input signals from different sensors and
turn it into an output such as activating a motor, turning LED on/off, connect to the
cloud and many other actions.
You can control your board functions by sending a set of instructions to the
microcontroller on the board via Arduino IDE (referred to as uploading software).
Unlike most previous programmable circuit boards, Arduino does not need an extra piece
of hardware (called a programmer) in order to load a new code onto the board. You can
simply use a USB cable.
Additionally, the Arduino IDE uses a simplified version of C++, making it easier to learn
to program.
Finally, Arduino provides a standard form factor that breaks the functions of the micro-
controller into a more accessible package.
In this chapter, we will learn about the different components on the Arduino board. We
will study the Arduino UNO board because it is the most popular board in the Arduino board
family. In addition, it is the best board to get started with electronics and coding. Some boards
look a bit different from the one given below, but most Arduinos have majority of these
components in common.
Power USB
1 Arduino board can be powered by using the USB cable from your computer. All you need
to do is connect the USB cable to the USB connection (1).
Voltage Regulator
3 The function of the voltage regulator is to control the voltage given to the Arduino board
and stabilize the DC voltages used by the processor and other elements.
Crystal Oscillator
The crystal oscillator helps Arduino in dealing with time issues. How does Arduino
4 calculate time? The answer is, by using the crystal oscillator. The number printed on top of
the Arduino crystal is 16.000H9H. It tells us that the frequency is 16,000,000 Hertz or 16
MHz.
5, 17 Arduino Reset
You can reset your Arduino board, i.e., start your program from the beginning. You can
reset the UNO board in two ways. First, by using the reset button (17) on the board.
Second, you can connect an external reset button to the Arduino pin labelled RESET (5).
Analog pins
The Arduino UNO board has six analog input pins A0 through A5. These pins can read the
10
signal from an analog sensor like the humidity sensor or temperature sensor and convert it
into a digital value that can be read by the microprocessor.
Main microcontroller
Each Arduino board has its own microcontroller (11). You can assume it as the brain of
your board. The main IC (integrated circuit) on the Arduino is slightly different from board
11 to board. The microcontrollers are usually of the ATMEL Company. You must know what
IC your board has before loading up a new program from the Arduino IDE. This
information is available on the top of the IC. For more details about the IC construction and
functions, you can refer to the data sheet.
ICSP pin
Mostly, ICSP (12) is an AVR, a tiny programming header for the Arduino consisting of
12 MOSI, MISO, SCK, RESET, VCC, and GND. It is often referred to as an SPI (Serial
Peripheral Interface), which could be considered as an "expansion" of the output. Actually,
you are slaving the output device to the master of the SPI bus.
Power LED indicator
This LED should light up when you plug your Arduino into a power source to indicate that
13
your board is powered up correctly. If this light does not turn on, then there is something
wrong with the connection.
TX and RX LEDs
On your board, you will find two labels: TX (transmit) and RX (receive). They appear in
two places on the Arduino UNO board. First, at the digital pins 0 and 1, to indicate the pins
14
responsible for serial communication. Second, the TX and RX led (13). The TX led flashes
with different speed while sending the serial data. The speed of flashing depends on the
baud rate used by the board. RX flashes during the receiving process.
Digital I/O
The Arduino UNO board has 14 digital I/O pins (15) (of which 6 provide PWM (Pulse
15 Width Modulation) output. These pins can be configured to work as input digital pins to
read logic values (0 or 1) or as digital output pins to drive different modules like LEDs,
relays, etc. The pins labeled “~” can be used to generate PWM.
AREF
16 AREF stands for Analog Reference. It is sometimes, used to set an external reference
voltage (between 0 and 5 Volts) as the upper limit for the analog input pins.
ADVANTAGES OF ARDUINO
It is cheap
It comes with an open supply hardware feature that permits users to develop their own kit
The software of the Arduino is well-suited with all kinds of in operation systems like
Linux, Windows, and Macintosh, etc.
It also comes with open supply software system feature that permits tough software
system developers to use the Arduino code to merge with the prevailing programming
language libraries and may be extended and changed.
For beginners, it is very simple to use.
APPLICATIONS
4.1 INTRODUCTION:
The power supplies are designed to convert high voltage AC mains electricity to a suitable
low voltage supply for electronic circuits and other devices. A power supply 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”.
A power supply is a component that supplies power to at least one electric load.
Typically, it converts one type of electrical power to another, but it may also convert a a different
form of energy – such as solar, mechanical, or chemical - into electrical energy.
A power supply provides components with electric power. The term usually pertains to devices
integrated within the component being powered. For example, computer power supplies convert
AC current to DC current and are generally located at the rear of the computer case, along with
at least one fan. A power supply is also known as a power supply unit, power brick or power
adapter.
4.2 TRANSFORMER:
A transformer is a device that transfers electrical energy from one circuit to another
through inductively coupled conductors—the transformer's coils. A varying current in the first or
primary winding creates a varying magnetic flux in the transformer's core, and thus a varying
magnetic field through the secondary winding. This varying magnetic field induces a varying
electromotive force (EMF) or "voltage" in the secondary winding. This effect is called mutual
induction.
(or)
Transformer is a device that converts the one form energy to another form of energy like a
transducer.
Fig.4.2(A): Transformer
A transformer makes use of Faraday's law and the ferromagnetic properties of an iron core to
efficiently raise or lower AC voltages. It of course cannot increase power so that if the voltage is
raised, the current is proportionally lowered and vice versa.
Working of Transformer:
A transformer consists of two coils (often called 'windings') linked by an iron core, as
shown in figure below. There is no electrical connection between the coils, instead they are
linked by a magnetic field created in the core.
Fig.4.2.1: Basic Transformer
Transformers are used to convert electricity from one voltage to another with minimal loss of
power. They only work with AC (alternating current) because they require a changing magnetic
field to be created in their core. Transformers can increase voltage (step-up) as well as reduce
voltage (step-down).
Alternating current flowing in the primary (input) coil creates a continually changing magnetic
field in the iron core. This field also passes through the secondary (output) coil and the changing
strength of the magnetic field induces an alternating voltage in the secondary coil. If the
secondary coil is connected to a load the induced voltage will make an induced current flow. The
correct term for the induced voltage is 'induced electromotive force' which is usually abbreviated
to induced e.m.f. The iron core is laminated to prevent 'eddy currents' flowing in the core.
Transformers have two great advantages over other methods of changing voltage:
1. They provide total electrical isolation between the input and output, so they can be safely
used to reduce the high voltage of the mains supply.
2. Almost no power is wasted in a transformer. They have a high efficiency (power out /
power in) of 95% or more.
4.2.2 Classification of Transformer:
Step-Up Transformer
Step-Down Transformer
Step-Down Transformer:
Step down transformers are designed to reduce electrical voltage. Their primary voltage
is greater than their secondary voltage. This kind of transformer "steps down" the voltage applied
to it. For instance, a step down transformer is needed to use a 110v product in a country with a
220v supply.
Step down transformers convert electrical voltage from one level or phase configuration usually
down to a lower level. They can include features for electrical isolation, power distribution, and
control and instrumentation applications. Step down transformers typically rely on the principle
of magnetic induction between coils to convert voltage and/or current levels.
Step down transformers are made from two or more coils of insulated wire wound around a core
made of iron. When voltage is applied to one coil (frequently called the primary or input) it
magnetizes the iron core, which induces a voltage in the other coil, (frequently called the
secondary or output). The turn’s ratio of the two sets of windings determines the amount of
voltage transformation.
Step down transformers can be considered nothing more than a voltage ratio device.
With step down transformers the voltage ratio between primary and secondary will mirror the
"turn’s ratio" (except for single phase smaller than 1 kva which have compensated secondary). A
practical application of this 2 to 1 turn’s ratio would be a 480 to 240 voltage step down. Note that
if the input were 440 volts then the output would be 220 volts. The ratio between input and
output voltage will stay constant. Transformers should not be operated at voltages higher than
the nameplate rating, but may be operated at lower voltages than rated. Because of this it is
possible to do some non-standard applications using standard transformers.
Single phase steps down transformers 1 kva and larger may also be reverse connected to step-
down or step-up voltages. (Note: single phase steps up or step down transformers sized less than
1 KVA should not be reverse connected because the secondary windings have additional turns to
overcome a voltage drop when the load is applied. If reverse connected, the output voltage will
be less than desired.)
Step-Up Transformer:
A step up transformer has more turns of wire on the secondary coil, which makes a larger
induced voltage in the secondary coil. It is called a step up transformer because the voltage
output is larger than the voltage input.
Step-up transformer 110v 220v design is one whose secondary voltage is greater than its primary
voltage. This kind of transformer "steps up" the voltage applied to it. For instance, a step up
transformer is needed to use a 220v product in a country with a 110v supply. A step up
transformer 110v 220v converts alternating current (AC) from one voltage to another voltage. It
has no moving parts and works on a magnetic induction principle; it can be designed to "step-up"
or "step-down" voltage. So a step up transformer increases the voltage and a step down
transformer decreases the voltage.
The primary components for voltage transformation are the step up transformer core and coil.
The insulation is placed between the turns of wire to prevent shorting to one another or to
ground. This is typically comprised of Mylar, nomex, Kraft paper, varnish, or other materials. As
a transformer has no moving parts, it will typically have a life expectancy between 20 and 25
years.
4.3 DIODES:
Diodes allow electricity to flow in only one direction. The arrow of the circuit symbol
shows the direction in which the current can flow. Diodes are the electrical version of a valve
and early diodes were actually called valves.
A diode is a device which only allows current to flow through it in one direction. In this
direction, the diode is said to be 'forward-biased' and the only effect on the signal is that there
will be a voltage loss of around 0.7V. In the opposite direction, the diode is said to be 'reverse-
biased' and no current will flow through it.
4.4 Rectifier:
The purpose of a rectifier is to convert an AC waveform into a DC waveform (OR) Rectifier
converts AC current or voltages into DC current or voltage. There are two different rectification
circuits, known as 'half-wave' and 'full-wave' rectifiers. Both use components called diodes to
convert AC into DC.
The half-wave rectifier is the simplest type of rectifier since it only uses one diode, as shown in
figure.
Figure 2 shows the AC input waveform to this circuit and the resulting output. As you can see,
when the AC input is positive, the diode is forward-biased and lets the current through. When
the AC input is negative, the diode is reverse-biased and the diode does not let any current
through, meaning the output is0V. Because there is a 0.7V voltage loss across the diode, the
peak output voltage will be 0.7V less than Vs.
While the output of the half-wave rectifier is DC (it is all positive), it would not be suitable as a
power supply for a circuit. Firstly, the output voltage continually varies between 0V and Vs-
0.7V, and secondly, for half the time there is no output at all.
When the AC input is positive, diodes A and B are forward-biased, while diodes C and D are
reverse-biased. When the AC input is negative, the opposite is true - diodes C and D are
forward-biased, while diodes A and B are reverse-biased. While the full-wave rectifier is an
improvement on the half-wave rectifier, its output still isn't suitable as a power supply for most
circuits since the output voltage still varies between 0V and Vs-1.4V. So, if you put 12V AC in,
you will 10.6V DC out.
4.5 CAPACITOR FILTER:
The capacitor-input filter, also called "Pi" filter due to its shape that looks like the Greek
letter pi, is a type of electronic filter. Filter circuits are used to remove unwanted or undesired
frequencies from a signal.
A typical capacitor input filter consists of a filter capacitor C1, connected across the rectifier
output, an inductor L, in series and another filter capacitor connected across the load.
1. The capacitor C1 offers low reactance to the AC component of the rectifier output while
it offers infinite reactance to the DC component. As a result the capacitor shunts an
appreciable amount of the AC component while the DC component continues its journey
to the inductor L
2. The inductor L offers high reactance to the AC component but it offers almost zero
reactance to the DC component. As a result, the DC component flows through the
inductor while the AC component is blocked.
3. The capacitor C2 bypasses the AC component which the inductor had failed to block. As
a result, only the DC component appears across the load RL.
78xx:’78’ indicate the positive series and ‘xx’indicates the voltage rating. Suppose 7805
produces the maximum 5V.’05’indicates the regulator output is 5V.
79xx:’78’ indicate the negative series and ‘xx’indicates the voltage rating. Suppose 7905
produces the maximum -5V.’05’indicates the regulator output is -5V.
Pin3: It is used for output pin. Through this pin we get the output.
Fig.4.6: Regulator
BLOCK DIAGRAM-
TRANSMITTER SIDE-
POWER
SUPPLY
RF
SWITCH 1 ENCODER
HT12E
MICRO RF
SWITCH 2
CONTROLLER TRANSMIT
—TER
SWITCH 3
SWITCH 4
RECEIVER SIDE-
POWER LCD
SUPPLY DISPLAY
RF
MICRO
DECODE CONTROLL
R ER APR 9600
HT12D
RF
RECEIVE
R SPEAKER
Applications for RFID within the supply chain can be found at multiple frequencies and
different RFID solutions may be required to meet the varying needs of the marketplace.
Many of today’s RFID technologies cannot reliably cover areas wider than 4 to 5 feet,
making them unsuitable for wide openings that are the norm in manufacturing,
distribution and store
receiving dock environments. Since UHF (Ultra High Frequency) can cover portals up to 9 feet
wide it is gaining industry support as the choice bandwidth for inventory tracking
applications including pallets and cases.
Technology providers are developing readers that work with multiple system protocols and
frequencies so that users will be able to choose the RFID products that work best for their
market and products.
Active RFID Tags are battery powered .They broadcast a signal to the reader and can transmit
over the greatest Distances (100+ feet).Typically they can cost $4.00 - $20.00 or more and are
used to track high value goods like vehicles and large containers of goods. Shipboard containers
are a good example of an active RFID tag application
Passive RFID Tags do not contain a battery. Instead, they draw their power from the reader.
The reader transmits a low power radio signal through its antenna to the tag, which in turn
receives it through its own antenna to power the integrated circuit (chip). The tag will briefly
converse with the reader for verification and the exchange of data. As a result, passive tags can
transmit information over shorter distances (typically 10 feet or less) than active tags. They have
a smaller memory capacity and are considerably lower in cost ($1.00 or less) making them ideal
for tracking lower cost items.
There are two basic types of chips available on RFID tags, Read-Only and Read-
Write. Read only chips are programmed with unique information stored on them during
the manufacturing process. The information on read-only chips can never be changed.
With Read-Write chips, the user can add information to the tag or write over existing
information when the tag is within range of the reader. Read-Write chips are more expensive
that Read Only chips. Another method used is something called a "WORM" chip (Write Once
Read Many). It can be written once and then becomes "Read only" afterwards. This is a
desirable format since companies will be able to write an EPC (electronic product code) to the
tag when the product is produced and packaged.
Due to the current cost of the technology (both tags and infrastructure), the initial phase of
adoption for retailers is at carton and pallet marking applications. The current technology being
adopted for carton and pallet labeling is passive UHF tags (850 MHz – 950 MHz). As the cost of
tags and readers comes down, a wider adoption at the item marking level will develop.
In order for RFID to grow quickly, it is important that standards be developed so that the
technology providers are working toward a common goal of providing low cost and compatible
technologies. Not only will it drive down costs, but standards will also help users to reap the
greatest benefit from their investment by providing value throughout the whole supply chain.
EPC global, Inc. has proposed open standards for tags and readers with the intention of bringing
the costs down to a level where RFID tags could be applied to individual items. The work may
lead to the creation of a new global Internet network that would allow companies to track items
and enable end users to access the full benefits of RFID.
EPC global, Inc. has developed a specification for RFID tags to be used in the retail sector. The
specification does not mandate what type of tag to be used but is intended to provide guidelines
on data structure and how the tags should perform so that they can be used over a common
platform. It is tailored around the experiences gained from the implementation of UPC and its
success in the marketplace for more than 25 years. The specification requires that the chip
contain an Electronic Product Code (EPC). The chip must be able to communicate according to
an open standard and meet some minimum requirements so that it can be read by reading devices
anywhere.
Above is an example of a 96-bit EPC. It will allow sufficient capacity for 268 million
companies. Each manufacturer will have the ability to create up to 16 million object classes
with 68 billion serial numbers in each class. This should provide sufficient capacity to cover
all products manufactured in the world for many years to come. As an interim step, the Auto-
ID center is also proposing a 64-bit tag in order to minimize cost in the near term.
Potential Issues That Need Consideration When Choosing The Type Of RFID And
Method For Application To Your Products Or Packaging.
Enthusiasm within the RFID industry has resulted in much hype about the technology over the
past several years. As a result, it is important to embrace the technology with a bit of caution.
The following are some of the issues that require close scrutiny when investigating RFID:
Tag Cost – This should not to be confused with chip cost. Although the goal is to bring the cost
of the tag (chip and antenna) down to 5 cents, this goal is in the future since it both assumes
manufacturing breakthroughs and is predicated on consumption in the billions of tags per year.
Today, the cost is closer to "less than 50 cents" for a read/write solution in high (millions)
volume. Ultimate tag cost will also be very much dependent on the type of chip required (read
only versus read/write), size of the antenna needed and how it is packaged to meet a specific
application.
Tag Size – Tag size is dependent on the read range desired. Although the chips are very tiny,
they will not operate without being mounted to an antenna. The size of the antenna will
determine the read distance performance of the tag so understanding the size of the antenna
needed for the application is more important than the size of the chip alone.
Infrastructure Cost – Much focus appears to be placed on the tag cost since it is a recurring
expenditure. Reader cost and infrastructure costs for implementing RFID must also be looked at
very closely as well. Both the software systems requirements and physical environment, in which
RFID is intended to be used, are critical to the ultimate performance of a system and may require
changes to accommodate using it effectively. As an example, RFID chips cannot be read through
metal objects. Other forms of electromagnetic interference may also impede performance of he
technology and require changes to the physical environment where RFID will be used. The
number and types of readers will also be a major expenditure depending on your application.
Read Distances – Read distances for RFID are very much dependent on the frequency chosen
for the application. Tag orientation also affects the read range as the range diminishes as the tag
is rotated from
being perpendicular to the path to the reader. Reading reliability is quite good when labels are
alone in a reader field like cases on a conveyor line, but less certain when the labels are
randomly oriented as with labeled cases on a skid. The antenna size (both on the tag and the
readers) will also be a determining factor. Hand held readers are not capable of using as much
power as stationary readers and as a result provide shorter read distances.
Government Regulation – Governments around the world regulate the use of the frequency
spectrum. Different countries have already assigned certain parts of the spectrum for other
uses and as a result, there is virtually no part of the spectrum that is available everywhere in
the world for use by RFID. This means that a RFID tag may not work in all countries. As an
example if you choose the Ultra High Frequency (UHF) frequency that
Operates at 915MHz in the U.S. and you ship your product to Europe, they may not be able to
be read it since Europe operates in the UHF spectrum at 869 MHz. This is an important
consideration when operating in a global environment.
Anti-Collision – This is an important feature of RFID chips/readers since it will allow multiple
tags to be read while grouped in one reader field. It is not available on all RFID tags but is an
important feature if you are planning to use RFID for inventory counts, shipping and receiving
where multiple tags need to be read at the same time.
Privacy Issues – Consumer groups have expressed concern over the potential (real or imagined)
privacy invasion that might result with widespread RFID item marking. These groups are
pushing for legislation that will require manufacturers to advise consumers that the products
contain RFID devices and must provide a means so that the devices can be disabled at point of
purchase. These issues are most prevalent at the item marking level and will have little impact on
the implementation of carton and pallet labeling.
RFID
Glossary of Commonly Used Terms:
Active Tag – An RFID tag that uses a battery to power its microchip and communicate with a
reader. Active tags can transmit over the greatest distances (100+ feet). Typically they can cost
$20.00 or more and are used to track high value goods like vehicles and large containers of
merchandise.
Agile Reader – A reader that can read different types of RFID tags – either made by different
manufacturers or operating on different frequencies.
Automatic Data Capture (ADC) – Methods of collecting data and entering it directly into a
computer system without human intervention. Automatic Identification (Auto-ID) Refers to
any technologies for capturing and processing data into a computer system without using a
keyboard. Includes bar coding, RFID and voice recognition.
Auto-ID Center – A group of potential RFID end users, technology companies and
academia. The Auto-ID center began at the Massachusetts Institute of Technology (MIT)
and is now a global entity. It is focused on driving the commercialization of ultra-low cost
RFID solutions that use Internet like infrastructure for tracking goods throughout the global
supply chain. The Auto-ID Center organization is now EPC global.
EPC global – The association of companies that are working together to set standards for
RFID in the retail supply chain. EPC global is a joint venture between EAN International
and the Uniform Code Council, Inc.
Radio Frequency Identification (RFID)
A method of identifying items uniquely using radio waves. Radio waves do not require line
of site and can pass through materials like cardboard and plastic but not metals and some
liquids.
Read Range
The distance from which a reader can communicate with a tag. Several factors including
frequency used orientation of the tag, power of the reader and design of the antenna
affect range.
Reader
Also called an interrogator. The RFID reader communicates via radio waves with the RFID
tag and passes information in digital form to the computer system. Readers can be configured
with antennas in many formats including handheld devices, portals or conveyor mounted.
Read-Write Tags
RFID chips that can be read and written multiple times. Read/Write tags can accept data at
various points along the distribution cycle. This may include transaction data at the retail point
of sale. They are typically more expensive than read only tags but offer more flexibility.
RFID Transponder
Another name for a RFID tag. Typically refers to a microchip that is attached to an antenna,
which communicates with a reader via radio waves. RFID tags contain serial numbers that are
permanently encoded, and which allow them to be uniquely id
"WORM" Chip (Write Once Read Many) and then becomes "Read only" afterward.
Liquid Crystal Display
A liquid crystal display (LCD) is a thin, flat display device made up of any number of
colour or monochrome pixels arrayed in front of a light source or reflector. Each pixel consists
of a column of liquid crystal molecules suspended between two transparent electrodes, and two
polarizing filters, the axes of polarity of which are perpendicular to each other. Without the
liquid crystals between them, light passing through one would be blocked by the other. The
liquid crystal twists the polarization of light entering one filter to allow it to pass through the
other.
A program must interact with the outside world using input and output devices that
communicate directly with a human being. One of the most common devices attached to an
controller is an LCD display. Some of the most common LCDs connected to the contollers are
16X1, 16x2 and 20x2 displays. This means 16 characters per line by 1 line 16 characters per line
by 2 lines and 20 characters per line by 2 lines, respectively.
Many microcontroller devices use ‘smart LCD’ displays to output visual information.
LCD displays designed around LCD NT-C1611 module, are inexpensive, easy to use, and it is
even possible to produce a readout using the 5X7 dots plus cursor of the display. They have a
standard ASCII set of characters and mathematical symbols. For an 8-bit data bus, the display
requires a +5V supply plus 10 I/O lines (RS RW D7 D6 D5 D4 D3 D2 D1 D0). For a 4-bit data
bus it only requires the supply lines plus 6 extra lines(RS RW D7 D6 D5 D4). When the LCD
display is not enabled, data lines are tri-state and they do not interfere with the operation of the
microcontroller.
5.2.1 Description Of 16x2:
This is the first interfacing example for the Parallel Port. We will start with something
simple. This example doesn’t use the Bi-directional feature found on newer ports, thus it should
work with most, if no all-Parallel Ports. It however doesn’t show the use of the Status Port as an
input. So what are we interfacing? A 16 Character x 2 Line LCD Module to the Parallel Port.
These LCD Modules are very common these days, and are quite simple to work with, as all the
logic required to run them is on board.
Intelligent, with built-in Hitachi HD44780 compatible LCD controller and RAM
providing simple interfacing
61 x 15.8 mm viewing area
5 x 7 dot matrix format for 2.96 x 5.56 mm characters, plus cursor line
Can display 224 different symbols
Low power consumption (1 mA typical)
Powerful command set and user-produced characters
TTL and CMOS compatible
Connector for standard 0.1-pitch pin headers
EN: Line is called “Enable.” This control line is used to tell the LCD that you are sending it
data. To send data to the LCD, your program should make sure this line is low (0) and then set
the other two control lines and/or put data on the data bus. When the other lines are completely
ready, bring EN high (1) and wait for the minimum amount of time required by the LCD
datasheet (this varies from LCD to LCD), and end by bringing it low (0) again.
RS: Line is the “Register Select” line. When RS is low (0), the data is to be treated as a
command or special instruction (such as clear screen, position cursor, etc.). When RS is high (1),
the data being sent is text data which should be displayed on the screen. For example, to display
the letter “T” on the screen you would set RS high.
RW: Line is the “Read/Write” control line. When RW is low (0), the information on the data
bus is being written to the LCD. When RW is high (1), the program is effectively querying (or
reading) the LCD. Only one instruction (“Get LCD status”) is a read command. All others are
write commands, so RW will almost always be low. Finally, the data bus consists of 4 or 8 lines
(depending on the mode of operation selected by the user). In the case of an 8-bit data bus, the
lines are referred to as DB0, DB1, DB2, DB3, DB4, DB5, DB6, and DB7.
Logic status on control lines:
• E – 0 Access to LCD disabled
- 1 Access to LCD enabled
• R/W – 0 Writing data to LCD
- 1 Reading data from LCD
• RS – 0 Instructions
- 1 Character
Writing data to the LCD:
1) Set R/W bit to low
2) Set RS bit to logic 0 or 1 (instruction or character)
3) Set data to data lines (if it is writing)
4) Set E line to high
5) Set E line to low
Read data from data lines (if it is reading) on LCD:
1) Set R/W bit to high
2) Set RS bit to logic 0 or 1 (instruction or character)
3) Set data to data lines (if it is writing)
4) Set E line to high
5) Set E line to low
Entering Text:
First, a little tip: it is manually a lot easier to enter characters and commands in
hexadecimal rather than binary (although, of course, you will need to translate commands from
binary couple of sub-miniature hexadecimal rotary switches is a simple matter, although a little bit
into hex so that you know which bits you are setting). Replacing the d.i.l. switch pack with a of
re-wiring is necessary.
LCD Commands:
There are some present commands instructions in LCD, which we need to send to LCD
through some microcontroller. Some important command instructions are given below:
The APR9600 provided all the necessary features for recording and playing the audio with very
fewer external components at a very low cost. May be many of you are aware that the APR9600
audio recorder and playback IC is no longer manufacured!. The chip was manufactured by a
Taiwan based company called APLUS Integrated Circuits Inc. I have searched for it in retail
shops all across SP road Bangalore but the vendors said that the chip is no longer manufactured.
Features:
8 Ohm 10W Speaker
8 Ohm Speaker Pinout
Nominal Size: 20 mm
Impedance: 8 Ohm ± 15% at 1 KHz 1V
Resonant frequency: 750 Hz± 150 Hz at 1V
Sound pressure level: 86 dB/w ± 3 dB
Response: 10 dB (max)
Input power: 0.5W
Handling capacity: 1W
Operation must be normal at program source of 0.5W
Buzz, rattle, etc. must be normal at sine wave of 2 V
Magnet Size: 8 x 1 mm
Heat test: 60 ± 2° C
Humidity test: 40 ± 2° C
8 Ohm Speakers with different power rating
The purpose of speaker is to produce audio output that can be heard by the listeners. Speakers
are the transducers that used to convert the electromagnetic waves into sound waves. It receives
audio input from computer or audio receivers. The input fed to speaker is in analog or digital
form. Analog speakers simply amplify electromagnetic waves into sound waves while digital
first convert the signal into analog and then amplify it.
Sound produced by the speaker is defined by frequency and amplitude, where frequency
determines how high or low the pitch of the sound is. Amplitude or loudness of the speaker is
defines by the change in the air pressure created by the speaker’s sound waves.
We all know that, speakers have few different parameters like impedance, power handling, size,
frequency response. Here, impedance tells you that how much current will flow through a
speaker at a certain voltage. Like this speaker has 8 ohms of impedance and comes with a power
handling capacity of 1W.
In the below circuit diagram of Audio amplifier, speaker does not respond to high frequency.
If there is no voltage at control PIN 5 speaker doesn’t produce sound. By creating some noise
near Condenser Mic, then that sound converts into electrical signal using the transistor and then
fed to the PIN 5 of 555 timer IC. When there is voltage at PIN 5, output pulse width increases for
a moment and get detected by the speaker and produce sound.
In the circuit R2 and R3 resistor used for provide biasing to transistor and R1 for condenser mic,
you can also test the circuit by blowing the air over the condenser mic, the speaker will generate
sound accordingly.
2D-model
SOFTWARE EXPLINATION
Software Requirements
• Proteus simulation
• Arduino software
• Programming language
- has gathered around this open-source platform, their contributions have added up to an
incredible amount of accessible knowledge that can be of great help to novices and experts alike.
Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast prototyping,
aimed at students without a background in electronics and programming. As soon as it reached a
wider community, the Arduino board started changing to adapt to new needs and challenges,
differentiating its offer from simple 8-bit boards to products for IoT applications, wearable, 3D
printing, and embedded environments. All Arduino boards are completely open- source,
empowering users to build them independently and eventually adapt them to their particular
needs. The software, too, is open-source, and it is growing through the contributions of users
worldwide.
Why Arduino?
Thanks to its simple and accessible user experience, Arduino has been used in thousands
of different projects and applications. The Arduino software is easy-to-use for beginners, yet
flexible enough for advanced users. It runs on Mac, Windows, and Linux. Teachers and students
use it to build low cost scientific instruments, to prove chemistry and physics principles, or to get
started with programming and robotics. Designers and architects build interactive prototypes,
musicians and artists use it for installations and to experiment with new musical instruments.
Makers, of course, use it to build many of the projects exhibited at the Maker Faire, for example.
Arduino is a key tool to learn new things. Anyone - children, hobbyists, artists, programmers -
can start tinkering just following the step by step instructions of a kit, or sharing ideas online
with other members of the Arduino community. There are many other microcontrollers and
microcontroller platforms available for physical computing. Parallax Basic Stamp, Net media's
BX-24, Phidgets, MIT's Handyboard, and many others offer similar functionality. All of these
tools take the messy details of microcontroller programming and wrap it up in an easy-to-use
package. Arduino also simplifies the process of working with microcontrollers, but it offers some
advantage for teachers, students, and interested amateurs over other systems:
…This document explains how to install the Arduino Software (IDE) on Windows machines.
Download the Arduino Software(IDE)
Proceed with board specific instructions.
How to Download the Arduino Software (IDE):
Get the latest version from the download page. You can choose between the Installer (.exe) and
the Zip packages. We suggest you use the first one that installs directly everything you need to
use the Arduino Software (IDE), including the drivers. With the Zip package you need to install
the drivers manually.
When the download finishes, proceed with the installation and please allow the driver installation
process when you get a warning from the operating system.
Moving On
Connect your Arduino to the computer with the USB cable. You do not need the
battery for now. The green PWR LED will light. If there was already a program burned into the
Arduino, it will run.
Start the Arduino development environment. In Arduino-speak, programs are called “sketches”,
but here we will just call them programs.
In the editing window that comes up, enter the following program, paying attention to where
semi-colons appear at the end of command lines.
void setup()
{
Serial.begin(9600);
Serial.println("Hello World");
}
void loop() {}
6.2 MC Programming Language: Embedded C
This is the most widely used programming language for embedded
processors/controllers. Assembly is also used but mainly to implement those portions of the code
where very high timing accuracy, code size efficiency, etc. are prime requirements. Embedded C
is perhaps the most popular languages among Embedded Programmers for programming
Embedded Systems. There are many popular programming languages like Assembly, BASIC,
C++ etc. that are often used for developing Embedded Systems but Embedded C remains popular
due to its efficiency, less development time and portability.
6.3 Proteus:
Proteus:
Proteus is a simulation and design software tool developed by Lab centre
Electronics for Electrical and Electronic circuit design. It also possess 2D CAD drawing feature.
It deserves to bear the tagline “From concept to completion”.
About Proteus
It is a software suite containing schematic, simulation as well as PCB designing.
ISIS is the software used to draw schematics and simulate the circuits in real time. The
simulation allows human access during run time, thus providing real time simulation.
ARES is used for PCB designing. It has the feature of viewing output in 3D view of the
designed PCB along with components.
The designer can also develop 2D drawings for the product.
Features
ISIS has wide range of components in its library. It has sources, signal generators,
measurement and analysis tools like oscilloscope, voltmeter, ammeter etc., probes for real time
monitoring of the parameters of the circuit, switches, displays, loads like motors and lamps,
discrete components like resistors, capacitors, inductors, transformers, digital and analog
Integrated circuits, semi-conductor switches, relays, microcontrollers, processors, sensors etc.
ARES offers PCB designing up to 14 inner layers, with surface mount and through hole
packages. It is embedded with the foot prints of different category of components like ICs,
transistors, headers, connectors and other discrete components. It offers Auto routing and manual
routing options to the PCB Designer. The schematic drawn in the ISIS can be directly transferred
ARES.
Starting New Design
Step 1: Open ISIS software and select New design in File menu
Step 2: A dialogue box appears to save the current design. However, we are creating a new
design file so you can click Yes or No depending on the content of the present file. Then a Pop-
Up appears asking to select the template. It is similar to selecting the paper size while printing.
For now, select default or according to the layout size of the circuit.
Step 3: An untitled design sheet will be opened, save it according to your wish, it is better to
create a new folder for every layout as it generates other files supporting your design. However,
it is not mandatory.
Step 4: To Select components, Click on the component mode button.
Fig Component Mode
Step 5: Click on Pick from Libraries. It shows the categories of components available and a
search option to enter the part name.