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

5th Edition Connected Africa announces Telecom Innovation & Excellence Awards 2024

Posted on: April 19, 2024

The International Center for Strategic Alliances (ICSA) has announced the 5th Edition Connected Africa- Telecom Innovation & Excellence Awards 2024, set to be held on 22 May 2024 in Johannesburg, South Africa. Under the theme “Building a Connected Global Economy,” the summit aims to influence the telecom in Africa. With a focus on fostering forward-thinking

Read more

Facilio launches refrigerant tracking and leak detection software

Posted on: April 19, 2024

Property operations software firm Facilio has announced the launch of its ready-to-deploy refrigerant tracking and leak detection software solution. This is meant for all grocery and convenience store operators who want to implement an automatic leak detection system to identify and mitigate potential refrigerant leaks to achieve 100% compliance.

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 interconnected network of devices transforms previously “dumb” objects, such as toasters or security cameras, into smart devices that can interact with each other and their

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, is leading the charge to dominate the next decade’s discussion around business IT. Below, we’ll discuss the current boom, what’s driving it, where it’s going,

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 you work, play, and live. But is it just another buzzword, or is it the as-promised technological holy grail? The truth is that Internet of

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 Platform 2021? authors Robin Duke-Woolley, the CEO and Bill Ingle, a senior analyst, at Beecham Research. Figure 1 shows these parts and, although not all

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 smart home automation will reach $40 billion by 2020.

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 a more switched-on place to live.

Read more