ON
By
A.Shireesha (16VE5A0404)
Dhrudeep Parikh (15VE1A04C7)
S.Gayathri (15VE1A04D1)
S.Sriprada (15VE1A04H1)
CERTIFICATE
This is to certify that this Project Work entitled “ELECTRONIC GUIDE FOR
SUPER BAZAAR” is a bonafide work carried out by
Ms.A.Shireesha(16VE5A0404),Mr.DhrudeepParikh(15VE1A04C7),Ms.S.Gayathr
i(15VE1A04D1), Ms.S.Sriprada (15VE1A04H1) in partial fulfillment of the
requirements for the award of the degree of Bachelor of Technology from JNTU,
Hyderabad during the period 2018-19 under our guidance and supervision.
Mr.B.Venkanna B.Sreenevasu
EXTERNAL EXAMINER
DECLARATION
I,Ms.A.Shireesha(16VE5A0404)Mr.DhrudeepParikh(15VE1A04C7),Ms.S.Gayath
ri(15VE1A04D1),Ms.S.Sriprada(15VE1A04H1),hereby declare that the project
entitled “ELECTRONIC GUIDE FOR SUPER BAZAAR”, submitted in the partial
fulfillment of the requirements for the award of B.Tech., in Electronics and
Telecommunication Engineering affiliated to JNTU, Hyderabad is a authentic work
and has not been submitted to any other university or institution for award of the
degree.
A. Shireesha (16ve5a0404)
Dhrudeep Parikh (15ve1a04c7)
S.Gayathri (15ve1a04d1)
S.Sriprada (15ve1a04h1)
ACKNOWLEDGEMENT
I wish to express my sincere thanks to, Principal, for providing the college
facilities for the completion of the project.
Finally, I thank all the faculty members, supporting staff of ECE Dept. and
friends for their kind co-operation and valuable help for completing the project.
A. Shireesha (16VE5A0404)
Dhrudeep Parikh (15VE1A04C7)
S.Gayathri (15VE1A04D1)
S.Sriprada (15VE1A04H1)
ABSTRACT
The visually impaired people face a lot of challenges in their routine life. One
such challenge is that they have to depend completely on others for purchasing. In this
paper a solution has been given to identify and purchase products in the supermarket. This
system uses microcontroller and RFID technology. The blind people are provided with
low power RFID reader when they step into the supermarket. In the supermarket,
products are segregated and placed in the shelves. Each shelf is integrated with a passive
RFID tag along with unique ID which describes the category of the product and its
specification. The passive tag information is read by the RFID reader and sent to
microcontroller. The read tag ID is matched with recorded audio file in the APR9600 IC and
played through the speaker which is embedded with the RFID reader. As the recorded audio
file is unique to each product and clearly specifies about the product, they can decide
about acquiring the item by listening to the audio. On implementing this method, blind
people can satisfy their purchasing needs without others support.
CONTENTS
CHAPTER 1 INTRODUCTION
1.1 OBJECTIVE 01
CHAPTER 9 APR33A3 38
CHAPTER 10 SOFTWARE TOOLS 39
10.1 Introduction to KEIL
MICROVISION (IDE)
10.2 Flash Magic
10.3 Proteus Design Software
CHAPTER 11 IMPLEMENTATION 45
11.1 Circuit diagram
11.2 Software Program
CHAPTER 12 ADVANTAGES AND APPLICATIONS 46
CHAPTER 13 CONCLUSION 47
REFERENCES 48
CHAPTER 1
INTRODUCTION
Microcontroller manufacturers have been competing for a long time for attracting
choosy customers and every couple of days a new chip with a higher operating frequency,
more memory and upgraded A/D converters appeared on the market. However, most of them
had the same or at least very similar architecture known in the world of microcontrollers as
“8051 compatible”.
The main reason for their great success and popularity is a skillful chosen
configuration which satisfies different needs of a large number of users allowing at the same
time constant expansions (refers to the new types of microcontrollers). Besides, the software
has been developed in great extend in the meantime, and it simply was not profitable to
change anything in the microcontroller’s basic core. This is the reason for having a great
number of various microcontrollers which basically are solely upgraded versions.
4 Kb of ROM.
4 ports having in total of 32 input/output lines are in most cases sufficient to make all
necessary connections to peripheral environment.
Pins 21-28: Port 21 if there is no intention to use external memory then these port pins are
configured as general inputs/outputs. In case external memory is used, the higher address
byte, i.e. addresses A8-A15 will appear on this port. Even though memory with capacity of
64Kbnot used, which means that not all eight port bits are used for its addressing, the rest of
them are not available as inputs/outputs.
Pin 29: PSEN if external ROM is used for storing program then a logic zero (0) appears on it
every time the microcontroller reads a byte from memory.
Pin 30: ALE Prior to reading from external memory, the microcontroller puts the lower
address byte (A0-A7) on P0 and activates the ALE output. After receiving signal from the
ALE pin, the external register (usually 74HCT373 or 74HCT375 add-on chip) memorizes the
state of P0 and uses it as a memory chip address. Immediately after that, the ALU pin is
returned its previous logic state and P0 is now used as a Data Bus. As seen, port data
multiplexing is performed by means of only one additional (and cheap) integrated circuit. In
other words, this port is used for both data and address transmission.
Pin 31:EA By applying logic zero to this pin, P2 and P3 are used for data and address
transmission with no regard to whether there is internal memory or not. It means that even
there is a program written to the microcontroller, it will not be executed. Instead, the program
written to external ROM will be executed. By applying logic one to the EA pin, the
microcontroller will use both memories, first internal then external (if exists).
Pins 32-39: Port 0 Similar to P2, if external memory is not used, these pins can be used as
general inputs/outputs. Otherwise, P0 is configured as address output (A0-A7) when the ALE
pin is driven high (1) or as data output (Data Bus) when the ALE pin is driven low (0).
All 8051 microcontrollers have 4 I/O ports each comprising 8 bits which can be
configured as inputs or outputs. Accordingly, in total of 32 input/output pins enabling the
microcontroller to be connected to peripheral devices are available for use. Pin configuration,
i.e. whether it is to be configured as an input (1) or an output (0), depends on its logic state. In
order to configure a microcontroller pin as an input, it is necessary to apply logic zero (0) to
appropriate I/O port bit. In this case, voltage level on appropriate pin will be 0.Similarly, in
order to configure a microcontroller pin as an input, it is necessary to apply a logic one (1) to
appropriate port. In this case, voltage level on appropriate pin will be 5V (as is the case with
any TTL input).
Port 0: The P0 port is characterized by two functions. If external memory is used then the
lower address byte (addresses A0-A7) is applied on it. Otherwise, all bits of this port are
configured as inputs / outputs. The other function is expressed when it is configured as an
output. Unlike other ports consisting of pins with built-in pull-up resistor connected by it send
to 5 V.
Power supply, pins of this port have this resistor left out. This apparently small
Difference has its consequences .If any pin of this port is configured as an input
Then it acts as if “floats”. Such an input has unlimited input resistance and
Undetermined potential. When the pin is configured as an output, it acts as an
“Open drain”. By applying logic 0 to a port bit, the appropriate pin will be connected to
ground (0V). By applying logic 1, the external output will keep on “floating”. In order to
apply logic 1 (5V) on this output pin, it is necessary to built in an external pull-up resistor.
Port 1:P1 is a true I/O port, because it doesn't have any alternative functions as is the case
with P0, but can be configured as general I/O only. It has a pull-up resistor built-in and is
completely compatible with TTL circuits.
Port 2: P2 acts similarly to P0 when external memory is used. Pins of this port occupy
addresses intended for external memory chip. This time it is about the higher address byte
with addresses A8-A15. When no memory is added, this port can be used as a general
input/output port showing features similar to P1.
Port 3: All port pins can be used as general I/O but they also have an alternative function. In
order to use these alternative functions, a logic one must be applied to appropriate bit of the
P3 register. In terms of hardware, this port is similar to P0, with the difference that its pins
have a pull-up resistor built-in.
Pin's Current limitations: When configured as outputs (logic zero (0)), single port pins can
receive a current of 10mA. If all 8 bits of a port are active, a total current must be limited to
15mA (port P0: 26mA). If all ports (32 bits) are active, total maximum current must be
limited to 71mA. From the user’s point of view, everything works quite simply when
properly connected because most operations are performed by the microcontroller itself. The
8051 microcontroller has two pins for data read RD# (P3.7) and PSEN#. The first one is used
for reading data from external data memory (RAM), while the other is used for reading data
from external program memory (ROM).
A typical example of memory expansion by adding RAM and ROM chips (Hardware
architecture), is shown in figure above. Even though additional memory is rarely used with
the latest versions of the microcontrollers, we will describe in short what happens when
memory chips are connected according to the previous schematic. The whole process
described below is performed automatically.
2.3 COUNTERS AND TIMERS: As you already know, the microcontroller oscillator uses
quartz crystal for its operation. As the frequency of this oscillator is precisely defined and
very stable, pulses it generates are always of the same width, which makes them ideal for
time measurement. Such crystals are also used in quartz watches. In order to measure time
between two events it is sufficient to count up pulses coming from this oscillator. That is
exactly what the timer does. If the timer is properly programmed, the value stored in its
register will be incremented (or decremented) with register will be changed million times per
second, i.e. each microsecond. The 8051 microcontroller has 2 timers/counters called T0 and
T1. Their main purpose is to measure time and count external events. Besides, they can be
used for generating clock pulses to be used in serial communication, so called Baud Rate.
Timer T0: As seen in figure below, the timer T0 consists of two registers TH0 and TL0
representing a low and a high byte of one 16-digit binary number. Accordingly, if the content
of the timer T0 is equal to 0 (T0=0) then both registers it consists of will contain 0. If the
timer contains for example number 1000, then the TH0 register (high byte) will contain the
number 3, while the TL0 register (low byte) will contain decimal number 232.
The TMOD register selects the operational mode of the timers T0 and T1. As seen in
figure below, the low 4 bits (bit0 - bit3) refer to the timer 0, while the high 4 bits (bit4 - bit7)
refer to the timer 1. There are 4 operational modes and each of them is described herein.
GATE1 enables and disables Timer 1 by means of a signal brought to the INT1 pin (P3.3):
T1M1, T1M0 these two bits select the operational mode of the Timer 1.
T1M1 T1M0 MODE DESCRIPTION
0 0 0 13-bit timer
0 1 1 16-bit timer
1 0 2 8-bit auto-reload
1 1 3 Split mode
T0M1, T0M0 these two bits select the operational mode of the Timer 0.
0 0 0 13-bit timer
0 1 1 16-bit timer
1 0 2 8-bit auto-reload
1 1 3 Split mode
Timer Control (TCON) Register: TCON register is also one of the registers whose bits are
directly in control of timer operation. Only 4 bits of this register are used for this purpose,
while rest of them is used for interrupt control to be discussed later.
Fig: 2.4 TCON flag format
1 - Timer 1 is enabled.
0 - Timer 1 is disabled.
1-Timer 0 is enabled
0- Timer 0 is disabled
Timer 1: Timer 1 is identical to timer 0, except for mode 3 which is a hold count mode. It
means that they have the same function, their operation is controlled by the same registers
TMOD and TCON and both of them can operate in one out of 4 different modes.
Introduction:
Primarily, the two main components involved in a Radio Frequency Identification system
are the Transponder (tags that are attached to the object) and the Interrogator (RFID reader).
Communication between the RFID reader and tags occurs wirelessly and generally does not
require a line of sight between the devices.
RFID reader/ Interrogator:
An RFID reader typically contains a module (transmitter and receiver), a control unit and a
coupling element (antenna). The reader has three main functions: energizing, demodulating
and decoding. In addition, readers can be fitted with an additional interface that converts the
radio waves returned from the RFID tag into a form that can then be passed on to another
system, like a computer or any programmable logic controller. Anti-Collision algorithms
permit the simultaneous reading of large numbers of tagged objects, while ensuring that each
tag is read only once.
RFID operates in several frequency bands. The exact frequency is controlled by the Radio
Regulatory body in each country.
RFID Frequencies:
Although there are other frequencies used, these are the main ones.
In the UHF band, there are two areas of interest. Several frequencies in the 400 MHz band
and then the band 860 – 930 MHz
Each of the frequency bands have advantages and disadvantages for operation. The lower
frequencies 125-134 kHz and 13.56 MHz work much better near water or humans than do the
higher frequency tags. Comparing passive tags, the lower frequencies usually have less range,
and they have a slower data transfer rate. The higher frequency ranges have more regulatory
controls and differences from country to country.
CHAPTER 4
RFID TAGS
4.1 RFID TAGS
2. Active tags
Active tags differ in that they incorporate their own power source, where as the tag is a
transmitter rather than a reflector of radio frequency signals which enables a broader range of
functionality like programmable and read/write capabilities.
3. Semi-passive tags
Semi-passive tags are similar to active tags in that they have their own power source, but the
battery only powers the microchip and does not power the broadcasting of a signal. The
response is usually powered by means of backscattering the RF energy from the reader, where
energy is reflected back to the reader as with passive tags. An additional application for the
battery is to power data storage. Semi-passive tags leads to greater sensitivity than passive
tags, typically 100 times more. The enhanced sensitivity can be leveraged as Semi-passive
tags have three main advantages: greater sensitivity than passive tags; longer battery powered
life cycle than active tags; they can perform active functions (such as temperature logging)
under their own power, even when no reader is present for powering the circuitry.
4.3 Applications:
RFID tags are useful for a huge variety of applications. Some of these applications
include: supply chain management, automated payment, physical access control, counterfeit
prevention, and smart homes and offices. RFID tags are also implanted in all kinds of
personal and consumer goods, for example, passports, partially assembled cars, frozen
dinners, ski-lift passes, clothing, and public transportation tickets. Implantable RFID tags for
animals allow concerned owners to label their pets and livestock. Verichip Corp. has also
created a slightly adapted implantable RFID chip, the size of a grain of rice, for use in
humans. Since its introduction, the Verichip was approved by the U.S. Food and Drug
Administration, and this tiny chip is currently deployed in both commercial and medical
systems.
CHAPTER 5
LCD INTERFACING
5.1 LCD Display
A liquid crystal display (LCD) is a thin, flat display device made up of any number of
color 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
controllers 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.
Features:
Shapes and S
(12) Built-in oscillator.
Data can be placed at any location on the LCD. For 16×1 LCD, the address locations
are:
A typical LCD write operation takes place as shown in the following timing waveform
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.
The switches must be the type where on = 0, so that when they are turned to the zero
position, all four outputs are shorted to the common pin, and in position “F”, all four outputs
are open circuit.
All the available characters that are built into the module are shown in Table 3.
Studying the table, you will see that codes associated with the characters are quoted in binary
and hexadecimal, most significant bits (“left-hand” four bits) across the top, and least
significant bits (“right-hand” four bits) down the left.
Initialization by Instructions:
The MAX232 IC is used to convert the TTL/CMOS logic levels to RS232 logic levels during
serial communication of microcontrollers with PC. The controller operates at TTL logic level
(0-5V) whereas the serial communication in PC works on RS232 standards (-25 V to + 25V).
This makes it difficult to establish a direct link between them to communicate with each
other.
External components :
Max232 requires minimum 4 external capacitor. Their Value can range from1µF to 10µF
and16 volts or more rating. There are many different versions of this versatile IC available
each of them Require different capacitor value for Proper working.
Fig6.2:MAX232 IC Construcion
Application and uses of MAX232:
MAX232 is used in Serial communication. Problem arises when we have to communicate
between TTL logic and CMOS logic based systems. RS232 is internationally defined
standard named as EIA/TIA-232-E and in this standard logic 0 is the voltage between +3 to
+15 and logic 1 is defined as the voltage between -3 to -15.In TTL logic 0 is defined is by 0
volt and 1 is defined by 5 volt so in this scenario this is a very handy IC to be incorporated.
Some of the applications &uses are, battery powered RS232 Systems Interface Translation,
LowPowerModems, RS232Network Multidrop, and Portable Computing.
Pin Description:
This power supply section is required to convert AC signal to DC signal and also to
reduce the amplitude of the signal. The available voltage signal from the mains is 230V/50Hz
which is an AC voltage, but the required is DC voltage (no frequency) with the amplitude of
+5V and +12V for various applications.
In this section we have Transformer, Bridge rectifier, are connected serially and
voltage regulators for +5V and +12V (7805 and 7812) via a capacitor (1000µF) in parallel are
connected parallel as shown in the circuit diagram below. Each voltage regulator output is
again is connected to the capacitors of values (100µF, 10µF, 1 µF, 0.1 µF) are connected
parallel through which the corresponding output (+5V or +12V) are taken into consideration.
The power supply block or circuit mainly consists of three parts. They are
1. Transformer
2. Rectifier (bridge rectifier)
3. Filter
4. Regulator
Power Supply :
The input to the circuit is applied from the regulated power supply. The a.c. input i.e.,
230V from the mains supply is step down by the transformer to 12V and is fed to a rectifier.
The output obtained from the rectifier is a pulsating voltage. So in order to get a pure d.c
voltage, the output voltage from the rectifier is fed to a filter to remove any a.c components
present even after rectification. Now, this voltage is given to a voltage regulator to obtain a
pure constant dc voltage.
Circuit Explanation
TRANSFORMER:
Usually, DC voltages are required to operate various electronic equipment and these
voltages are 5V, 9V or 12V. But these voltages cannot be obtained directly. Thus the a.c input
available at the mains supply i.e., 230V is to be brought down to the required voltage level.
This is done by a transformer. Thus, a step down transformer is employed to decrease the
voltage to a required level.
A transformer is a device that transfers electrical energy from one circuit to another
through inductively coupled electrical conductors. A changing current in the first circuit (the
primary) creates a changing magnetic field; in turn, this magnetic field induces a changing
voltage in the second circuit (the secondary). By adding a load to the secondary circuit, one
can make current flow in the transformer, thus transferring energy from one circuit to the
other.
The secondary induced voltage VS, of an ideal transformer, is scaled from the primary
VP by a factor equal to the ratio of the number of turns of wire in their respective windings:
Basic principle
The transformer is based on two principles: firstly, that an electric current can produce
a magnetic field (electromagnetism) and secondly that a changing magnetic field within a coil
of wire induces a voltage across the ends of the coil (electromagnetic induction). By changing
the current in the primary coil, it changes the strength of its magnetic field; since the changing
magnetic field extends into the secondary coil, a voltage is induced across the secondary.
Fig 7.3: An ideal step-down transformer showing magnetic flux in the core
Induction law
The voltage induced across the secondary coil may be calculated from Faraday's law
of induction, which states that:
Where VS is the instantaneous voltage, NS is the number of turns in the secondary coil
and Φ equals the magnetic flux through one turn of the coil. If the turns of the coil are
oriented perpendicular to the magnetic field lines, the flux is the product of the magnetic field
strength B and the area A through which it cuts. The area is constant, being equal to the cross-
sectional area of the transformer core, whereas the magnetic field varies with time according
to the excitation of the primary. Since the same magnetic flux passes through both the
primary and secondary coils in an ideal transformer, the instantaneous voltage across the
primary winding equals
Taking the ratio of the two equations for VS and VP gives the basic equation for
stepping up or stepping down the voltage
If the voltage is increased (stepped up) (VS > VP), then the current is decreased
(stepped down) (IS < IP) by the same factor. Transformers are efficient so this formula is a
reasonable approximation.
If the voltage is increased (stepped up) (VS > VP), then the current is decreased
(stepped down) (IS < IP) by the same factor. Transformers are efficient so this formula is a
reasonable approximation.
The impedance in one circuit is transformed by the square of the turns ratio. For
example, if an impedance ZS is attached across the terminals of the secondary coil, it appears
to the primary circuit to have an impedance of
This relationship is reciprocal, so that the impedance ZP of the primary circuit appears
to the secondary to be
BRIDGE RECTIFIERS:
A diode bridge or bridge rectifier is an arrangement of four diodes in a bridge
configuration that provides the same polarity of output voltage for any polarity of input
voltage. When used in its most common application, for conversion of alternating current
(AC) input into direct current (DC) output, it is known as a bridge rectifier. A bridge rectifier
provides full-wave rectification from a two-wire AC input, resulting in lower cost and weight
as compared to a center-tapped transformer design, but has two diode drops rather than one,
thus exhibiting reduced efficiency over a center-tapped design for the same output
voltage.
Basic Operation
When the input connected at the left corner of the diamond is positive with respect to
the one connected at the right hand corner, current flows to the right along the upper colored
path to the output, and returns to the input supply via the lower one.
When the right hand corner is positive relative to the left hand corner, current flows
along the upper colored path and returns to the supply via the lower colored path.
In each case, the upper right output remains positive with respect to the lower right
one. Since this is true whether the input is AC or DC, this circuit not only produces DC power
when supplied with AC power: it also can provide what is sometimes called "reverse polarity
protection". That is, it permits normal functioning when batteries are installed backwards or
DC input-power supply wiring "has its wires crossed" (and protects the circuitry it powers
against damage that might occur without this circuit in place).
This charge flows out as additional current through the load. Thus the change of load
current and voltage is reduced relative to what would occur without the capacitor. Increases
of voltage correspondingly store excess charge in the capacitor, thus moderating the change
in output voltage / current. Also see rectifier output smoothing.
The simplified circuit shown has a well deserved reputation for being dangerous,
because, in some applications, the capacitor can retain a lethal charge after the AC power
source is removed. If supplying a dangerous voltage, a practical circuit should include a
reliable way to safely discharge the capacitor. If the normal load can not be guaranteed to
perform this function, perhaps because it can be disconnected, the circuit should include a
bleeder resistor connected as close as practical across the capacitor. This resistor should
consume a current large enough to discharge the capacitor in a reasonable time, but small
enough to avoid unnecessary power waste.
Because a bleeder sets a minimum current drain, the regulation of the circuit, defined
as percentage voltage change from minimum to maximum load, is improved. However in
many cases the improvement is of insignificant magnitude.
The capacitor and the load resistance have a typical time constant τ = RC where C and
R are the capacitance and load resistance respectively. As long as the load resistor is large
enough so that this time constant is much longer than the time of one ripple cycle, the above
configuration will produce a smoothed DC voltage across the load.
In some designs, a series resistor at the load side of the capacitor is added. The
smoothing can then be improved by adding additional stages of capacitor–resistor pairs, often
done only for sub-supplies to critical high-gain circuits that tend to be sensitive to supply
voltage noise.
The idealized waveforms shown above are seen for both voltage and current when the
load on the bridge is resistive. When the load includes a smoothing capacitor, both the voltage
and the current waveforms will be greatly changed. While the voltage is smoothed, as
described above, current will flow through the bridge only during the time when the input
voltage is greater than the capacitor voltage. For example, if the load draws an average
current of n Amps, and the diodes conduct for 10% of the time, the average diode current
during conduction must be 10n Amps. This non-sinusoidal current leads to harmonic
distortion and a poor power factor in the AC supply.
Output can also be smoothed using a choke and second capacitor. The choke tends to
keep the current (rather than the voltage) more constant. Due to the relatively high cost of an
effective choke compared to a resistor and capacitor this is not employed in modern
equipment.
Some early console radios created the speaker's constant field with the current from
the high voltage ("B +") power supply, which was then routed to the consuming circuits,
(permanent magnets were considered too weak for good performance) to create the speaker's
constant magnetic field. The speaker field coil thus performed 2 jobs in one: it acted as a
choke, filtering the power supply, and it produced the magnetic field to operate the speaker.
VOLTAGE REGULATOR
The 78xx (also sometimes known as LM78xx) series of devices is a family of self-
contained fixed linear voltage regulator integrated circuits. The 78xx family is a very popular
choice for many electronic circuits which require a regulated power supply, due to their ease
of use and relative cheapness. When specifying individual ICs within this family, the xx is
replaced with a two-digit number, which indicates the output voltage the particular device is
designed to provide (for example, the 7805 has a 5 volt output, while the 7812 produces 12
volts). The 78xx line is positive voltage regulators, meaning that they are designed to produce
a voltage that is positive relative to a common ground. There is a related line of 79xx devices
which are complementary negative voltage regulators. 78xx and 79xx ICs can be used in
combination to provide both positive and negative supply voltages in the same circuit, if
necessary.
78xx ICs have three terminals and are most commonly found in the TO220 form
factor, although smaller surface-mount and larger TrO3 packages are also available from
some manufacturers. These devices typically support an input voltage which can be anywhere
from a couple of volts over the intended output voltage, up to a maximum of 35 or 40 volts,
and can typically provide up to around 1 or 1.5 amps of current (though smaller or larger
packages may have a lower or higher current rating).
CHAPTER 8
SPEAKER
Speaker: In order to translate an electrical signal into an audible sound, speakers contain an
electromagnet: a metal coil which creates a magnetic field when an electric current flows
through it. ... Inside a speaker, an electromagnet is placed in front of a permanent magnet
Speakers are one of the most common output devices used with computer systems. Some
speakers are designed to work specifically with computers, while others can be hooked up to
any type of sound system. Regardless of their design, the purpose of speakers is to produce
audio output that can be heard by the listener.
Speakers are transducers that convert electromagnetic waves into sound waves. The speakers
receive audio input from a device such as a computer or an audio receiver. This input may be
either in analog or digital form. Analog speakers simply amplify the analog electromagnetic
waves into sound waves. Since sound waves are produced in analog form, digital speakers
must first convert the digital input to an analog signal, and then generate the sound waves.
The sound produced by speakers is defined by frequency and amplitude. The frequency
determines how high or low the pitch of the sound is. For example, a soprano singer's voice
produces high frequency sound waves, while a bass guitar or kick drum generates sounds in
the low frequency range. A speaker system's ability to accurately reproduce sound
frequencies is a good indicator of how clear the audio will be. Many speakers include
multiple speaker cones for different frequency ranges, which helps produce more accurate
sounds for each range. Two-way speakers typically have a tweeter and a mid-range speaker,
while three-way speakers have a tweeter, mid-range speaker, and subwoofer.
Amplitude, or loudness, is determined by the change in air pressure created by the speakers'
sound waves. Therefore, when you crank up your speakers, you are actually increasing the air
pressure of the sound waves they produce. Since the signal produced by some audio sources
is not very high (like a computer's sound card), it may need to be amplified by the speakers.
Therefore, most external computer speakers are amplified, meaning they use electricity to
amplify the signal. Speakers that can amplify the sound input are often called active speakers.
You can usually tell if a speaker is active if it has a volume control or can be plugged into an
electrical outlet. Speakers that don't have any internal amplification are called passive
speakers. Since these speakers don't amplify the audio signal, they require a high level of
audio input, which may be produced by an audio amplifier.
CHAPTER 9
APR33A3 (AUDIO VOICE RECORDER AND PLAYBACK)
Audio playback board using APR33A3 IC for 8 channels of recording.
Features:
Total 11 minutes of recording time each channel (M0 to M7) having 1.3 minutes of recording
time.
Single chip, high quality voice recording and playback solution.
User friendly and easy to use operation.
Non-Volatile flash memory technology, no battery backup required.
Audio output to drive a speaker or audio out for public address system.
Can record voice with the help of on-board microphone
Keil development tools for the 8051 Microcontroller Architecture support every level
of software developer from the professional applications engineer to the student just learning
about embedded software development. The industry-standard Keil C Compilers, Macro
Assemblers, Debuggers, Real-time Kernels, Single-board Computers, and Emulators support
all 8051 derivatives and help you get your projects completed on schedule.
Simulation:
The µVision Simulator allows you to debug programs using only your PC using
simulation drivers provided by Keil and various third-party developers. A good simulation
environment, like µVision, does much more than simply simulate the instruction set of a
microcontroller — it simulates your entire target system including interrupts, start up code,
on-chip peripherals, external signals and I/O. This software is used for execution of
microcontroller programs.
Keil development tools for the MC architecture support every level of software
developer from the professional applications engineer to the student just learning about
embedded software development. The industry-standard keil C compilers, macro assemblers,
debuggers, real, time Kernels, Single-board computers and emulators support all
microcontroller derivatives and help you to get more projects completed on schedule. The
keil software development tools are designed to solve the complex. Problems facing by
embedded software developers.
When starting a new project, simply select the microcontroller you the device database
and the µvision IDE sets all compiler, assembler, linker, and memory options for you.
Numerous example programs are included to help you get started with the most popular
embedded avr devices.
The keil µ Vision debugger accurately simulates on-chip peripherals (PC, CAN, UART,
SPI, Interrupts, I/O ports, A/D converter, D/A converter and PWM modules) of your avr
device. Simulation helps you understand h/w configurations and avoids time wasted on
setup problems. Additionally, with simulation, you can write and test applications before
target h/w is available.
When you are ready to begin testing your s/w application with target h/w, use the
MON51, MON390, MONADI, or flash MON51 target monitors, the ISD51 In-System
Debugger, or the ULINK USB-JTAG adapter to download and test program code on your
target system.
Flash Magic provides a clear and simple user interface to these features and more as
described in the following sections. Under Windows, only one application may have access
the COM port at any one time, preventing other applications from using the COM port. Flash
Magic only obtains access to the selected COM port when ISP operations are being
performed. This means that other applications that need to use the COM port, such as
debugging tools, may be used while Flash Magic is loaded. Note that in this manual third
party Compilers are listed alphabetically. No preferences are indicated or implied.
10.3 PROTEUS SOFTWARE
PCB Proto typing. Start the program by click the ISIS 6 Professional icon in Start Menu.
Prior to circuit construction, user must first identify the necessary components required in the
circuit. For example, in executing an 8-bit running light, the components needed are:
i. PIC16F877
ii. LED
iii. Resistor
iv. Capacitor m
Selecting Components
PIC16F877 PIC16F877
LED LED-BIBY
Resistor RESISTOR
Capacitor CAPACITOR
c) Parameter Settings: The most important part of Proteus simulation is setting up the
microcontroller. The configuration needs to be correct to cross out any setting error in time
for program simulation. To edit the parameter for PIC, right click on the PIC to select the
component and then left-click.
Edit Component dialog will pop up in this dialog, two things that need to set are Program
File: Your program’s hex file location Processor Clock Frequency .The oscillator frequency
that you used
SIMULATION
After completing the circuit assembly and configuration, now it’s time to verify
whether the source code compiled is virtually accurate or not. This is where the fun comes.
Proteus offer a whole lot of variety virtual devices. In fact, simulation using oscilloscope and
function generator can be done using Proteus. Even virtual hyper terminal is provided to
demonstrate how your code performs in real world without really doing the hardware section
yet. To start simulation, press the play button at the bottom toolbar. The LED’s are ON
initially. Then, when the push button is pressed, the LED’s will blink at a fast rate. To stop
the simulation, press the stop button or press Esc
Bill of materials (BOM) the term used to describe the "parts list" of components needed to
complete a saleable end-item. It generates a list of components needed to assemble the
project.
CHAPTER 11
IMPLEMENTATION
11.2 OPERATION: The Operation of Electronic Guide for Super Bazaar the power supply
voltage is 12V .Power supply is connected to 8052 microcontroller. The 8052 Microcontroller
has 40 pins. Each pin has its own importance. PowerSupply,Max232,RFID reader, RFID tags,
LCD Display,APR33A3, Speaker are connected to microcontroller.
MAX232 drives 5V to the microcontroller. It is a dual transmitter and receiver. It has 16 pins.
The information is stored in RFID reader. It is a device used to gather information from an
RFID tag, which is used to track individual objects. Radio waves are used to transfer data
from the tag to a reader. RFID tags are radio waves to read and capture information stored on
a tag attached to an object. A tag can be read from up to several feet away and does not need
to be within direct line-of-sight of the reader to be tracked. Power Supply is an electrical
device that supplies electric power to an electrical load. The primary function of a power
supply is to convert electric current from a source to the correct voltage,current,and frequency
to power the load. APR33A3 is a Audio voice recorder and playback .working voltage is
5V.The information about the project we need to record our voice and through the Speaker
we can hear the information such as product name, cost etc. Speaker is used to convert
electrical signal into an audible sound. We can see the information i.e., the product name and
cost through LCD(liquid crystal display) display . It is an electronic display module and find
a wide range of applications. A 16*2 lcd display is a very basic module and is very
commonly used in various devices and circuits. A 16*2 lcd means it can display 16 characters
per line and there are two such lines.
CHAPTER 10
ADVANTAGES AND APPLICATIONS
ADVANTAGES:
1. RFID system does not need Line of sight (LOS) unlike bar-codes or
APPLICATIONS:
CONCLUSION:
This project work presents a modern way to identify and purchase products in
the super market.
In the super market, products are segregated and placed in shelves. each shelf
is integrated with a passive RFID tag along with unique ID which describes
the category of the product and its specification.
As the recorded audio file is unique to each product and clearly specifies about
the product, they can decide about acquiring the item by listening to the audio.
o Kenneth J. Ayala
o B. Ram
o Ramesh S.Gaonkar
Electronic Components
o D.V.Prasad
APPENDIX-2
SOFTWARE CODE
#include<reg51.h>
#include<intrins.h>
#define lcd P2
bit start;
void lcd_init();
void lcd_cmnd(char );
void lcd_data(char );
void compare_function();
void welcome_data(void);
void vehicle_data(void);
char b[20];
c [3]= {'D','B','6'};
d [3] = {'C','4','F'};
e [3] = {'2','F','8'};
f [3] = {'4','E','8'};
g [3] = {'8','6','9'};
h [3] = {'C','8','9'};
k [3] ={'8','D','0'};
l [3] = {'0','A','D'};
m [3] = {'B','C','D'};
void main(void)
TMOD=0x20;
TH1 =0xFD;
SCON=0x50;
TR1 =1;
lcd_init();
welcome_data();
vehicle_data();
IE =0x90;
while(1)
delayms (300);
if(start==1)
lcd_cmnd (0x80);
lcd_string ("card no: ");
lcd_cmnd (0xc0);
for (i=0;i<12;i++)
lcd_data(b[i]);
delayms(800);
compare_function();
delayms(150);
vehicle_data();
start=0;cnt=0;j=0;i=0;
void compare_function()
if((b[9]==a[0])&&(b[10]==a[1])&&(b[11]==a[2]))
lcd_cmnd(0x01);
lcd_cmnd(0x80);
lcd_string("SURF EXCEL");
lcd_cmnd (0xC0);
lcd_string ("RS:10/-");
P1=0XFE;
delayms (1200);
P1=0XFF;
else if((b[9]==c[0])&&(b[10]==c[1])&&(b[11]==c[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
lcd_string ("RS:10/-");
P1=0XFD;
Delayms (800);
P1=0XFF;
else if((b[9]==d[0])&&(b[10]==d[1])&&(b[11]==d[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
delayms (800);
P1=0XFF;
else if((b[9]==e[0])&&(b[10]==e[1])&&(b[11]==e[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
lcd_string ("RS:10/-");
P1=0XF7;
delayms (800);
P1=0XFF;
else if((b[9]==f[0])&&(b[10]==f[1])&&(b[11]==f[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
lcd_string ("RS:29/-");
P1=0XEF;
delayms (800);
P1=0XFF;
else if((b[9]==g[0])&&(b[10]==g[1])&&(b[11]==g[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_string ("KURKURE");
lcd_cmnd (0xC0);
P1=0XDF;
delayms (800);
P1=0XFF;
else if((b[9]==h[0])&&(b[10]==h[1])&&(b[11]==h[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_string ("PENCILS");
lcd_cmnd (0xC0);
lcd_string ("RS:49/-");
P1=0XBF;
delayms (800);
P1=0XFF;
else if((b[9]==k[0])&&(b[10]==k[1])&&(b[11]==k[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_string ("RICE");
lcd_cmnd (0xC0);
P1=0X7F;
delayms (800);
P1=0XFF;
else if((b[9]==l[0])&&(b[10]==l[1])&&(b[11]==l[2]))
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_string ("SUGAR");
lcd_cmnd (0xC0);
delayms (500);
else if((b[9]==m[0])&&(b[10]==m[1])&&(b[11]==m[2]))
{
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
delayms (500);
else
lcd_cmnd (0x01);
lcd_cmnd (0x80);
delayms (500);
unsigned int q, p;
for(q=0;q<itime;q++)
for(p=0;p<121;p++)
}
/*............welcome data...................*/
void welcome_data(void)
lcd_cmnd (0x01);
lcd_cmnd (0x80);
lcd_cmnd (0xC0);
delayms (2000);
lcd_cmnd (0x01);
lcd_cmnd (0x80);
delayms (2000);
lcd_cmnd (0x01);
lcd_cmnd (0x80);
/***************************************/
void vehicle_data(void)
lcd_cmnd (0x01);
lcd_cmnd (0x80);
void serial0(void)interrupt 4
while(TI!=0)
while(RI!=0)
b[i]=SBUF;
i++;
cnt++;
if(cnt==11)
start=1;
void lcd_init()
{
lcd_cmnd(0x28);
lcd_cmnd(0x06);
lcd_cmnd(0x0c);
lcd_cmnd(0x01);
while(*ptr)
lcd_data(*ptr);
ptr++;
void lcd_cmnd(char c)
delayms(5);
lcd = ((c&0xf0)|0x02);
lcd = 0;
lcd = ((c<<4)|0x02);
lcd = 0;
delayms(20);
}
void lcd_data(char c)
delayms(5);
lcd = ((c&0xf0)|0x03);
lcd = 0;
lcd = ((c<<4)|0x03);
lcd = 0;
delayms(20);
}
APPENDIX-3
HARDWARE KIT IMAGES
LIST OF FIGURES
7.4 Waveforms 41