Shopping Cart Report Final
Shopping Cart Report Final
CHAPTER - 1
INTRODUCTION AND PROBLEM STATEMENT
1.1 INTRODUCTION
As consumer behavior continues to evolve in the digital age, traditional retail environments
are increasingly challenged to meet the expectations of modern shoppers. Long queues at
checkout counters can lead to frustration and dissatisfaction, causing shoppers to seek
alternative options, including online shopping. This shift emphasizes the need for innovation
in physical retail spaces to enhance customer experience and operational efficiency. One of
the primary challenges faced by supermarkets and retail outlets is the inefficiency of the
billing process. Conventional barcode systems, while effective, require manual scanning,
which can be time-consuming, especially during busy shopping periods. This process often
leads to delays, customer complaints, and ultimately lost sales opportunities. To combat this
issue, there is a growing interest in integrating advanced technologies that can facilitate
faster, more efficient shopping experiences. The Smart Shopping Cart with IoT-Based
Automatic Billing System is an innovative solution that leverages RFID technology and IoT
connectivity to transform the way customers shop. By equipping shopping carts with RFID
readers, customers can simply place products with RFID tags into their carts without needing
to wait in line for manual scanning at the checkout.
In addition to enhancing the checkout process, this system also addresses safety concerns
associated with crowded shopping environments. By incorporating ultrasonic sensors, the
smart cart can detect the presence of nearby shoppers and obstacles, helping to prevent
collisions and ensure smooth navigation through aisles. This feature not only enhances
customer safety but also contributes to a more pleasant shopping atmosphere. The integration
of IoT technology further enriches the user experience by enabling real-time data transfer. As
customers complete their shopping, the cart can wirelessly transmit billing information to a
central server, allowing for quick and secure payments.
1.3 OBJECTIVES
1. Enhance Customer Experience: Provide a seamless shopping experience by eliminating
long wait times at checkout counters through automated billing.
2. Integrate RFID Technology: Implement RFID readers in shopping carts to automatically
scan products equipped with RFID tags, ensuring efficient and accurate item tracking.
3. Implement Real-Time Billing: Enable real-time billing calculations as items are added or
removed from the cart, displayed clearly on an integrated LCD screen.
4. Incorporate IoT Connectivity: Utilize IoT technology to wirelessly transmit billing
information to a central server, facilitating quick and secure payment processing.
5. Monitor Customer Flow: Integrate ultrasonic sensors to detect obstacles and track
customer movement, enhancing safety and navigation within the store.
6. Enable Budget Management: Provide customers with the ability to set spending limits,
triggering alerts when their cart total exceeds the specified budget.
7. Data Collection for Retail Analytics: Gather valuable shopping data to help retailers
analyze customer behavior, optimize inventory management, and improve overall store
operations.
8. Promote Cashless Transactions: Facilitate cashless payments through integration with
mobile payment solutions, streamlining the checkout process for customers
CHAPTER – 2
LITERATURE SURVEY AND METHODOLOGY
Proposing a cart system that distributes the whole billing queue into smaller
individual units so that no one has to wait for the billing process at point of sales
(PoS) for specific items. This device uses radiofrequency identification (RFID)
technology to scan each product. A passive RFID sticker tag is attached with all the
products. The sticker tag contains information including name and price of the
product.
(2021);
Even through e-commence and other online applications are growing rapidly the craze
for traditional shopping has never stepped back. One difficulty is to follow up in a
queue for the billing process. There, arises a demand for easy and quick payment of
bills. The proposed Smart Cart in this paper, is capable of generating bill using IoT
along with the mobile cart application. With the use of this mobile application and
trolley, customer can make bill payment in no time. The smart cart uses the RFID tag
and receiver to scan the product, load cell to prevent theft, LCD display and the
Raspberry p i Along with this the customer can also log in with the mobile app which
will display the list of all the products mentioned and their amount. Once done, the
Radio frequency identification (RFID) technology may not only be useful for
streamlining inventory and supply chains: it could also make shoppers swarm. This
paper provides centralized and automated billing system using RFID and
communication. Each product of shopping mall, super markets will be provided with
a RFID tag, to identify its type. Each shopping cart is designed or implemented with a
RFID reader on shopping cart, mean while product information will be stored into
EEPROM attached to it and EEPROM data will be send to Central Billing System
through module
2.2 METHODOLOGY
The Smart Shopping Cart with IoT-Based Automatic Billing System is
LCD display, and ultrasonic sensors. Products in the store are tagged with RFID labels
containing unique identification and pricing details. When a customer places a product
into the cart, the RFID reader scans the tag, and the microcontroller processes the data
to update the total bill, displaying it on the LCD screen in real time. Ultrasonic sensors
are used to detect the proximity of the customer and obstacles, enabling features such as
CHAPTER 3
12V VOLTAGE
REGULATOR
BATTERY
Ultrasonic MOTOR
sensor DRIVER IC 1
RFID DC MOTORS
READER 1&2
MOTOR
DRIVER IC 1
RFID TAGS
DC MOTORS
3&4
WIFI SERVO
WEB APP
MODULE MOTOR
FIGURE 3.1.1 BLOCK
DIAGRAM
3.2 WORKING
The Smart Shopping Cart with IoT-Based Automatic Billing System integrates RFID
and IoT technologies to enhance the shopping experience. Each product in the store is fitted
with an RFID tag containing product-specific details like name, price, and unique
identification code. When a customer places a product into the cart, the RFID reader attached
to the cart scans the tag, and the information is sent to a microcontroller. The microcontroller
processes the data and displays the product details and price on an LCD screen attached to the
cart. The total bill is continuously updated as items are added or removed. A key feature of
this project is the customer-following mechanism, which is enabled by ultrasonic sensors.
Instead of manually pushing the cart, the cart autonomously follows the customer throughout
the store. The ultrasonic sensors detect the position and movement of the customer,
maintaining a consistent distance behind them. This eliminates the need for manually moving
the cart, allowing customers to focus solely on selecting products, which enhances
convenience and reduces physical effort.
The system also includes a Wi-Fi module for real-time communication with the
store’s central server. As the customer shops, the cart transmits the updated billing
information to the server, streamlining the checkout process by eliminating manual scanning
at the billing counter. Additionally, customers can set budget limits, and if exceeded, an alert
is triggered. Once shopping is complete, the cart can be locked via a servo motor, ensuring
security while the customer completes the digital payment
3.3 REQUIREMENTS
HARDWARE REQUIREMENTS
1. RFID READER
2. RFID TAGS
3. MICROCONTROLLER (ARDUINO NANO)
4. LCD DISPLAY
5. ULTRASONIC SENSORS
6. WI-FI MODULE (ESP8266 OR SIMILAR)
7. LCD DISPLAY
8. POWER SUPPLY (BATTERY OR ADAPTER)
9. BUZZER (FOR BUDGET ALERTS)
10.L293D MOTOR DRIVER BOARD
SOFTWARE REQUIREMENTS
1. PROTEOUS
2. BLUETOOTH CONTROLLER
3. ARDUINO ID
4. EAGLE
CHAPTER 4
HARDWARE AND SOFTWARE DESCRIPTIONS
4.1.1 ARDUINO
NANO
Arduino Nano is one type of microcontroller board, and it is designed by Arduino.cc.
It can be built with a microcontroller like Atmega328. This microcontroller is also used
in Arduino UNO. It is a small size board and also flexible with a wide variety of applications.
Other Arduino boards mainly include Arduino Mega, Arduino Pro Mini, Arduino UNO,
Arduino YUN and many more are AVR Development Board, PIC Development
Board, Raspberry Pi, Intel Edison, MSP430 Launchpad, and ESP32 board.
This board has many functions and features like an Arduino Duemilanove board.
However, this Nano board is different in packaging. It doesn’t have any DC jack so that the
power supply can be given using a small USB port otherwise straightly connected to the pins
like VCC & GND. This board can be supplied with 6 to 20volts using a mini USB port on the
board.
Power Pin (Vin, 3.3V, 5V, GND): These pins are power pins
Analog Pins (A0-A7): These pins are used to calculate the analog voltage of the
board within the range of 0V to 5V
I/O Pins (Digital Pins from D0 – D13): These pins are used as an i/p
otherwise o/p pins. 0V & 5V
Serial Pins (Tx, Rx): These pins are used to transmit & receive TTL serial data.
External Interrupts (2, 3): These pins are used to activate an interrupt.
PWM (3, 5, 6, 9, 11): These pins are used to provide 8-bit of PWM output.
SPI (10, 11, 12, & 13): These pins are used for supporting SPI
communication.
Inbuilt LED (13): This pin is used to activate the LED.
IIC (A4, A5): These pins are used for supporting TWI communication.
AREF: This pin is used to give reference voltage to the input voltage
The TX & RX LEDs on the Nano board will blink whenever information is being sent
out through the FTDI & USB link in the direction of the computer. The library-like
SoftwareSerial allows serial communication on any of the digital pins on the board.
The microcontroller also supports SPI & I2C (TWI) communication.
The programming of an Arduino nano can be done using the Arduino software. Click
the Tools option and select the nano board. Microcontroller ATmega328 over the
Nano board comes with preprogrammed with a boot loader. This boot loader lets to
upload new code without using an exterior hardware programmer. The
communication of this can be done with the STK500 protocol. Here the boot loader
can also be avoided & the microcontroller program can be done using the header of
in-circuit serial programming or ICSP with an Arduino ISP
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range
of applications. A 16x2 LCD display is very basic module and is very commonly used in
various devices and circuits. These modules are preferred over seven segments and other
multi segment LEDs. The reasons being: LCDs are economical; easily programmable; have
no limitation of displaying special & even custom characters (unlike in seven
segments), animations and so on.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this
LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers, namely,
Command and Data.
The command register stores the command instructions given to the LCD. A command is an
instruction given to LCD to do a predefined task like initializing it, clearing its screen, setting
the cursor position, controlling display etc. The data register stores the data to be displayed
on the LCD. The data is the ASCII value of the character to be displayed on the LCD. Click
to learn more about internal structure of a LCD.
8-Data pins carries 8-bit data or command from an external unit such as microcontroller.
V0 (Set Lcd contrast)
Set lcd contrast here. Best way is to use variable resistor such as potentiometer. Output of the
potentiometer is connected to this pin. Rotate the potentiometer knob forward and backward
to adjust the lcd contrast.
RS (Register select)
Their are two registers in every lcd
1 Command Register
2 Data Register
Command Register
When we send commands to lcd these commands go to Command register and are processed
their.
Commands with their full description are given in the picture below.When RS=0 Command
Register is Selected.
Data Register
When we send Data to lcd it goes to data register and is processed their.
When RS=1 Data Register is selected.
RW (Read - Write)
EN (Enable signal)
When you select the register(Command and Data) and set RW(read - write) now its
time to execute the instruction. By instruction i mean the 8-bit data or 8-bit command present
on Data lines of lcd.
This requires an extra voltage push to execute the instruction and EN(enable) signal
is used for this purpose. Usually we make it en=0 and when we want to exectue the
instruction we make it. high en=1 for some milli seconds. After this we again make it ground
en=0.high en=1 for some milli seconds. After this we again make it ground en=0.
VEE pin is meant for adjusting the contrast of the LCD display and the contrast can be
adjusted by varying the voltage at this pin. This is done by connecting one end of a POT to
the Vcc (5V), other end to the Ground and connecting the center terminal (wiper) of of the
POT to the VEE pin. See the circuit diagram for better understanding.
The JHD162A has two built in registers namely data register and command register. Data
register is for placing the data to be displayed , and the command register is to place the
commands. The 16×2 LCD module has a set of commands each meant for doing a particular
job with the display. We will discuss in detail about the commands later. High logic at the RS
pin will select the data register and Low logic at the RS pin will select the command register.
If we make the RS pin high and the put a data in the 8 bit data line (DB0 to DB7) , the LCD
module will recognize it as a data to be displayed . If we make RS pin low and put a data on
the data line, the module will recognize it as a command.
R/W pin is meant for selecting between read and write modes. High level at this pin enables
read mode and low level at this pin enables write mode. E pin is for enabling the module. A
high to low transition at this pin will enable the module.
DB0 to DB7 are the data pins. The data to be displayed and the command instructions are
placed on these pins.
LED+ is the anode of the back light LED and this pin must be connected to Vcc through a
suitable series current limiting resistor. LED- is the cathode of the back light LED and this
pin must be connected to ground.
LCD initialization.
The steps that has to be done for initializing the LCD display is given below and these steps
are common for almost all applications.
The steps for sending data to the LCD module is given below. I have already said that the
LCD module has pins namely RS, R/W and E. It is the logic state of these pins that make the
module to determine whether a given data input is a command or data to be displayed.
Command Function
01 Clear screen
02 Return home
04 Decrement cursor
06 Increment cursor
In this tutorial we will show how to connect ESP8266 Wi-Fi module to Arduino. We
will use software serial port. HW serrial port will be available for program uploading and
debugging.
ESP8266 WiFi module is WiFi serial transceiver module, based on ESP8266. Small size and
low cost makes it suitable for sensor nodes. It works on 3.3V and consumes current up to
250mA. Current consumption is quite big so it's usually not powered on battery. If you are
using 5V Arduino, then read ESP8266 WiFi and 5V Arduino connection.
For arduino board we will use Arduino pro mini 3.3V 8Mhz and software serial port. HW
serrial port will be available for program uploading and debugging. Later you can switch
module to HW serial port. Before we start using ESP8266 WiFi module we need to update
ESP8266 firmware. We use V0.9.2.2 version of firmware. Detail instructions how to update
firmware can be found here. New firmware default baudrate is 9600 which makes possible to
use software serial on Arduino board.
ESP8266 Features
802.11 b/g/n protocol
Wi-Fi Direct (P2P), soft-AP
Integrated TCP/IP protocol stack
Integrated TR switch, balun, LNA, power amplifier and matching network
Integrated PLL, regulators, and power management units
+ 19.5dBm output power in 802.11b mode
Integrated temperature sensor
4.1.6 BATTERY:
Lead-acid batteries: These are the most common type of 12-volt battery. They are
relatively inexpensive and widely available, but they are also the heaviest and bulkiest type of
12-volt battery. Lead-acid batteries can be damaged by being overcharged or discharged, and
they need to be regularly maintained.
The batteries are used as a storage device for solar energy which can be further
converted into electrical energy. The only exceptions are isolated sunshine load such as
irrigation pumps or drinking water supplies for storage, for small units with output less than
one 9v Batteries seem to be the only technically and economically available storage means
To be economically attractive the storage of solar electricity requires a battery with following
particular combination of properties:
L293D is a dual H-bridge motor driver integrated circuit (IC). Motor drivers act as
current amplifiers since they take a low-current control signal and provide a higher-current
signal. This higher current signal is used to drive the motors.
L293D contains two inbuilt H-bridge driver circuits. In its common mode of
operation, two DC motors can be driven simultaneously, both in forward and reverse
Direction. The motor operations of two motors can be controlled by input logic at pins 2 & 7
and 10 & 15. Input logic 00 or 11 will stop the corresponding motor.
Pin Diagram:
4.1.8 BUZZER
A buzzer takes some sort of input and emits a sound in response to it. They may use various
means to produce the sound; everything from metal clappers to electromechanical devices.
A buzzer needs to have some way of taking in energy and converting it to acoustic energy.
Many buzzers are part of a larger circuit and take their power directly from the device’s
power source. In other cases, however, the buzzer may be battery powered so that it will go
off in the event of a mains outage. Some devices that provide emergency power have buzzers
on them so that the user knows that they are running on backup power and not on mains
power.
Piezo buzzer is an electronic device commonly used to produce sound. Light weight, simple
construction and low price make it usable in various applications like car/truck reversing
indicator, computers, call bells etc. Piezo buzzer is based on the inverse principle of piezo
electricity discovered in 1880 by Jacques and Pierre Curie. It is the phenomena of generating
electricity when mechanical pressure is applied to certain materials and the vice versa is also
true. Such materials are called piezo electric materials. Piezo electric materials are either
naturally available or manmade. Piezoceramic is class of manmade material, which poses
piezo electric effect and is widely used to make disc, the heart of piezo buzzer.
Encapsulated in a cylindrical plastic coating, it has a hole on the top face for sound to
propagate. A yellow metallic disc which plays an important role in the producing sound can
be seen through the hole
We have a 4 KHz piezo buzzer and a microcontroller (arduino) that outputs that 4 KHz
from one of it's pins. All is fine if I connect the buzzer to the output with one pin and to
the ground with another. Also all works as expected if I try to control it with
TRANSISTOR: +5V to the Base, buzzer between collector and emitter, and the output pin
to the emitter.
We,ve measured voltage levels. I have 2.51 V between the microcontroller output and the
ground. I get 5 V / 2 because it generates square waves, isn't it? Then I have 2.1 V around
the base resistor. And, surprisingly I've got 5 V around the buzzer! Shouldn't I get 2.5 V?
Also I noticed that once I measure voltage across the buzzer the sound become a bit
louder. So I've tried to add a resistor in parallel to it.
No other measuring method can be successfully put to use on such a wide scale and in so
many different applications. The devices are extremely robust, making them suitable for
even the toughest conditions. The sensor surface cleans itself through vibration, and that is
not the only reason why the sensor is insensitive to dirt. The physical principle—the
propagation of sound—works, with a few exceptions, in practically any environment.
The measuring method employed by ultrasonic sensors has been viewed as an excessively
complex technology, and only used as a “last resort” as a solution for particularly difficult
applications. Those times have long since passed! Ultrasonic sensors
have proven their reliability and endurance in virtually all industrial sectors.
In industrial applications, ultrasonic sensors are characterized by
their reliability and outstanding versatility. Ultrasonic sensors can be used to solve even the
most complex tasks involving object detection or level measurment with millimeter precision.
Ultrasonic sensors “are based on the measurement of the properties of acoustic waves with
frequencies above the human audible range,” often at roughly 40 kHz . They typically
1)
operate by generating a high-frequency pulse of sound, and then receiving and evaluating the
properties of the echo pulse.
Three different properties of the received echo pulse may be evaluated, for different sensing
purposes. They are:
Very often, separate transmitting and receiving transducers are placed immediately
next to each other, housed as a single unit. (The PING) Range Finder, Omega
flowmeter and Migatron high-accuracy sensor below are all designed this way.) In
these cases, the distance calculated will be twice the distance from the sensor to the
target.
Using proper coordination, a single transducer can be used for both emitting the pulse
and receiving the echo. Note that it takes time for the transducer to change modes,
presenting a challenge to short-distance measurement.
In this mode of operation the transmitter and receiver are two separate units that move
relative to each other. For example, the receiver can be fixed to a target that moves
relative to a stationary transmitter, or vice-versa.
sensing by having the receiver measure not the time of flight but the frequency of the
returning echo pulse. Knowing f and f , the frequency of the emitted and received
e r
where A is the angle between the target's and the pulse's lines of motion.
Amplitude Attenuation
Ultrasonic sound attenuates much faster than audible sound when propagating through
air. By measuring the intensity of the returning pulse, an estimate of the distance
travelled can be made using the following equation:
I = Ie 0
-ax 5)
where I and I are the received and the original intensities, respectively, and
0
where a is the attenuation coefficient (a property of the medium) and x is the distance
travelled by the wave. Attenuation may also be caused by an increased angle between
the target and receiver, which may even deflect the echo somewhere else and not be
heard at all. The effect of distance and angle on the amplitude of the received signal is
illustrated in the following images from (Miranda & Wanderley 2006).
Making Measurements
The three methods above make use of different physical principles, but they all employ the
same measuring procedure. In each case, an ultrasonic sound wave is created, received, and
evaluted..
Time-of-flight-based sensing requires emitting a pulse and waiting for it to return. This
waiting time limits the speed with which successive measurements can be made, without
risking confusion. However, Doppler- and attenuation-based sensing devices do not have the
same restrictions: a constant wave of ultrasound may be emitted, and the received wave's
attenuation or frequency continuously analyzed. This may make measurements speedier,
effectively increasing the sensitivity of the sensor.
Department of Electrical & Electronics Engineering, PDIT, Hosapete. Page 31
“SMART SHOPPING CART WITH IOT-BASED AUTOMATIC BILLING SYSTEM”
Considerations
The main advantage of ultrasonic sensors is that measurements may be made without
touching or otherwise impeding the target. In addition, depending on the distance measured,
measurement is relatively quick (it takes roughly 6ms for sound to travel 1m). However,
many factors such as temperature, angle, and material may affect measurements.
Weather. Temperature and humidity affect the speed of sound in air. Therefore, range
finders may need to be recalibrated to make accurate measurements in a new
environment. (Or, an on-board temperature sensor may be incorporated.)
Currents. Temperature variations and air currents can create invisible boundaries that
will reflect ultrasonic waves, so care must be taken to avoid these.
Angle. For the transmitted wave to echo back to the receiver, the target surface must be
perpendicular to the transmitter. Round objects are therefore most easily sensed since
they always show some perpendicular face. When targeting a flat object, care must be
taken to ensure that its angle with respect to the sensor does not exceed a particular range.
Dead-zone. Ultrasonic sensors typically have a “dead zone” immediately in front of them
in which objects cannot be detected because they deflect the wave back before the
receiver is operational. (This is because reverberations from the transmitter force the
receiver to pause a moment before beginning to listen for the echo. ) 7)
Material. Some materials are more absorbent than others, and these will reflect less
ultrasound. This complicates using the attenuation method to measure the distance of
arbitrary objects.
The EM-18 RFID Reader module operating at 125kHz is an inexpensive solution for
your RFID based application. The Reader module comes with an on-chip antenna and can be
powered up with a 5V power supply. Power-up the module and connect the transmit pin of
the module to recieve pin of your microcontroller. Show your card within the reading
distance and the card number is thrown at the output. Optionally the module can be
configured for also a weigand output.
Typical Applications
• e-Payment
• Access Control
• PC Access
• Authentication
The EM-18 RFID Reader module operating at 125kHz is an inexpensive solution for your
RFID based application. The Reader module comes with an on-chip antenna and can be
powered up with a 5V power supply. Power-up the module and connect the transmit pin of
the module to recieve pin of your microcontroller. Show your card within the reading
distance and the card number is thrown at the output. Optionally the module can be
configured for also a weig and output
CIRCUIT OF RFID
It is a method that is used to track or identify an object by radio transmission over the web.
Data is digitally encoded in an RFID tag which might be read by the reader. This device
works as a tag or label during which data is read from tags that are stored in the database
through the reader as compared to traditional barcodes and QR codes. It is often read outside
the road of sight either passive or active RFID.
Types of RFID
There are many kinds of RFID, each with different properties, but perhaps the most
fascinating aspect of RFID technology is that most RFID tags have neither an electric plug
nor a battery. Instead, all of the energy needed to operate them is supplied in the form of
radio waves by RFID readers. This technology is called passive RFID to distinguish it from
the(less common) active RFID in which there is a power source on the tag.
UHF RHID ( Ultra-High Frequency RFID ). It is used on shipping pallets and some
driver’s licenses. Readers send signals in the 902-928 MHz band. Tags communicate
at distances of several meters by changing the way they reflect the reader signals; the
reader is able to pick up these reflections. This way of operating is called backscatter.
Passive RFID: Passive RFID tags does not have their own power source. It uses
power from the reader. In this device, RF tags are not attached by a power supply and
passive RF tag stored their power. When it is emitted from active antennas and the RF
tag are used specific frequency like 125-134KHZ as low frequency, 13.56MHZ as a
high frequency and 856MHZ to 960MHZ as ultra-high frequency.
o Tracking inventory
Active RFID: In this device, RF tags are attached by a power supply that emits a
signal and there is an antenna which receives the data. means, active tag uses a power
source like battery. It has it’s own power source, does not require power from
source/reader.
Generally, RFID uses radio waves to perform AIDC function. AIDC stands for
Automatic Identification and Data Capture technology which performs object
identification and collection and mapping of the data. An antenna is an device which
converts power into radio waves which are used for communication between reader
and tag. RFID readers retrieve the information from RFID tag which detects the tag
and reads or writes the data into the tag. It may include one processor, package,
storage and transmitter and receiver unit.
Less expensive, longer lifespan, shorter read range (up to a few meters).
2. Active Tags
Have their own power source (battery), allowing for a longer read range (up to
hundreds of meters).
3. Semi-Passive Tags
Small battery powers the tag’s circuitry.
Features of RFID
An RFID tag consists of two-part which is an microcircuit and an antenna.
This tag is covered by protective material which acts as a shield against the outer
environment effect.
This tag may active or passive in which we mainly and widely used passive RFID.
RFID Standards
ISO 14443
ISO 15693
Frequency Bands
RFID systems operate in different frequency bands, each with its characteristics:
Low Frequency (LF, 125-134 kHz): Used for short-range applications (up to 10 cm).
Common in animal tracking and access control.
High Frequency (HF, 13.56 MHz): Medium range (up to 1 meter) and commonly
used in smart cards, ticketing, and library systems.
Ultra-High Frequency (UHF, 860-960 MHz): Longer range (up to 12 meters) and
used in inventory management, supply chain, and logistics.
Microwave Frequency (2.45 GHz): Used for very specific applications with ranges
similar to UHF but with higher data transfer rates.
Challenges of RFID
Cost: Higher initial setup and tag costs compared to traditional barcodes.
Future of RFID
The future of RFID looks promising with advancements in technology and decreasing costs.
Innovations like the integration with the Internet of Things (IoT), enhanced data analytics,
and improved battery life for active tags are expected to drive wider adoption. As RFID
technology continues to evolve, it will play a crucial role in the digitization and automation of
various industries
• Passive transponders and RFID tags have no energy source of their own, relying on the
energy given off by the reader for the power to respond. Cheaper, passive RFID tags are the
most likely to be used for consumer goods.
• An active transponder or tag has an internal power source, which it uses to generate a signal
in response to a reader. Active transponders are more expensive than passive ones. They can
communicate over miles like ordinary radio communications. They are commonly used in
navigation systems for commercial and private aircraft.
There are many uses of this technology around us today, although they are often invisible to
users. You may find that you are already carrying and using a RFID tag, or even several. At
its most basic level, RFID is a wireless link to uniquely identify objects or people. It is
sometimes called dedicated short range communication (DSRC). RFID systems include
electronic devices called transponders or tags, and reader electronics to communicate with the
tags. These systems communicate via radio signals that carry data either unidirectional or
bidirectional. As the shown in fig 3, [22]when a transponder enters a read zone, its data is
captured by the reader and can then be transferred through standard interfaces to a host
computer, printer, or programmable logic controller for storage or action.[2].
• The antenna emits radio signals to activate the tag and to read and write data to it.
• The reader emits radio waves in ranges of anywhere from one inch to 100 feet or more,
depending upon its power output and the radio frequency used. When an RFID tag passes
through the electromagnetic zone, it detects the reader's activation signal.
•The reader decodes the data encoded in the tag's integrated circuit (silicon chip) and the data
is passed to the host computer for processing. The purpose of an RFID system is to enable
data to be transmitted by a portable device, called a tag, which is read by an RFID reader and
processed according to the needs of a particular application. The data transmitted by the tag
may provide identification or location information, or specifics about the product tagged,
such as price, color, date of purchase, etc. RFID technology has been used by thousands of
companies for a decade or more.
4.1.13 DC MOTOR
the arm
Armature conductors of dc motor Fleming’s left hand rule says that if we extend the index
finger, middle finger and thumb of our left hand in such a way that the current carrying
the direction of current (represented by the middle finger), then the conductor experiences a
force in the direction (represented by the thumb) mutually perpendicular to both the direction
We know that when an infinitely small charge dq is made to flow at a velocity ‘v’ under the
influence of an electric field E, and a magnetic field B, then the Lorentz Force dF
From the 1st diagram we can see that the construction of a DC motor is such that the direction
of current through the armature conductor at all instance is perpendicular to the field. Hence
the force acts on the armature conductor in the direction perpendicular to the both uniform
field and current is constant.
So if we take the current in the left hand side of the armature conductor to be I, and current at
right hand side of the armature conductor to be − I, because they are flowing in the opposite
we can see that at that position the force on either side is equal in magnitude but opposite in
direction. And since the two conductors are separated by some distance w = width of the
armature turn, the two opposite forces produces a rotational force or a torque that results in
A push-button (also spelled pushbutton) or simply button is a simple switch mechanism for
controlling some aspect of a machine or a process. Buttons are typically made out of hard
material, usually plastic or metal. The surface is usually flat or shaped to accommodate the
human finger or hand, so as to be easily depressed or pushed. Buttons are most often biased
switches, though even many un-biased buttons (due to their physical nature) require a spring
to return to their un-pushed state. Different people use different terms for the "pushing" of the
button, such as press, depress, mash, and punch.
Uses:
In industrial and commercial applications push buttons can be linked together by a
mechanical linkage so that the act of pushing one button causes the other button to be
released. In this way, a stop button can "force" a start button to be released. This method of
linkage is used in simple manual operations in which the machine or process have no
electrical circuits for control.
Pushbuttons are often color-coded to associate them with their function so that the
operator will not push the wrong button in error. Commonly used colors are red for stopping
the machine or process and green for starting the machine or process.
Red pushbuttons can also have large heads (mushroom shaped) for easy operation
and to facilitate the stopping of a machine. These pushbuttons are called emergency stop
buttons and are mandated by the electrical code in many jurisdictions for increased safety.
This large mushroom shape can also be found in buttons for use with operators who need to
wear gloves for their work and could not actuate a regular flush-mounted push button.
The source of the energy to illuminate the light is not directly tied to the contacts on
the back of the pushbutton but to the action the pushbutton controls. In this way a start button
when pushed will cause the process or machine operation to be started and a secondary
contact designed into the operation or process will close to turn on the pilot light and signify
the action of pushing the button caused the resultant process or action to start.
In popular culture, the phrase "the button" refers to a (usually fictional) button that a
military or government leader could press to launch nuclear weapons.
Push to ON button:
Not long ago LEDs were only bright enough to be used as indicators on dashboards or
electronic equipment. But recent advances have made LEDs bright enough to rival traditional
lighting technologies. Modern LEDs can replace incandescent bulbs in almost any
application.
Types of LED’S
LEDs are produced in an array of shapes and sizes. The 5 mm cylindrical package is the
most common, estimated at 80% of world production. The color of the plastic lens is often the
same as the actual color of light emitted, but not always. For instance, purple plastic is often used
for infrared LEDs, and most blue devices have clear housings. There are also LEDs in extremely
tiny packages, such as those found on blinkers and on cell phone keypads.
PN JUNCTION OPERATION
Now that you are familiar with P- and N-type materials, how these materials are joined
together to form a diode, and the function of the diode, let us continue our discussion with the
operation of the Injunction. But before we can understand how the PN junction works, we
must first consider current flow in the materials that make up the junction and what happens
initially within the junction when these two materials are joined together.
4.1.17 RESISTORS
Resistors are fundamental electronic components found in virtually all electronic devices. 1
They control the flow of current in circuits by opposing it, with their resistance value
determining the degree of opposition. 2 Manufactured in a wide range of values and sizes,
resistors are crucial for various functions like voltage division, current limiting, and signal
conditioning. 3 Key considerations when selecting a resistor include its resistance value,
tolerance, power rating, voltage rating, temperature coefficient, inductance, and noise
characteristics. These factors, along with the resistor's physical form and size, influence its
suitability for specific applications.
Units
The ohm (symbol: Ω) is the SI unit of electrical resistance, named after Georg Simon Ohm.
An ohm is equivalent to a volt per ampere. Since resistors are specified and manufactured
Department of Electrical & Electronics Engineering, PDIT, Hosapete. Page 52
“SMART SHOPPING CART WITH IOT-BASED AUTOMATIC BILLING SYSTEM”
over a very large range of values, the derived units of milliohm (1 mΩ = 10−3 Ω), kilohm (1
kΩ = 103 Ω), and megohm (1 MΩ = 106 Ω) are also in common usage.
The reciprocal of resistance R is called conductance G = 1/R and is measured in Siemens (SI
unit), sometimes referred to as a mho. Thus a Siemens is the reciprocal of an ohm: S = Ω − 1.
Although the concept of conductance is often used in circuit analysis, practical resistors are
always specified in terms of their resistance (ohms) rather than conductance
Variable resistors
Adjustable resistors
Some wire wound power resistors have a tapping point that can slide along the
resistance element, allowing a larger or smaller part of the resistance to be used.
Where continuous adjustment of the resistance value during operation of equipment is
required, the sliding resistance tap can be connected to a knob accessible to an operator. Such
a device is called a rheostat and has two terminals.
4.1.18 CAPACITORS
Figure 4.1.32 High Value capacitor Figure 4.1.33 Low Value Capacitor
A capacitor (formerly known as condenser) is a device for storing electric charge. The forms
of practical capacitors vary widely, but all contain at least two conductors separated by a non-
conductor. Capacitors used as parts of electrical systems, for example, consist of metal foils
separated by a layer of insulating film.
Capacitors are widely used in electronic circuits for blocking direct current while
allowing alternating current to pass, in filter networks, for smoothing the output of power
supplies, in the resonant circuits that tune radios to particular frequencies and for many other
purposes.
A capacitor is a passive electronic consisting of a pair of conductors separated by a
dielectric (insulator). When there is a potential difference (voltage) across the conductors, a
static electric field develops in the dielectric that stores energy and produces a mechanical
force between the conductors. An ideal capacitor is characterized by a single constant value,
capacitance, measured in farads. This is the ratio of the electric charge on each conductor to
the potential difference between them.
The capacitance is greatest when there is a narrow separation between large areas of
conductor, hence capacitor conductors are often called "plates", referring to an early means of
construction. In practice the dielectric between the plates passes a small amount of leakage
current and also has an electric field strength limit, resulting in a breakdown voltage, while
the conductors and leads introduce an undesired inductance and resistance.
Theory of operation
Capacitance
Sometimes charge build-up affects the capacitor mechanically, causing its capacitance to
vary. In this case, capacitance is defined in terms of incremental changes:
Energy storage
Work must be done by an external influence to "move" charge between the conductors in a
capacitor. When the external influence is removed the charge separation persists in the
electric field and energy is stored to be released when the charge is allowed to return to its
Department of Electrical & Electronics Engineering, PDIT, Hosapete. Page 56
“SMART SHOPPING CART WITH IOT-BASED AUTOMATIC BILLING SYSTEM”
equilibrium position. The work done in establishing the electric field, and hence the amount
of energy stored, is given by:
Current-voltage relation
The current i(t) through any component in an electric circuit is defined as the rate of flow of a
charge q(t) passing through it, but actual charges, electrons, cannot pass through the dielectric
layer of a capacitor, rather an electron accumulates on the negative plate for each one that
leaves the positive plate, resulting in an electron depletion and consequent positive charge on
one electrode that is equal and opposite to the accumulated negative charge on the other.
Thus the charge on the electrodes is equal to the integral of the current as well as proportional
to the voltage as discussed above. As with any antiderivative, a constant of integration is
added to represent the initial voltage v (t0). This is the integral form of the capacitor equation,
.
Taking the derivative of this, and multiplying by C, yields the derivative form,
.
The dual of the capacitor is the inductor, which stores energy in the magnetic field rather than
the electric field. Its current-voltage relation is obtained by exchanging current and voltage in
the capacitor equations and replacing C with the inductance L.
Cloud Platforms (Optional): AWS, Google Cloud, Azure (for data storage,
processing, and scalability).
IoT Platforms (Optional): AWS IoT, Azure IoT Hub, Google Cloud IoT Core.
This description provides a comprehensive overview of the software components required for
a smart shopping cart system. The specific technologies and implementation details may vary
depending on the chosen architecture and requirements.
CHAPTER – 5
ADAVNTAGES, DISADVANTAGES & APPLICATIONS
5.1 ADVANTAGES
Reduced checkout time: No more waiting in long lines at the checkout counter. The
automatic billing system calculates the total cost of items in the cart, making the
Improved shopping experience: Customers can enjoy a more convenient and efficient
Accurate billing: The automated system reduces the risk of human errors in
Real-time information: Customers can view the total cost of their purchases in real-
time as they add items to the cart, helping them stay within their budget.
Easy payment options: The system can be integrated with various payment methods,
including mobile wallets and credit cards, offering customers flexibility and
convenience.
Increased efficiency: The automated billing system streamlines the checkout process,
Reduced labour costs: Retailers can reduce the number of staff required for checkout,
Improved inventory management: The system can track items being added to carts,
providing real-time data on product demand and helping retailers manage their
5.2 DISADVANTAGES
1. High Initial Cost: Implementing RFID and IoT technology in shopping carts requires
a significant investment in hardware (RFID tags, readers, IoT modules, ultrasonic
sensors) and infrastructure (servers, wireless networks, and software).
2. Maintenance and Upkeep: The system requires regular maintenance to ensure all
components (RFID readers, ultrasonic sensors, LCD screens, and IoT modules)
function correctly, which can be costly and time-consuming.
3. Compatibility Issues: Not all products currently use RFID tags. Ensuring universal
compatibility would require significant collaboration with manufacturers, adding
complexity and expense.
4. Technical Challenges: The system relies heavily on uninterrupted IoT connectivity.
Any network disruptions or server downtimes could halt the billing process and
inconvenience customers.
5. Security Concerns: The wireless transmission of billing data and the use of IoT
devices pose potential cybersecurity risks, such as data breaches or unauthorized
access.
6. Learning Curve for Customers: Some customers, especially those less familiar with
technology, might find it challenging to adapt to using a smart cart, potentially
reducing its overall effectiveness.
7. RFID Limitations: RFID tags can occasionally fail to be read due to interference from
metals or liquids, leading to inaccuracies in billing or inventory tracking.
8. Risk of Theft: Automated systems might make it easier for individuals to tamper with
RFID tags or manipulate billing data, increasing the risk of shoplifting.
9. Crowded Environments: While ultrasonic sensors aim to prevent collisions, their
effectiveness may be limited in extremely crowded settings, especially during peak
shopping hours.
5.3 APPLICATION
1. Supermarkets and Retail Stores: Automates the billing process, enhancing customer
2. Shopping Malls: Provides a seamless, smart shopping experience with real-time billing
3. Hypermarkets: Helps manage large inventories and ensures efficient customer service
RFID-based scanning.
CHAPTER – 6
CONCLUSION , FUTURE SCOPE & REFERENCES
6.1 CONCLUSION
In conclusion, the Smart Shopping Cart with IoT-Based Automatic Billing System is a
ultrasonic sensors, this project not only streamlines the billing process but also enhances the
overall shopping experience. Customers benefit from reduced wait times, real-time expense
tracking, and safer navigation in crowded spaces, while retailers gain valuable insights into
consumer behavior and inventory management. This system promotes the adoption of
cashless transactions, ensuring a modern, seamless, and secure checkout process. Ultimately,
the project bridges the gap between physical and digital shopping experiences, creating a
the shopping experience further. These apps could allow customers to view their cart
contents, apply discounts, access personalized offers, and make payments directly
recommendations.
like spills or obstructions in aisles, providing real-time alerts to customers and staff.
5. Integration with Smart Shelves: Link shopping carts with smart shelf technologies
cart's display.
7. Cloud Connectivity and Remote Monitoring: Store billing and customer data on a
cloud platform to enable remote monitoring and management for store owners.
their shopping across multiple stores, transferring their cart details seamlessly for a
This future scope highlights the potential to scale and adapt the system across diverse
6.3 REFERANCES
[1] H. H. Chiang et al., "Development of smart shopping carts with customer oriented
service", 2016
[2]K. Prasiddhi, Dhanashri H. Gawali, "Innovative shopping cart for smart cities",
Recent Trends in Electronics Information & Communication Technology (RTEICT),
2017
[3] Komal Ambekar, Vinayak Dhole, Supriya Sharma, Tushar Wadekar, Smart
Shopping Trolley Using RFID, International Journal of Advanced Research in
Computer Engineering & Technology (IJARCET), 4 (10), 2015
[4] M. Vanitha Sheba, Brintha Rajakumari, RFID Enabled Smart Billing System,
Indian Journal of Science and Technology, Vol 8, 2015.