Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Hello dear readers! Since the publication of the first article, we have grown up, our favorite vendors-developers LoThings, did a lot of painstaking work, and the day has come when there is something to tell and show!

Having launched our first LoRaWaN, we immediately determined what tasks we want to close through its capabilities. One of them was the control of fuel accounting at gas stations.

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

In general, we have 2 tanks in which fuel is stored, and a reed dispenser of a domestic manufacturer.

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

We solve the problem by measuring the fuel level in tanks, and reading data on the number of liters spilled through the dispenser.

Installed in tanks FLS BI FLSensor

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Now about the connection. The brains of the existing speakers have RS-485 on board. I have already met post about LoRaWAN and RS-485 and perhaps I will not repeat myself, the author of this post wonderfully described everything before me!
The protocols are loaded into the device and all processing takes place on board. A packet with dry data flies to the LoRaWaN network for processing on the server. Setting up the process of obtaining data from the column was tedious, due to problems with the logic of the column, everything is simple with FLS.

As a result, we receive every 10 minutes a packet with data on the volume of fuel in tanks and temperatures at the moment. In the case of a perfect refueling, at the end of it, a package arrives with the same data, but supplemented with information about the number of filled liters.

All received information is collected on the server and displayed in a form convenient for us.

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

Implementation of LoRaWAN in an agricultural enterprise. Part 2. Fuel accounting

That's probably all, I will gladly answer all questions in comments or PM.
In the next posts, new tasks, new victories :)

Source: habr.com

Add a comment