This is a project created in the lecture “Internet of Things Ecosystem” at the University Esslingen - University of Applied Sciences in the Winter Semester 2020/2021.The Idea
Because of Covid-19 stores in the whole world have restrictions of how many people may enter the shop. The idea was to create a system for stores to easily and efficiently count their customers. For that problem we created a prototype that counts customers and pushes the information to the cloud.The Solution
We are using ultrasonic sensors because they are cheap and are functioning up to a distance of 4 meters. It is essential to use two sensors, so that you can differentiate between people who are entering and exiting.
We attached these two ultrasonic sensors to a Particle Photon. The Photon is a Wi-Fi IoT device for creating connected projects and products for the Internet of Things. It is easy to use because of the Web IDE and it is connected to the particle cloud.Connection with Losant
For the connection to the internet we used the particle cloud and the dashboard function of Losant. To publish a variable to the particle cloud we used Particle.publish. The function pushes the value out of the device if the variable "counter" is updated.
To connect Losant with the particle you need to add your particle device in Losant and create the following workflow:
For more information use these links:
If have the connection to your device you can now create a dashboard for your use.Demo Video