0% found this document useful (0 votes)
313 views51 pages

Shravani B - Ecart Project Report

The document describes a proposed virtual shopping cart project using RFID tags and a mobile application. The project aims to improve the shopping experience by eliminating long queues. When customers add products to their cart, an RFID reader will scan the tags on the products and add them to the virtual cart. Customers can also scan product barcodes with their phone to add items. Payment can be made online through the app. This proposed system allows for budget planning, time savings, and improved customer satisfaction during the shopping process.

Uploaded by

Shravani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
313 views51 pages

Shravani B - Ecart Project Report

The document describes a proposed virtual shopping cart project using RFID tags and a mobile application. The project aims to improve the shopping experience by eliminating long queues. When customers add products to their cart, an RFID reader will scan the tags on the products and add them to the virtual cart. Customers can also scan product barcodes with their phone to add items. Payment can be made online through the app. This proposed system allows for budget planning, time savings, and improved customer satisfaction during the shopping process.

Uploaded by

Shravani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 51

VIRTUAL ECART SHOPPING 1

CHAPTER 1
INTRODUCTION
About the Project

The smart trolley shopping cart or the virtual cart project, this project is about smart shopping technique
without wasting much time in the longue ques in the shopping malls dmarts or any kind of shoppings.here
there will be an smart application or device intruded to the shopping trolley which will have an rfid readers
when the customer shops for the products and when he put the products inside the trolley the rfid reader will
read the rfid tags which will be there on the products and bill will be generated and to avoid over budget while
shopping there will be a budget planner as well which will indicate when we exceeds the budget.and there is
an another option for shopping that is if we do not want to push trolley then u can just scan the product’s you
want and the items will be added to the cart in the mobile application Along with this the customers can add
items in to do list and buy those items too And also customer can view the recipe items in the IOT Application
Recipe Handler And payment can be managed according to the customers convenience.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 2

ABSTRACT
RFID tags generally works with all the wireless or partially wireless communications that will allow us for
remote gathering of the information associated with a particular product component or other items as well. In
RFID environments each similar items or products will be tagged with an RFID tags which includes and then
transmits one or more number pieces of information like for example a unique identifier or variable This piece
of information is requested or retrieved from an RFID reader. Common RFID readers are either small tags that
operate in a limited RFID space for example windows out-gates and other non-mobile or fixed sites In
general the rfid tags need to be within four foot distance to work properly if it is more than four foot distance
then it is difficult to catch the sensors signals. Some stationaries or the devices which will give a wide range of
offers with the greater communication distances greater handheld machines In many circumstances this
technology will allows two devices the tag and reader to send and receive the data with each of them while not
maintaining a line of sight in any conditions

Here the rfid tags are used to read the data of the product’s and and enter those data and add the products to
the cart .here we wre using the multiplexing and demultiplexing technique for reading the data and there will
be a rfid reader to read all the data and send it to the server.

The main objective of this proposed project is to show a true time and we can scan the product information
through RFID readers It will identify a product based on its values and the basic features but it will not
authenticate it through the andriod phone and then it decodes and sends it to the server for authentication
purpose .here we are mainly focusing on the time management and customer satisfaction .customer can login
through the given login credentials and continue shopping or through using the cart also he can do shopping .
Once he finish shopping he can go to the payment gate way and an otp will be generated from the admin end to
the registered mobile number .and once the customer enters the card detals payment will be done and the order
will be placed and the person from the shops authority will bring the order and gives it to the customer.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 3

CHAPTER 2- COMPANY PROFILE

MINDSET IT SOLUTIONS it is a cosmopolitan product company for giving the solutions for the
technology companys around the world incorporating with the proved experience in the technologies and
wast knowledge in the hardware products .At Mindset Technology company . rather than only delivering the
software solutions to the companies we undergo with the clients technology’s as well and help them
understand the business requirements and the current technologies which are on trend and also give required
trainings as well. And understand the advantages or disadvantages of the business.

It was Established in 2001 by a group of software engineers Mindset Technologies private Ltd is a software
helps to restart the working order and also it helps the companys to deploy or manage the business in the
censorious softwares and more effectively by using the two or more of exclusive software technology and a
very special experienced Mindset solutions lmt helps startups or the small scale business startups like it
companys to boost their speed in business and consistency and their services .here we help the companies to
avoid the cost effect and the risks occurred during the development of the project.we take up such products
and try to rectify those errors.

At MINDSET, basically we will be following the hardware methods and the software policy which is mostly
the mixture of the policy’s as well as process. The process here refers to the best practices that are derived
from the hardware and the software companies. This process will be continuously redefined for the ongoing
measurements and it will give improvement for both process and products quality.

Contract Staff Services will provide skill full resources to the clients to meet their requirements and to dismiss
the lengthy selection process by the Consultants Company’s based on the trainee’s performance during the
training period. We recommend the trainees from different fields for particular jobs

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 4

CHAPTER 3-LITERATURE SURVEY


3.1 CURRENT SYSTEM OR EXISTING SYSTEM
The current long established shopping System is a very slow as well as time taking job now a days we are
seeing the increasing trend in the internet shopping has been decreased to some extent we can see there is lot
of variance in going to shop and seeing the items and buying them to feel the quality and quantity in the
products which cannot be experience in the online shopping system Customers also feel vary to hold out the
online purchases thanks to the fear of less secure payment transaction process which will cause hacking of
users personal data, and also insecurity in credit or debit cards details .This project aims on removing all these
disadvantages of both the shopping techniques and also it helps to mitigates the space in between real and
practical world.
The long established internet or online shopping system here the consumer has to wait in the very long
Queue system at the payment counter in the malls dmarts or any king of shopping shops. The cashier will scan
the barcode of each product then he will generates the bill This is a very long process and consumes lot of
time and energy as well for both the consumer and also for cashier.
1:- Barcode can be read using the computers vision technology only and the barcode will hold the information
about the product and it makes this vision task in consumers view a challenging role to understand.

3.2 RECOMMENDED SYSTEM


In this recommended system we will be using multiplexing and de multiplexing technique of the algorithms for
recognizing the RFID TAGS when we put an item into the cart the rfid reader will read the tags and then that
items will be added to checkout gateway then the customer can directly go near the payment section and pay for
those items without scanning for barcodes and wasting time again and again. And by using android phones to
supply wide range of services which will be recognized.
Here the user can shop using a cart or an application ,if the user does not want to go in search of products in the
whole shop he can order the products or items in smart application from the mobile itself he can go there and
scan the products he needed using an barcode scanner which will be provided in the application and those items
will be added to the virtual cart and once you are done with shopping you can checkout and u can also pay
payments in online and otp will be generated and after authenticating with the details payment can be done and
the person from the shop will pick those items and bring back to customer .the customer can check those items
and buy them. By this process we can go there and check the quantity or quality of the products and buy those
items without any problems.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 5

ADVANTAGES OF THE MOBILE COMMERCE ARE-

1. Budget planning
2. Customers satisfaction
3. MONEY savings
4. Time Efficiency
5. Improvement in the Customer relations.
6. List out specific recipes by recipe handler features

Fig 3.1:- proposed system for virtual shopping

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 6

4-TOOLS AND TECHNOLOGIES


 AT89S51 Microcontrollers.
 Keil C compiler.
 Flash Programmer.
 OrCAD circuit Designs.
 Languages: Embedded C, VB6.0.

4.1HARDWARE AND SOFTWARE SPECIFICATIONS

Hardware requirements
Micro controller AT89C5:- AT89S51 Microcontrollers is a lower power but will have more specific
performance with CMOS eight bit microcomputer will have 8000 byte .the Flash program and removable
read only memory PEROM the on chip it will allow the programs storage space to be rephrased by the
systems or by the convenient changeable memory programs.

Fig 3.1- Microcontroller at89c5

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 7

Fig 3.1.1- detailed design of micro controller AT89c5

Features:

1. Unanimous with the MCS 52 Products


2. 8000 Bytes of in system reprogramming and non-volatile storage system
3. Bearing 1000 Write or delete Cycles
4. Fully simple Operations is zero Hz –twenty four MHz
5. Three or four level Programs Memory
6. Eight cut in Sources
7. Full duplex interface systems.
8. On chip oscillator with clockwise or anti clockwise.
9. Low power Idle and Power down Modes.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 8

PORT IMPLEMENTATIONS

Fig 3.2 port 3 Alternate Functions

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 9

RST Function:- reset input a pin will include a higher value on this pin port for the two machine cycle while
the oscillator’s will work on the reset devices.

ALE or PROG Function: - in this technique address latch will allow the latch function to pulse the output
and also for capturing the lower bytes of the address during the access to the external memory. And here the
pins will also be in the form of programs pulse input PROG while doing the Flash programming process.

PSEN port :-Program Store enable will act as an read gate to external programmable memory it means
when the AT89C52 microprocessor will get execute the code from external memory and PSEN port will get
executed twice for each and every machine cycles other than the activation process and that will be neglected
during the external access to the memory location.

EA AND VP port:-EA that is external access enables here the external enable must be connected to ground in
order to access the data from the output devices and when the code gets executed from the external programed
memory the vpp will be activated twice and it needs to be connected to the Vp port for the inner program
execution as well.

The vpp pin will also receive the twelve volt for program enable voltage from the VP port during the flash
module execution and then the twelve volt will be selected for programming.

XTAL port 1:- Inputs will be turnaround to the oscillator’s amplifier and then it will input to the internal
circuits in clockwise direction.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 10

XTAL port 2:- Outputs the data from turnaround oscillators amplifier

Block Diagram Of microcontroller AT89S52

Fig3.4-block diagram of micro controller

Fig 3.7: Db-9 connector

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 11

Fig 3.5 IBM PC DB-9 Signals

Microcontroller connection to RS232

The microcontrollers will have two pins which will be used for sending and receiving data lineally .
These two pins will be called as TxD and RxD respectively and they are the part of the port 3 groups Pin
eleven of 89S52 will be assigned to the TxD port and Pin ten will be assigned as RxD port .this rxd and
TxD pin are ttl compatible so we need to assign line drivers for all the pins . One of such line driver is
MAX232.

This MAX232 line driver converts the rs232voltage levels to the ttl voltage levels and vice versa of it
like it converts rs232 voltage levels to ttl voltage levels as well. One of the main advantages of this max232 is
it always uses 5+v and it is similar to the rs232 voltage line.

This MAX232 will have mainly two group of line drivers for sending and receiving data prom the
external devices as shown in the below diagram. This line drivers which are used for txd ports are called as
t1 and t2 and while the line drivers which are used for the rxd are shown as r1and r2 among so many
applications in the processor only single of them will be implemented that is t1 and r1 or t2 and r2.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 12

Fig 3.6 -Inside MAX 232

Figure 3.7 - it’s connection to 89s52

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 13

Serial Pin outs (D25 and D9 Connectors)

Fig 3.71- serial pin connections of dB connector

If the pcon 7 that is SMOD=1 then the baud rate of the port will be successfully doubled. Therefore the above
sum will become TH1=256-crystal/1

In this instance if at all we want to arrange the serial port numbers to 19200 baud rate and if we use first
equation, then we will get TH1=254

Here if we give the baud rate to 255 then we will have only 14467 baud rate and if we give it to the 256 then
we will get around 28800 baud, which is very high in range.

Hence to achieve this baud rate of 19,200 we should simply set the pcon or the smad=1.we cans
double the baud rate when we do this task completely and also we can use the second equation.

Then it will be Th=253 that is (FD h) equation.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 14

Liquid Crystal Display

In the current years LCD is finding wide use changing to the LED. This is because of the some
reasons listed below.

1) The decrease in prices in the LCD display.


2) The volume to display the numerical values or characters values and graphic designs which are in
similar to the LED in the market which is in very less numbers.
3) Combination of a new controllers in to LCDs there by releasing the CPU In similar to the LCD and
should be changed by the CPU for displaying the data continuously.

Figure 3.8-LCD display

Basic reading

This part will deal with the characters based LCD modules which will use Hitachi HD44780
controllers chip and this modules which we are using are not as advanced as the current generations ones like
larger display one or more display but it is used in laptops as well. But the characters based on the lcds are
widely used in trading and business equipment’s .in such places where the displaying requirements are less.

Shapes and sizes

Even if there are limited versions or modules of this types there are several different types of display
systems .different types of crystal displays are used. For Example offers that are improved and there are
specially designed modules where the back lighting are available so that they can be viewed in the dim light
also.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 15

Connections

In this a 14 pin access will be provided with 3 control lines and 3 power lines as well. And this
connection will be set out in the one of the configuration. This is calculated by either the two or more number
of rows on the seven pins or for the single row from the fourteen pins layout. The difference for this are
displayed in the below diagram.

Fig 3.9- Pin out of the 2 basic LCDs format.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 16

Fig 3.9.1: pin details on an LCDs module

The internal structure of LCD module.

Here the lcds will be connected to microcontrollers by the controller interface medium. Here the
asci value characters that are passed through the LCD modules will be compared by the look up table and then
that value will be displayed to the internal memory.

Fig 3.9.2- Internal structure of LCD modules.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 17

Role of LCD

The LCD module will be used in the vehicle anti-collision system to display the range of information which
will be calculated by LV Max Sonar-EZ1 and it will also display one of the three zones in which the vehicles
are present. If the distance is displayed above 20 inch it displays safe zone. If the reach is between them is 15
and 19 inches, then it will displays alert zone. If the distance is below 15 inches, then the LCD will display the
stop zone.

16*2 LCD

This LCD is used to display 16 characters in 2 rows and it will have the volume to display all the numerical
values or the characters values and also the graphic designs in the lcd modules.

P2.0

P2.7

8051
MICROCONTROLLER

P3.4
P3.5
P3.6

Fig 3.10:- Pin out of a generic 16 * 2 LCD

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 18

DO

D1

D2

D3

Fig 3.10.1- pin connections for generic lcd

SOFTWARE REQUIERMENT

The following diagram represents the complete keil vision technology and its methods.

Fig 3.11-Software Development Cycle using Keil µVision3

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 19

Keil VISION IDE


The µVision3 is a mixed project manager and an very good editor for error detection and corrections and
also for making option setups as well and make make facility and online services help. We can use keil
Vision3 to create a source file and deploy them as well in keil Vision3 it automatically compile assemble and
link the design application in the development point of view.

C COMPILER
The files that are sent to the Kiel vision compilers and assemblers will be compiles here and also we can
make changes according to the customer requirements .

LIBRARY MANAGER
The library manager allows you to create a library from the object files and allows us to access the in build
library functions while developing the code .and the library’s will have individually formatted and ordered
programs while we can use in our coding’s

EMBEDDED C:
When designing the software for the embedded systems we use c with the 8051 .it is very usual to create
and place the entire code using the assembly code available with us with the more number of projects we
use this easier approach because the amount of code used in this technique is very less and more easier to
understand and the code must be typically less than 5 kb and it is commonly very simple in nature and is
more effective to use.

The problem with the projects done with the assemble code is that it is very difficult to understand and also
to maintain as well .especially if the code is not well commented with the help notes the division of codes
into the functions will force better structure of the code to be used and better structure from project to
project.

The better language such as c allows us to use better code to write which will resemble a human thought;
the developer can focus more time on the designing and developing of algorithms and pseudo code as well.

By using the c language the developer does not have to intimately familiar with the language or the
architecture of the processer or the project. This means anyone who gets the processer can easily run and
understand the project running process easily.

All of this is not meant that the embedded language is not good to use. But it requires subject knowledge
and in fact the embedded systems run on combination of c and assembly code.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 20

BUFFER AND DRIVER

BUFFER CIRCUIT
The BUFFER IC used is IC 4050 which is a voltage amplifier; it’s a non-inverting buffer. A buffer doesn’t
change its state and it also provides extra voltage supply.

This sixteen pin dill package IC 4050acts as an buffer reader and a converter as well. The inputs for this may
be of 2v to 5V the ic here acts as an buffer reader and converters well and here the ic’s will be used to
increase the voltage of the circuit and also It acts as a voltage amplifier as well .

Usually the buffer reader acts as an voltage amplifier and it converts the voltage current having the low
impedance as well and the other circuits will have the high impedance.

1 IC 4050 16
Vcc

2 15

3 14

4 13

5 12

6 11

7 10

8 Vss 9

Fig 3.12: Pin Description of Buffer IC 40

DRIVER CIRCUIT
The driver circuit is used to increase the current handling capacity in the circuit. its acts as a moving circuit
for the relays. The IC ULN 2004 is used, this IC consist of an array of emitter-follower circuits.in this driver
circuit the basic Darlington pair circuit will plays an important role helps to connect to different devices and
convert the input signals to the server.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 21

Fig 3.12.1: Basic Darlington Pair Circuit

CIRCUIT DIAGRAM OF BUFFER AND DRIVER CIRCUIT

Fig 3.13-block diagram of the buffer circuit

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 22

RFID TAGS
The main function of the rfid tags is to hold the data for the products and store that data and send that
data to the interrogator when it is requested and verify that data as well.

It contains the electronic chip and an antenna that is stored in the package to form a usable thing and that is
package and stored in an chip.

Figure 3.14
RFID Tag

FIGURE3.14.1- RFID Card showing the Microchip and Antenna

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 23

Fig 3.15- ALPHA-NUMERIC LCD DISPLAY

CHAPTER 4 - SYSTEM DESIGN

CUSTOMER LOGIN: when customer opens the application a login page will be displayed the customer
needs to register first if he is not a member and then he can login through the login credentials. A continue his
shopping through the application and make payments.

RFID TAGS: here the rfid tags are used to read the data of the products and and enter those data and add the
products to the cart .here we wre using the multiplexing and demultiplexing technique for reading the data and
there will be a rfid reader to read all the data and send it to the server .

BILLING & PAYMENT: once the scanned products are confirmed the user will checkout from the cart and
that information will be sent to the server and it will be verified by the system admin or the shop database
manager. Once the customer verifies the data he will confirm and then an otp will be generated by using this and
payment gateway will be opened and by entering the card details the customer can pay the bill and buy the
items.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 24

SHOP DATABASE MAINTENANCE.


The shops database administrator can add, delete, or update the items from the application.
When the customer confirms the order the database admin will verify that order and get back to the customer by
sending the otp for the verification process. And also he will verify the customer bank details and payment
options as well. Once the customers payment is done the admin will confirm the order and then allocate the
order id .

ARCHITECTURE DIAGRAM: The architectural diagram represents the functioning of the project.it shows
the working of the project from starting to ending. The customer enter the shop and login to the application
through the login credentials and can use that application to scan the items and those items will be added to the
cart or else the customer can take the smart shopping trolley and continue his shopping the rfid reader will read
the data from the tags which is present in the products and the bill will be shown on the lcd display which will
be fixed on the shopping cart and make bill payments. Through this technique a huge amount of time will be
saved and shopping experience will be very easy. The admin will login to the admin block and he can view the
orders and also can confirm those orders as well .once he confirms the order the customer can pay the bill and
block the order and then the shop authority people will bring those items and give it to the customer.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 25

Fig 4.1- detailed design of the virtual cart

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 26

Working of an application:

Fig 4.2 working of the application

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 27

CHAPTER 5 DETAILED DESIGN


Block Diagrams

Product Section:

RF Module
Power Supply Unit
Encoders Unit Transmitter
(+5V)
(433.92MHZ)

Product 1 Product 2 Product 3

Trolley Section:
RF Module
Display Unit Transceiver
(4x16) (433.92MHZ)

Microcontroller
Power Supply Encoder/Decoder
Section
Unit Unit
(AT89s51)

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 28

Billing Section:

RF Module
Receiver Decoder Micro Level
(433.92MHZ Unit Controller Converter
) Unit

RS-232
Connector

Smartphone Application flowchart

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 29

Application Front Application Back


End End

User Authentication

Cart Display Add details to cart

Update bill

More Items?
Yes
SCANNER
no
Reads QR Code

Confirm Order
QR CODE

Bill paying options

Other Payment Gateway

online Payment Login

Displays error go to o
menu. Successful payment

Yes

Stores credit details


updated

Refresh the
database

Figure5.1- Software Flow chart

Hardware Architecture

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 30

LCD DISPLAY
RFID READER PIC 16F877A

MICRO CONTROLLER
BLUETOOTH

RFID TAG
SMARTPHONE

Figure5.2 Hardware Block Diagram

.
5.2.1 HARDWARE DEMO

Fig 5.3 hardware installation process

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 31

Fig 5.4-Rfid tags

Fig 5.5-hardware and tag readers

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 32

CHAPTER 6 –IMPLEMENTATION

Coding
Shopping main.c
xdata unsigned char m;
int k;
xdata unsigned char sum=0;
void Device_Init( void );
void RFID_Tag_Compare( void );
bit flag=1;
unsigned char soap[]="SOAP=10.00*";
unsigned char brush[]="BRUSH=20.00*";
unsigned char paste[]="PASTE=30.00*";
xdata unsigned char bread[]="BREAD=40.00*";
xdata unsigned char pepsi[]="PEPSI=60.00*";
unsigned char sum1[]="TA=000#";
unsigned char sum2[]="BAL=000";
unsigned char tag[]="02511957";
unsigned char tag1[]="06254113";
unsigned char tag2[]="06254168";
xdata unsigned char tag3[]="06254212";
xdata unsigned char tag4[]="06254225";
void main()
{
s1=0;
s2=0;
k=0;
//l=0;
m=0;
buzzer=0;
//n=0;
//v1=1;
//v2=1;
push_button=0;
Device_Init();
Rx_count=0;
CMRIT DEPARTMENT OF MCA 2020-2021
VIRTUAL ECART SHOPPING 33

if(s1==1 && m==0)


{
char temp=0;
k=100;
m=1;
temp=k;
sum2[4] = (temp%10)+48;
ALCD_Message( 0x01, "");
ALCD_Message( 0x80, sum2);
MSDelay(1000);
ALCD_Message( 0x01, "");
}
if(s2==1)
{
int temp=0;
// l=100;
k=(k+100);
temp=k;
ALCD_Message( 0x01, "");
ALCD_Message( 0x80, sum2);
MSDelay(1000);
ALCD_Message( 0x01, "");
}
if(push_button==1)
{
if(o1==1)
{
UART_ST( soap );
// UART_ST( "\r\n" );
MSDelay(500);
// o1=0;
}
if(o2==1)
{
UART_ST( brush );
// UART_ST( "\r\n" );
MSDelay(500);
// o2=0;

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 34

}
if(o3==1)
{
UART_ST( paste );
// UART_ST( "\r\n" );
MSDelay(500);
// o3=0;
}
if(o4==1)
{
UART_ST( bread );
// UART_ST( "\r\n" );
MSDelay(500);
// o4=0;
}
if(o5==1)
{
UART_ST( pepsi );
// UART_ST( "\r\n" );
MSDelay(500);
//o5=0;
}
ALCD_Message( 0x01, "");
ALCD_Message( 0x80, sum1 );
//zu=0;
MSDelay(1000);
//v2=1;
UART_ST( sum1 );
// UART_ST( "\r\n" );
}
if( Rx_ST_Flag == 1 )
{
MSDelay(100);
Rx_data_arr[8] = '\0';
//MSDelay(1000);
Rx_ST_Flag = 0;
Rx_count=0;
RFID_Tag_Compare( );

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 35

}
}
}
bit x=1,y=1,z=1,a=1,b=1;
unsigned char temp=0;
x=strcmp(tag,Rx_data_arr );
if(x==0)
{
if( count==0 )
{
o1=1;
sum =sum+10;
if(sum<=k)
{
count=1;
temp=sum;
ALD_Message( 0x80, soap);
ALCD_Message( 0xc0, sum1);
MSDelay(500);
}
else
{
ALCD_Message( 0x01, "");
ALCD_Message( 0x80, "YOU CROSS THE");
ALCD_Message( 0xC0, "LIMITS");
buzzer=1;
MSDelay(1000);
buzzer=0;
ALCD_Message( 0x01, "");
}
}
else if(count==1)
{ o1=0;
count=0;
}
}

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 36

Shopping cart.c

void UART0M1_ISR( void ) interrupt 4


{
if( TI == 1 ) // For Transmit flag
{
TI=0;
}
else if( RI == 1 ) // For Receive flag
{
RI = 2;
Rx_ST_Flag =0;
Rx_data = SBUF;
Rx_data_arr[Rx_count++] = Rx_data;
// Rx_data_arr[Rx_count++] = SBUF;
Rx_data_arr[Rx_count] = '\0';
}

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 37

CHAPTER 7- SCREENSHOTS

Fig 7.1-login page

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 38

fig 7.2 registration page

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 39

Fig 7.3-virtual cart home page

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 40

Fig 7.4-budget planner

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 41

Fig 7.5-virtual cart after budget planner

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 42

Fig 7.6-checkout page

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 43

Fig 7.7-Recipe handler

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 44

Fig 7.8-payment mode page

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 45

Fig 7.9-otp generation

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 46

Fig 7.10-order confirmation customer side

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 47

Fig 7.11-order confirmation admin side

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 48

CHAPTER 8-CONCLUSION
The smart shopping trolley system .in this system the customer enter the shop and login to the application
through the login credentials and can use that application to scan the items and those items will be added to the
cart or else the customer can take the smart shopping trolley and continue his shopping the rfid reader will read
the data from the tags which is present in the product’s and the bill will be shown on the lcd display which will
be fixed on the shopping cart and make bill payments. Through this technique a huge amount of time will be
saved and shopping experience will be very easy. The admin will login to the admin block and he can view the
orders and also can confirm those orders as well.if the customer wants to pic the items it is also possible by
using smart trolley .when the user adds the product to the cart through the rfid tags the rfid reader will read the
product code and add directly to the bill and the customers no need to go to the billing section manually and
make the bill he can show the cart total amount and once the admin verifies he can pay the bill and buy the
items without any delay and time and energy will be saved.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 49

CHAPTER 9-FUTURE ENHANCEMENTS


Future enhancements of this project is we give a feature where the list of products items are located in the shop
because we will not know the exact location of the product and it will be very tough task to go and search for
items.instead of that we can give an option to search the location of the product.
And also we can add a feature to know the details about the products when we scan the bar code instead of
checking the details on the labels.for example the price and manufacture details and all will be on the bottom or
top of the table where we need to search for that thing soo instead of that we can provide an option that the user
can check the details of the products in the application itself.and also we can make the payments gateway more
secure and safety

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 50

CHAPTER 10-REFERENCES
1-AL-Amaira Almehairi, Tariq Bhatti website The virtual cart shopping:-Using smart phones and QR codes.

2-Microcontroller Muhammad Ali Mazadi jr book

3-.microdidilated2.com

4-8052.com website

5- Keil.com website

6-The developer.html.intel.com/design/mcs52/doc.mcs52.html website.

CMRIT DEPARTMENT OF MCA 2020-2021


VIRTUAL ECART SHOPPING 51

THANK YOU

CMRIT DEPARTMENT OF MCA 2020-2021

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy