Académique Documents
Professionnel Documents
Culture Documents
Submitted by:
Calma, Ma. Cheyenne C.
De Jesus, Princess Yvette
Fetalvero, Krizia F.
Nucup, Lee Ann Gail
Sugatan, Rancel L.
Ulpindo, Janusz Jerard B.
BS MfgE V
Submitted to:
Engr. Perferinda Caubang
1
TABLE OF CONTENTS
I. Introduction..3
II. Objectives..5
III. Scope and Limitations..6
IV. Theory..9
V. System Requirements16
VI. Design Process..19
VII. Materials22
VIII. Construction Procedure..26
IX. Conclusion.30
X. Recommendation31
XI. Appendices..33
2
A. Code..33
B. Specifications of material used36
C. Pictures39
D. References..42
I.
INTRODUCTION
When customers visit the stores, retailers try to convert the traffic into
sales profitably through several means. They ensure that the right product is
available at the right place, at the right time, and at the right price (Fisher
1997). People counters will assist you in understanding retail store traffic in
your establishment. Once you have a better understanding of how the retail
store traffic flows through your establishment, you will be in a better position
to make well-informed business decisions. These well-informed business
decisions will lead to an increase in your sale conversion rates.
II. OBJECTIVES
There are also specific objectives that the researchers would like to be able
to answer at the end of the project. The study would be able to:
1. Construct a device that would present the number of people entering and
leaving a certain establishment or a specific area of a retail store.
2. Identify and understand the theories and concepts behind the prototype
using what weve learned in Instrumentation and Control Systems.
3. Correlate Manufacturing Engineering as a profession to the project.
The study has the following specific objectives:
1. Familiarize with the different connections of our prototype and the
different components and its uses.
2. One day, market the prototype here in the Philippines in order to help
not only large companies but also small business owner.
enter the miniature mall. The researchers used miniature people who are
roughly 1.5 in height to act as customers for the project.
Limitations
The study focuses on gathering data that can be of importance to retail
companies here in the Philippines. This prototype emphasizes on counting the
number of customers entering a retail and recreational establishment,
specifically SM City Manila.
The research is limited to the number of people entering the
establishment at a given period of time of the day. Specifically, the researchers
would like to identify the number of customers entering per hour of the day.
Increase in traffic could also lead to crowding, which has been found to
negatively impact the shopping experience. Studies of crowded stores have
found customers to feel disoriented (Dion 1999), less satisfied (Eroglu and
Machleit 1990), more stressed, and tenser (Langer and Saegert 1977). Negative
feelings caused by in-store crowding have been found to translate into lower
patronage for retail stores (e.g., Eroglu and Machleit 1990, Eroglu et al. 2005).
8
Another study found that in overcrowded stores potential buyers may even
deviate from their planned shopping experience by spending less money than
planned or even leaving without making a purchase (Harrell et al. 1980).
Finally, crowding in retail environments could also affect the performance of
the sales associates who interact with the dissatisfied and/or aggressive
customers, having implications for the overall store performance. This research
neglects this negative implications of intense crowding in malls and similar
establishments.
Some of the assumptions made by the researchers are as follows:
The customers that needs assistance in entering the establishment that
are incapable of entering on their own (eg. Elderly who needs help in order to
walk and infants who needs to be carried) will be counted as one.
The customers will be entering the mall at a controlled pace and passing
through the entrance and in an orderly manner.
The positioning of the sensor in the entrance and exit are based on the
height of our prototype figurines, in order to count the maximum number of
people entering. In real life, there are children or even adults who are below the
9
average height and because of this the sensor might not be able to include
them in the count data gathered in our system.
The prototype only has one entrance and exit of the mall. This is to
assume that if the device is used in real life, the management would install it in
all of the entrance and exit of the establishment.
The project makes use of an LCD display in order to present the number
of visitor in the establishment.
IV. THEORY
Ultrasonic Sensor
A motion detector is a device that detects moving objects, particularly
people. A motion detector is often integrated as a component of a system that
automatically performs a task or alerts a user of motion in an area.
10
Three different properties of the received echo pulse may be evaluated, for
different sensing purposes. They are:
Time of flight (for sensing distance)
Doppler shift (for sensing velocity)
1
1
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.
1B. Direct Measurement Mode
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.
1
3
whose
performance
signals
space,
were
enabling
received
computer
by
multiple
program
to
receivers
in
the
triangulate
the
performer's position.
Gizduino Microcontroller
The Gizduino is a microcontroller board based on the ATmega328
(datasheet). It has 14 digital input/output pins (of which 6 can be used as
PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection,
a power jack, an ICSP header, and a reset button. It contains everything
needed to support the microcontroller; simply connect it to a computer with a
USB cable or power it with a AC-to-DC adapter or battery to get started. The
Uno differs from all preceding boards in that it does not use the FTDI USB-toserial driver chip. Instead, it features the Atmega8U2 programmed as a USB-toserial converter.
14
The Gizduino can be powered via the USB connection or with an external
power supply. The power source is selected automatically.
VIN. The input voltage to the Gizduino board when it's using an external
power source (as opposed to 5 volts from the USB connection or other
regulated power source). You can supply voltage through this pin, or, if
supplying voltage via the power jack, access it through this pin.
1
5
5V. The regulated power supply used to power the microcontroller and
other components on the board. This can come either from VIN via an
on-board regulator, or be supplied by USB or another regulated 5V
supply.
Each of the 14 digital pins on the Uno can be used as an input or output,
using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 5
volts. Each pin can provide or receive a maximum of 40 mA and has an
internal pull-up resistor (disconnected by default) of 20-50 kOhms. In addition,
some pins have specialized functions:
Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX)
TTL serial data. TThese pins are connected to the corresponding
pins of the ATmega8U2 USB-to-TTL Serial chip .
16
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the
analogWrite() function.
LED: 13. There is a built-in LED connected to digital pin 13. When
the pin is HIGH value, the LED is on, when the pin is LOW, it's off.
The Uno has 6 analog inputs, each of which provide 10 bits of resolution
(i.e. 1024 different values). By default they measure from ground to 5 volts,
though is it possible to change the upper end of their range using the AREF pin
and the analogReference() function.
The briefly review of the marketing literature that treats store traffic as a
traditional variable of interest. In contrast to our paper, most studies treat store
traffic as a dependent variable and study the impact of marketing activities
such as advertisements and price promotions on store traffic. Because of the
lack of traffic data, most of those studies use the number of transactions as a
proxy for store traffic (Walters and Rinne 1986, Walters and MacKenzie 1988).
One paper that uses actual store traffic data is Lam et al. (2001), which
assesses the effectiveness of marketing activities on store traffic, transactions,
and sales volume. Our project differs from Lam et al. (2001) in both motivation
and methodology. While Lam et al. (2001) use traffic as a dependent variable,
the researchers are interested in studying the possible impact of traffic on sales
performance.
Increase in traffic could also lead to crowding, which has been found to
negatively impact the shopping experience. Studies of crowded stores have
found customers to feel disoriented (Dion 1999), less satisfied (Eroglu and
Machleit 1990), more stressed, and tenser (Langer and Saegert 1977). Negative
18
feelings caused by in-store crowding have been found to translate into lower
patronage for retail stores (e.g., Eroglu and Machleit 1990, Eroglu et al. 2005).
V. SYSTEM REQUIREMENTS
In this project, the systems requires the following criteria to be met by
the components in order to achieve its system goals or purpose. The following
are the minimum values of the different components in order for the system to
work accordingly.
For the Microcontroller part of the project
The microcontroller must have at least 32 kb of memory in order to
upload the necessary program in to it. The standard Arduino uno or any other
Genuino boards that has 14 digital pins and 6 anolog pins in order to connect
all the fundamental components of this project.
20
counter is sent from the sensor to the microcontroller and eventually to the
LCD display board.
At the same time it gives a delay of 1sec so that the person can cross and
the count is maintained correctly.
22
who would be used in the project. The researchers concluded that the 50 mm
distance is more appropriate to use and is the optimized for all the factors
involved in the prototype.
LCD Display = 0
24
If distance < 6 cm
No
Yes
New Display=Initial Display + 1
END
VII. MATERIALS
1. Gizduino
An Arduino is an open-source microcontroller development board.
Arduino consists of both a physical programmable circuit board (often referred
2
5
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.
The command register stores the command instructions given to the LCD.
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.
4. 9V Battery
This 9 V Battery will serve as our source of power for the whole system.
2
7
5. Resistors
The purpose of the resistor in our circuit is it acts as a potentiometer in
order to lower the voltage across the LCD display in order to adjust the
contrast/brightness of the display.
6. Ultrasonic Sensors
This is the sensor used to measure distance from it to a surface. This
indicates if the fix distance programmed to in the gizduino board changes,
meaning there is someone passing through the entrance/exit then the arduino
board will increase in number. Ultrasonic sensors are sensors that are convert
ultrasound waves to electrical signals or vice versa.
28
8. Connecting Wires
Connecting wires allows an electrical current to travel from one point on a
circuit to another, because electricity needs a medium through which to move.
9. Digital Clock
This is use to display the time of the day when the people are leaving and
entering the establishment
1.
2.
3.
2
9
4.
5.
7.
8.
6.
9.
3. Now, cut out the walls of the miniature SM Manila using the
illustration board.
4. Using another illustration board, The researchers then constructed the
entrance of the SM Manila model. The researchers made sure to cut the
doors out (50 cm in length)
5. The researchers made sure to replicate the real SM Manila as much as
possible, so the researchers did the glass effect of the entrance of SM
Manila facing Manila City Hall using blue cellophane.
6. Next, the researchers made the Administrator Office of our miniature
SM Manila, using the scraps of illustration board. Constructing the
LCD Display holder in order for it to be erected on our prototype.
7. In order for our Ultrasonic sensor to be instituted to our prototype, the
researchers made a holder using illustration boards.
8. After the walls and the entrance is assembled, the researchers bore holes
in order for the connecting wires to pass through from the display to the
Gizduino board that is hidden inside the makeshift box/platform.
3
1
9. The researchers added some finishing touches like; detailed painting and
staging of the miniature SM Manila model.
32
3
3
Echo Pin
VCC
Ground
Ultrasonic 1
+5V
GND
Ultrasonic 2
+5V
GND
34
8. Instead of using the RTC in order to display the time of day, the
researchers used an old clock to display the time of the day in which the
customers can visit and leave the establishment.
IX. CONCLUSION
The foot traffic data generated from the prototype people counting system
can be used to calculate conversion rates for number of shoppers, seasonal
traffic patterns, impact of events and differences between regions or groups, in
order to better understand how your store is performing and how to positively
impact sales. The foot traffic counts obtained from our people counting system
can answer the following questions from our objectives.
The researchers successfully constructed a bidirectional counting device
using the ultrasonic sensors, gizduino board, LCD display and the rest of the
materials stated above. They also identified the principle behind the sensor
that is used in order to count the number of people entering and leaving an
establishment. The sensors convert the time it took for the inaduible sound
waves it produces to bounce back from a certain object, in this case a wall,
3
5
visiting
their
store.
Once
the
management
has
an
improved
understanding of how the retail store traffic moves through your business, they
will be in a better position to make well-informed business choices.
X. RECOMMENDATION
The researchers encountered a couple of problems in doing the prototype.
There are a number of things that would be beneficial if they are improved and
36
if ever there would be someone who will dedicate their time and effort to
further improve this study, the following recommendations are advised:
The original plan of the researchers was to construct a device that would
not only count the number of people entering the establishment but also record
how long those people stayed in a certain area of the store. This would not only
record the traffic in a store but can also be used to track if a certain area of the
store or display attracts more customer compared to the other parts of the
store.
Another recommendation would be to construct a similar device but
instead of using an LCD Display in order to present the data, it would be
presented in a PC so that not only does it present the data, it also
automatically be stored for future reference and use.
To further improve on our project, future researchers could simulate the
sensors in real life. They could test it at a given period of time thus obtaining
enough data for trial purposes and would be able to point out if there is a
significant relationship between people traffic versus sales conversion.
3
7
The use of an RTC or real time clock can also be an improvement for the
project since it would be able to display the current time even if the device is
turned off. This is to separate the data gathered in an hour, a day, or even in a
longer period of time to assess or identify the time they entered the
establishment.
Additionally, the panel suggested that future researchers would assemble
the wiring a little more neatly and orderly for a more hassle-free project.
Lastly, in order to achieve full automation of this system, future
researchers could use the microcontroller to save or store the gathered data
from the number of people who stayed inside the establishment at that certain
period of time (hourly interval). The data can be transmitted wirelessly through
the use of Bluetooth connection.
XI. APPENDICES
A. Code
#include <NewPing.h>
38
#include <LiquidCrystal.h>
float distance,distance2;
int customer=0;
int trigger=1;
int echo=7;
int trigger2=9;
int echo2=8;
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
int backLight = 13;
NewPing sonar(trigger,echo);
NewPing sonar2(trigger2,echo2);
void setup() {
// put your setup code here, to run once:
Serial.begin (9600);
pinMode(backLight, OUTPUT);
digitalWrite(backLight, HIGH);
lcd.begin(16,2);
lcd.clear();
}
void uread() {
unsigned int uS=sonar.ping();
3
9
distance =sonar.convert_cm(uS);
Serial.print("\n");
Serial.println(distance);
delay(500);
}
void uread2() {
unsigned int uS=sonar2.ping();
distance2 =sonar.convert_cm(uS);
Serial.print("\n");
Serial.println(distance);
delay(500);
}
void count()
{
if(distance<6)
{
customer++;
Serial.print("Customer Count:");
Serial.println(customer);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Customer:");
40
lcd.setCursor(10,0);
lcd.print(customer);
}
}
void count2()
{
if(distance2<6)
{
customer--;
Serial.print("Customer Count:");
Serial.println(customer);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("Customer:");
lcd.setCursor(10,0);
lcd.print(customer);
}
}
void plus()
{
uread();
count();
4
1
}
void minus()
{
uread2();
count2();
}
void loop()
{
plus();
minus();
}
B. Specifications of Materials
a. GIZDUINO ATMEGA328
42
Power Input:
External: 8V-12V
USB: 5V
Memory: 32 KB
Voltage Range: 5V
Dimensions: 8 cm x 3.5 cm x 1 cm
Weight: 0.036 kg
4
3
44
e. Power Supply
7V Battery
C. Pictures
In the making
4
5
Final Prototype
46
4
7
Oral Defense
48
D. References
Dion, D. 1999. A theoretical and empirical study of retail crowding. European
Advances in Consumer Research. 51-57.
Eroglu, S.A., K.A. Machleit. 1990. An empirical study of retail crowding:
Antecedents and consequences. J. Retailing. 201-221
4
9
Eroglu, S.A., K.A. Machleit, T. F. Barr. 2005. Perceived retail crowding and
shopping satisfaction: The role of shopping values. J. Business Research .11461153.
Fisher, M.L., 1997. What is the right supply chain for your product? Harvard
Bus. Rev. 105- 116.
Lam, S.Y., M. Vandenbosch, M. Pearce. 1998. Retail sales force scheduling
based on store traffic forecasting. J. Retailing. 61-88.
Lam, S.Y., M. Vandenbosch, J. Hulland, M. Pearce. 2001. Evaluating
promotions in shopping environments: Decomposing sales response into
attraction, conversion, and spending effects. Marketing Sci. 194215.
Langer, E.J., S. Saegert. 1977. Crowding and cognitive control. J. Personality
and Social Psychology. 175-182.
Harrell, G.D., M.D. Hutt, J.C. Anderson. 1980. Path analysis of buyer behavior
under conditions of crowding. J. Marketing Res. 45-51.
Walters, R. G., S. B. MacKenzie.1988. A structural equations analysis of the
impact of price promotions on store performance. J. Marketing Res. 51-63
50
5
1