Smart Shopping Cart for Supermarkets
Smart Shopping Cart for Supermarkets
ABSTRACT 7
1 INTRODUCTION 8
2 LITERATURE SURVEY 10
 3               PROBLEM DEFINITION            13
 4
                 4.1 BLOCK DIAGRAM & CIRCUIT   15
                 DIAGRAM
                 4.2 FLOW CHART                17
                            v
                        Abstract:
     Conventional billing systems used in the supermarket
nowadays are a big hassle for the customers as it creates a long
waiting time for payment of the products purchased. To provide
a solution for the above problem, we have designed an
application called Smart Shopping Cart using IoT which can
eliminate queues for billing throughout the supermarket. Using
the application, we scan the products and then put them inside
a Smart cart which is designed using Node MCU, and LCD to
display the total price of the items in the cart. To make it more
feasible the bill is also made available on the web server that
makes it easy for the customer to check the list of items added
and so they can manage the purchase.
                               vii
                      Chapter 1
Introduction:
                                 1
      An automated smart shopping system is formed by
introducing the concept of IoT to connect all items in the grocery
shop. In this system, an inexpensive RF-ID tag is embedded
within each product. When the product is placed into a smart
cart, the product detail is automatically read by the cart equipped
with an RF-ID reader. Hence, billing is made from the shopping
cart itself preventing customers from waiting in a long queue at
checkout. If any item is not scanned due to tampered bar code,
we can identify that based on weight at last. Thus, inventory
management becomes easier.
     This system makes both the customer and supermarket
employee’s work easier by reducing the time it actually takes
while using the old method of billing i.e manual billing
technique.
                                 2
                      Chapter 2
Literature survey:
      Bipin Kumar Yadav (2020); In retail stores, most of the
people spend more time in billing queue than the time he spends
choosing the items due to long queue in rush time. The average
time that customers of any retail store have to spend in the billing
queues has a direct influence on the quality analysis of services.
Thus, it is important to think about different ways to reduce the
waiting time in a queue in real time scenario. We propose 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 radio-
frequency 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. The device includes a 13.56 MHz RFID reader/writer
module that reads RFID stickers attached to the products. In this
covid-19 alarmed situation, this distributed cart system also
helps people to maintain social distance avoiding long queues .
     T Sarala; It is wireless techniques along with one more
communication technology has helped in making electronic
commerece very popular.In this paper we discuss on innovative
concept of “Smart Electronic shopping Trolley used in
commercial complex which many individual retail stores”.The
main purpose here is to assist a person in shopping to reduce
time while purchasing a products.Electonic trolley is fitted out
with Barcode reader that scanes the identification of outcome
and internet connection with shop's server.It is also consists of
LCD exhibits that notify the number of items and total amount to
customers and Barcode scanner identifies the outcome and
                                 3
updates the bill.Swiping machine will be provided to recompense
the bill through credit/debit cards. In this paper,we report the
performance or administraion of reliable and more efficiency
smart trolley shopping using WSN such a trolley is acceptable
for supermarkets,it can helps in reducing manpower and creating
better shopping occurence for customers.
     Kowshika, Madhumitha S, Madhu Varshini , Megha
Lakshmi (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 customer can pay the bill through the
mobile application.
      Tapan Kumar Das, Kathiravan Srinivasan (2020); Shopping
is really fascinating and alluring; at the same time, it involves
getting tired due to standing in a long queue for the bill and
payment process. Hence, it is proposed to design a smart trolley
which can take care of shopping and billing. By this, the customer
can walk straightaway into the shop, purchase products using
the smart trolley and walk out of the shop. He gets the e-bill
through the mail, and he can view his purchase details using the
shop's website. In order to realize this, we need an Arduino
board, Radio-Frequency Identification (RFID) reader, RFID tag,
LCD display, ESP8266 Wi-Fi module, database manager and a
website to maintain product and customer details, which can be
accessed by the admin anywhere in the world. This is an IOT
                                 4
based system where the trolley can interact with the network
spread worldwide.
      P. Chandrasekar and T. Sangeetha(2020), Contemporary
embedded systems are habitually based on microcontroller's i.e.
CPUs in the company of integrated memory as well as peripheral
interfaces but ordinary microprocessors by means of external
chips for memory and peripheral interface circuits are also still
common, especially in more complex systems. Radio frequency
identification (RFID) technology may not only be useful for
streamlining inventory and supply chains: it could also make
shoppers swarm. ZigBee is based on an IEEE 802.15 standard.
ZigBee devices often transmit data over longer distances by
passing data through intermediate devices to reach more distant
ones, creating a mesh network; i.e., a network with no
centralized control or high-power transmitter/receiver able to
reach all of the networked devices. This paper provides
centralized and automated billing system using RFID and ZigBee
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 Product
Identification Device (PID) that contains microcontroller, LCD, an
RFID reader, EEPROM, and ZigBee module. Purchasing
product information will be read through 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 ZigBee module. The central
billing system gets the cart information and EEPROM data, it
access the product database and calculates the total amount of
purchasing for that particular cart. Main aim of this paper was to
provide an automatic billing to avoid queue in malls and super
markets.
                                5
                    Chapter 3
Problem definition:
                              6
                     Chapter 4
Proposed system:
   An automated smart shopping system is formed by
    introducing the concept of IoT to connect all items in the
    grocery shop. In this system, an inexpensive RF-ID tag is
    embedded within each product.
   When the product is placed into a smart cart, the product
    detail such as price and weight are automatically read by
    the cart equipped with an RF-ID reader.
   And the details are shown on lcd as well as the
    webserver.
Hence, billing is made from the shopping cart itself preventing
customers from waiting in a long queue at checkout.
Objectives:
The objectives are detailed as follows,
   To find an efficient way to implement this cart feesable.
   To scan and update the price of item in webserver.
   To have a detailed bill description.
                                7
      4.1 Block diagram & CIRCUIT
                DIAGRAM
Hardware Required:
  Node MCU and Arduino IDE
  Jumper Wires
  RFID reader
  RFID cards
  USB Host
  LED
                                   8
  Push button
Software Required:
  Arduino ide
  Embedded C
  HTML
                            9
  4.2 FLOW CHART OF PROPOSED
  SYSTEM
EMBEDDED SYSTEMS
                        10
4.3.1 Overview of embedded systems
                                    11
•    Monitor the environment; embedded systems read data from
input sensors. This data is then processed and the results
displayed in some format to a user or users
•    Control the environment; embedded systems generate and
transmit commands for actuators.
•   Transform the information; embedded systems transform the
data collected in some meaningful way, such as data
compression/decompression
Although interaction with the external world via sensors and
actuators is an important aspect of embedded systems, these
systems also provide functionality specific to their applications.
Embedded systems typically execute applications such as control
laws, finite state machines, and signal processing algorithms.
These systems must also detect and react to faults in both the
internal computing environment as well as the surrounding
electromechanical systems.
There are many categories of embedded systems, from
communication devices to home appliances to control systems.
Examples include;
•    Communication devices
eg.: modems, cellular phones
•    Home Appliances
eg.: CD player, VCR, microwave oven
•    Control Systems
eg.: Automobile anti-lock braking systems, robotics, satellite
control
Harsh environment
      Many embedded systems do not operate in a controlled
environment. Excessive heat is often a problem, especially in
applications involving combustion (e.g., many transportation
applications). Additional problems can be caused for embedded
computing by a need for protection from vibration, shock,
lightning, power supply fluctuations, water, corrosion, fire, and
general physical abuse.
                                       15
      4.4 System safety and reliability
      As embedded system complexity and computing power
continue to grow, they are starting to control more and more of the
safety aspects of the overall system. These safety measures may
be in the form of software as well as hardware control. Mechanical
safety backups are normally activated when the computer system
loses control in order to safely shut down system operation.
Software safety and reliability is a bigger issue. Software doesn't
normally "break" in the sense of hardware. However software may
be so complex that a set of unexpected circumstances can cause
software failures leading to unsafe situations. Discussion of this
topic is outside the scope of this book, but the challenges for
embedded designers include designing reliable software and
building cheap, available systems using unreliable components.
The main challenge for embedded system designers is to obtain
low-cost reliability with minimal redundancy.
Control of physical systems
      One of the main reasons for embedding a computer is to
interact with the environment. This is often done by monitoring
and controlling external machinery. Embedded computers
transform the analog signals from sensors into digital form for
processing. Outputs must be transformed back to analog signal
levels. When controlling physical equipment, large current loads
may need to be switched in order to operate motors and other
actuators. To meet these needs, embedded systems may need
large computer circuit boards with many non-digital components.
Embedded system designers must carefully balance system
tradeoffs among analog components, power, mechanical,
network, and digital hardware with corresponding software.
Small and low weight
    Many embedded computers are physically located within
some larger system. The form factor for the embedded system
                                 16
may be dictated by aesthetics. For example, the form factor for a
missile may have to fit inside the nose of the missile. One of the
challenges for embedded systems designers is to develop non-
rectangular geometries for certain solutions. Weight can also be
a critical constraint. Embedded automobile control systems, for
example, must be light weight for fuel economy. Portable CD
players must be light weight for portability purposes.
Cost sensitivity
      Cost is an issue in most systems, but the sensitivity to cost
changes can vary dramatically in embedded systems. This is
mainly due to the effect of computer costs have on profitability and
is more a function of the proportion of cost changes compared to
the total system cost.
Power management
     Embedded systems have strict constraints on power. Given
the portability requirements of many embedded systems, the need
to conserve power is important to maintain battery life as long as
possible. Minimization of heat production is another obvious
concern for embedded systems.
                                 17
even the dc voltage varies some what, or the load connected
to the output dc voltages changes.
4.4.2 TRANSFORMER:
4.4.3 RECTIFIER:
                                       18
basic bridge configuration we see that two diodes (say D2 & D3)
are conducting while the other two diodes (D1 & D4) are in off
state during the period t = 0 to T/2.Accordingly for the negative
cycle of the input the conducting diodes are D1 & D4. Thus the
polarity across the load is the same.
        In the bridge rectifier the diodes may be of variable types
like 1N4001, 1N4003, 1N4004, 1N4005, IN4007 etc.… can be
used. But here we use 1N4007, because it can withstand up to
1000v.
4.4.4 FILTERS:
4.4.5 REGISTERS:
         The controller IC has two 8 bit registers, an instruction
register (IR) and a data register (DR). The IR stores the instruction
codes and address information for display data RAM (DD RAM)
and character generator RAM (CG RAM). The IR can be written,
but not read by the MPU. The DR temporally stores data to be
written to /read from the DD RAM or CG RAM. The data written to
DR by the MPU, is automatically written to the DD RAM or CG
RAM as an internal operation.
                                  19
automatically. Similarly, for the MPU write of the DR, the next DD
RAM or CG RAM address is selected for the write operation.
4.4.6 REGULATORS:
     The output voltage from the capacitor is more filtered & finally
regulated. The voltage regulator is a device, which maintains the
output voltage constant irrespective of the change in supply
variations, load variations & temperature changes. Here we use
fixed voltage regulator namely LM7805.The IC LM7805 is a +5v
regulator which is used for microcontroller.
4.5 IOT
                                   20
The term "Things" in the Internet of Things refers to anything and
everything in day today life which is accessed or connected
through the internet.
                                      21
before 10 minutes I arrive at home. This can be done through the
Internet of Things (IoT).
   4.6Embedded Devices
      (System) in (IoT)
     It is essential to know about the embedded devices while
learning the IoT or building the projects on IoT. The embedded
devices are the objects that build the unique computing system.
These systems may or may not connect to the Internet.
                                   22
      The embedded system can be of type microcontroller or
type microprocessor. Both of these types contain an integrated
circuit (IC).The essential component of the embedded system is
a RISC family microcontroller like Motorola 68HC11, PIC 16F84,
Atmel 8051 and many more. The most important factor that
differentiates these microcontrollers with the microprocessor like
8085 is their internal read and writable memory. The essential
embedded device components and system architecture are
specified below.
4.8 Nodemcu
                                23
     NodeMCU was created shortly after the ESP8266 came
out. On December 30, 2013, Espressif Systems began
production of the ESP8266. The ESP8266 is a Wi-Fi SoC
integrated with a Tensilica Xtensa LX106 core, widely used in
IoT applications (see related projects). NodeMCU started on 13
Oct 2014, when Hong committed the first file of nodemcu-
firmware to GitHub. Two months later, the project expanded to
include an open-hardware platform when developer Huang R
committed the gerber file of an ESP8266 board, named devkit
v0.9.Later that month, Tuan PM ported MQTT client library
from Contiki to the ESP8266 SoC platform, and committed to
NodeMCU project, then NodeMCU was able to support the
MQTT IoT protocol, using Lua to access the MQTT broker.
Another important update was made on 30 Jan 2015, when
Devsaurus ported the u8glib to NodeMCU project, enabling
NodeMCU to easily drive LCD, Screen, OLED, even VGA
displays.
In summer 2015 the creators abandoned the firmware project
and a group of independent contributors took over. By summer
2016 the NodeMCU included more than 40 different modules.
Due to resource constraints users need to select the modules
relevant for their project and build a firmware tailored to their
needs.
                               24
components required by the Board Manager and the Arduino
IDE to compile an Arduino C/C++ source file for the target MCU's
machine language. Some ESP8266 enthusiasts developed an
Arduino core for the ESP8266 WiFi SoC, popularly called the
"ESP8266 Core for the Arduino IDE".[16] This has become a
leading software development platform for the various ESP8266-
based modules and development boards, including NodeMCUs.
                                   25
processes information, and an antenna to receive and
transmit a signal.
To read the information encoded on a tag, it is placed in
close proximity to the Reader (does not need to be
within direct line-of-sight of the reader). A Reader
generates an electromagnetic field which causes
electrons to move through the tag’s antenna and
subsequently power the chip.
The powered chip inside the tag then responds by sending its
stored information back to the reader in the form of another
radio signal. This is called backscatter. The backscatter, or
change in the electromagnetic/RF wave, is detected and
interpreted by the reader which then sends the data out to a
computer or microcontroller.
                               26
easily connect it to an Arduino or any 5V logic microcontroller
without using any logic level converter.
    Range
                                          5cm
VCC: supplies power for the module. This can be anywhere from
2.5 to 3.3 volts. You can connect it to 3.3V output from your
Arduino. Remember connecting it to 5V pin will likely destroy
your module!
                                    27
RST: is an input for Reset and power-down. When this pin goes
low, hard power-down is enabled. This turns off all internal
current sinks including the oscillator and the input pins are
disconnected from the outside world. On the rising edge, the
module is reset.
MOSI (Master Out Slave In): is SPI input to the RC522 module.
SCK (Serial Clock) : accepts clock pulses provided by the SPI
bus Master i.e. Arduino.
                               28
                       Chapter 5
                                 29
Fig5.2 bill outcome on webserver
              30
                      Chapter 6
                   CONCLUSION
      The basic idea is to make shopping more easy and
comfortable in the overpopulated cities. This shopping cart is
built with a system that enables customer to bill their products at
cart itself without standing in long ques for billing.
Finally, a system named smart shopping cart is designed in
which the microcontroller(node mcu) and rfid technology plays a
vital role in scanning the products,preparing bill and displaying it
on lcd and also uploading the same into the webserver .This
helps the user to view the bill on his/her device.
                                 31
REFERENCES:
32