Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Craig Hissett
Published

Store Customer Counter

An automated counter system to track customers entering and exiting a premises, and alert the queue when they can enter.

BeginnerFull instructions provided2 hours2,043
Store Customer Counter

Things used in this project

Hardware components

ELEGOO HC-SR04 Ultrasonic Distance Sensor Kits
ELEGOO HC-SR04 Ultrasonic Distance Sensor Kits
Used to track customer flow. 2 for the store entrance, 2 for exit. The order in which they are triggered will determine the direction they are moving, in or out.
×1
ELEGOO 4 Channel DC 5V Relay Module with Optocoupler
ELEGOO 4 Channel DC 5V Relay Module with Optocoupler
Used for output. This allows store owners to attach red/green lights to indicate to the customers
×1
Arduino MKR WiFi 1010
Arduino MKR WiFi 1010
Use in place of the Nano to enable the use of a web GUI for setting total counts.
×1
Plastic Enclosure, Project Box
Plastic Enclosure, Project Box
Used to house components
×1
ELEGOO 130pcs Solderless Flexible Breadboard Jumper Wires 4 Different Lengths Male To Male
ELEGOO 130pcs Solderless Flexible Breadboard Jumper Wires 4 Different Lengths Male To Male
For wiring things up
×1
ELEGOO 6PCS 170 tie-points Mini Breadboard kit for Arduino
ELEGOO 6PCS 170 tie-points Mini Breadboard kit for Arduino
A mini breadboard allow for easy connection of multiple devices (allows multiple 5v and ground connections to be made to the MKR WiFi 1010's single 5v/gnd pins)
×1

Software apps and online services

Arduino IDE
Arduino IDE
Used to program the Arduino Nano

Hand tools and fabrication machines

Drill / Driver, Cordless
Drill / Driver, Cordless
Used for drilling holes in enclosure. I used small bit for pilot holes, then switched to a stepper bit - a godsend for mounting HC-SR04 sensors!

Story

Read more

Schematics

Breadboard layout

A simple breadboard setup for cresting the core function of the device. two groups of two sensors to track the direction of customers passing two entrances and in which direction, and a relay module to connect to status lights

Code

GitHub Repository

GitHub Repo for the project. Code development will be ongoing

Credits

Craig Hissett

Craig Hissett

4 projects • 18 followers

Comments