Monitoring traffic volume in a petrol station with PLC Arduino

Industrial Controller based on Open Source Hardware

Industrial Arduino for energy savings

In this case, our client located in Tarragona, Spain, wanted to monitor the traffic of vehicles at his petrol station. In 2016, gas stations in Spain could only change the price of fuel once a day. Currently, each station tries to develop its own system to fluctuate prices according to customers’ behavior.

Our customer therefore wanted to have a real-time study of vehicle traffic in his area to have solid data and have a market strategy based on the data collected.

Summary

Today, service stations are not just places to fill your car with gasoline. They are centers that concentrate a very wide commercial offer of products and services for vehicles and occupants: refueling, restaurant, car wash services, workshop, supermarket, among others.

Knowing the behavior of the consumer in different periods of time, and on specific dates, allows service station managers to plan the commercial offer. This data acquisition allow the launch of special promotions or even adapt the price of fuels at key moments like weekends or the busiest hours on holidays.

The industrial automation solution proposed by Industrial Shields in this case adapts to the environment and uses wireless communication to collect and send the data to a server.

Goals

The fuel company wants to know the average duration of the stay of the vehicles. Doing that they can forecast specific moments where queues are generated to refuel, and when to make changes in the price of gasoline, among other utilities.

Our customer also wants to know the rate of vehicles accessing the service area without refuelling. This is important to know not only the vehicles that do not refuel but also those that stop to consume at the bar or the store of the gas station. Using an industrial plc to control this it is possible to know the best time to promote products from the store, the cafeteria or the gas station.

The project has also planned to measure the volume of traffic that passes along the road in front of the service station every hour to compare data with customers’ consumption.

Conclusion (hardware)

In order to obtain all the traffic information from the area near the service station, the following system has been prepared as follows:

To detect vehicles: electromagnetic transducers have been located in each of the lanes of the highway that pass just in front of the service area. The transducers have also been placed at the entrance and exit to the service station to be able to study the vehicles entering, and the average time each of them spend inside the station. 

Each time they detect a vehicle, the electromagnetic transducers send the data captured via radio to the receiver. The receiver is an OpenMote B module that receives data from all transducers installed in the area. OpenMote B modules work with Open Source 6TiSCG implementation.

The OpenMote B receiver is connected to a controller Arduino from the WiFi & Bluetooth LE family. The Industrial Shields PLC can log into the local network of the service area via WiFi using the Modbus TCP/IP protocol.

The data is stored on the server and monitored with the use of Node-Red. The customer can access the data and visualize it according to the area, the desired time slot and even compare them with other days to facilitate the study of traffic.

All the programming has been done using Arduino IDE, that can be downloaded for free  from the Arduino website.

RECENT ARTICLES

Workz debuts unrestricted IoT device management

Posted on: May 3, 2024

Workz, a cloud-based eSIM vendor, has launched its new remote device management solution designed for the Internet of Things (IoT) industry. The platform eliminates the restrictions associated with traditional technologies

Read more

Itron improves Temetra platform for water utilities in Australia and New Zealand

Posted on: May 2, 2024

Itron expands the capabilities of its Temetra platform in Australia and New Zealand to include NB-IoT communications, enabling digital transformation for water utilities. Temetra’s comprehensive offering includes metre data processing,

Read more
FEATURED IoT STORIES

What is IoT? A Beginner’s Guide

Posted on: April 5, 2023

What is IoT? IoT, or the Internet of Things, refers to the connection of everyday objects, or “things,” to the internet, allowing them to collect, transmit, and share data. This

Read more

The IoT Adoption Boom – Everything You Need to Know

Posted on: September 28, 2022

In an age when we seem to go through technology boom after technology boom, it’s hard to imagine one sticking out. However, IoT adoption, or the Internet of Things adoption,

Read more

9 IoT applications that will change everything

Posted on: September 1, 2021

Whether you are a future-minded CEO, tech-driven CEO or IT leader, you’ve come across the term IoT before. It’s often used alongside superlatives regarding how it will revolutionize the way

Read more

Which IoT Platform 2021? IoT Now Enterprise Buyers’ Guide

Posted on: August 30, 2021

There are several different parts in a complete IoT solution, all of which must work together to get the result needed, write IoT Now Enterprise Buyers’ Guide – Which IoT

Read more

CAT-M1 vs NB-IoT – examining the real differences

Posted on: June 21, 2021

As industry players look to provide the next generation of IoT connectivity, two different standards have emerged under release 13 of 3GPP – CAT-M1 and NB-IoT.

Read more

IoT and home automation: What does the future hold?

Posted on: June 10, 2020

Once a dream, home automation using iot is slowly but steadily becoming a part of daily lives around the world. In fact, it is believed that the global market for

Read more

5 challenges still facing the Internet of Things

Posted on: June 3, 2020

The Internet of Things (IoT) has quickly become a huge part of how people live, communicate and do business. All around the world, web-enabled devices are turning our world into

Read more