FarmIT 3000 Lorawan and IOT - A FarmIT Guide.

Introduction

Lorawan is a wireless network system designed to allow transport of small amounts of data. Lora (Low Power) and WAN (Wide Area Network) is built on international standards to allow thousands of 'THINGS' to use it. A 'thing' can quite literally be anything, but they have one thing in common they all collect data and send it to somewhere via the LORAWAN network.

LORAWAN and the Gateway ( or base station )

Lorawan is very similar to a phone network, however whilst the phone network is designed for phones and users consuming lots of data. Lorawan is designed for small data devices. Just like your phone sends data to your local phone mast, the Lorawan device sends data to its local gateway. The data is then forwarded from the gateway to the gateway's server over the internet, where the data is then forwarded to the end user or application. Just like the phone system there are of course various LORAWAN networks, for example The Things Network

Llety Mawr Lorawan Gateway

TTN Lorawan Gateway

Lorawan TTN Gateway

Not as big as it looks, 30cm x 30cm box. Antenna is 80cm

Lorawan gateway at 330m up in the Banwy Valley.

This gateway connects to the internet via the local internet connection. Others may connect via their own SIM card phone system.

We went for the 'wired in' approach as it costs us less money!

We now have sensors all over the place.

IOT and Lorawan Devices and Data Collection

OK, you may already be bored!, but wait! now it gets interesting!

Let's measure the temperature in the polytunnel! but lets do it every 15 minutes!

Now you would soon be bored with that, but wait, a lorawan device can do exactly that and it will NOT get bored. In fact a basic LORAWAN device can do temperature and humidity for lest that £85, it can do it for 5 years without a battery recharge, and all you do to install it is put it in the polytunnel! No wiring, no cables, no installation cost at all, so let's put some more devices in!

The thing is! LORAWAN is the infrastructure and protocol to move the data, and lets face it unless you are a techi nerd! pretty boring!

IOT the internet of things , devices intended to collect data on their own!

What's it got to do with farming!

At first glance I would forgive you for saying NOTHING! ( and underlining nothing ). But just how cold is it in the cattle shed? How hot is it in the pig shed? how WET in the field? is the water running in the water troughs? How full is the slurry tank? is the electric fence battery flat? etc etc.

The biggest cost in monitoring the real world is the cost of wiring the device, LORAWAN eliminates the cost of wiring the device, in fact your sensor can be a long way from the gateway 10 to 12 Km ( that's a lot of wire). So the only cost is the cost of the sensor, so you could have 20 on a field or 4 in a shed. You may not even need you're own gateway if your lucky enough to be convered by an existing gateway.

So, What Can You Measure!

There are already a considerable number of devices, measuring temperature, humidity, Light, Moisture, Motion/Movements, Gates, Fluid Level, GAS Levels, Noise levels, even how full is the wheely Bin! Some are very cheap, others not so depending on the measuring instrument being used.

R718AB Temperature and Humidity Sensor

Temperature and Humidity

This sensor measures temperature and humidity, we have then all over the place.

Temperature and Humidity

The NETVOX R718AB sensor is a small device, 100 mm x 80mm x 30mm. It has a small button to start and stop it. It measures temperature and humidity. It has an internal ID which is a unique number, we link this in our database to a name and then a location so we know where we put it!

It records the data every 15 minutes. the data is sent to the gateway, the gateway send it to the TTN network server (The Things Network) which then sends the data to our FarmITOnline Server.

Our server then associated the data with the sensors real world farm location and saves the data into our database.

Interpreting the Data

The trouble with lots of data is realy what do you do with it? and of course it is sometimes difficult to know, especially when you first start. However, LORAWAN lends itself to different purposes, real-time monitoring and long term analysis.

Real-time monitoring - I.e. what is happening now! in our case is what is the temperature in the polytunnel or shed, given the device is measuring every 15 minutes its going to be pretty up to date, so we have a basic 'Current Status' report. But real time could equally raise an alarm or send you a text, for example wheely bin sensors are telling the council when the bin is full!

Long term analysis - looking at the data over time, with graphs etc. really depends on what you want, as long as the data is recorded in a suitable database then current software tools allow for a wide range of visual display which 'hopefully' will be useful.

FarmIT Online - Climate and Environment - Lorawan and IOT

The data from our devices ends up on our server in the cloud!  in an Micorosft SQL Server Database. Accessing the data, how things are configured, what alarms are defined, how your change things is all down to the software interface, Sometimes called the dashboard! more techi speak!

SO! our device data goes to our FarmITOnline server and is managed via the users FarmITOnline Account

FarmIT Online Climate and Environment Menu

FarmIT Online Climate and Environment Menu - dashboard

FarmITOnline is accessed through a web browser, you login and get access to your farm data. You can call it a dashboard if you like! to us it is a web based application, with menus and forms ( my dashboard is in my car!)

You will also note we have stopped calling things IOT devices and now call them Gates, Water troughs, Temeprature sensors etc. We still have a report of all our lorawan devices, but as this grows the reports for sensors, gates etc is more useful.

FarmIT Online - Lorawan Sensor list

Each device is configured to its role, what job it is actually doing, monitoring a gate, an overflow sensor in a water culvert, but basically the device is a switch! temperator sensor etc

FarmIT Online Lorawan Sensor Config

We can set the location of the device and its GPS coordinates, most devices do not send their GPS location, we do this using our FarmIT Mobile andriod phone app!. For example when we install the sensor we record were it is. This means we can then view the sensors on google maps and remind ourselves were we left them.

FarmIT Online Lorawan Device Map - Google maps

Real Time Alarms

So the device sends the data to our server, which identifies the device and the type of data, we know which device the data comes from and whethers its a temperature sensor, gate, water trough etc. The next bit is then easy to understand, we can define limits for temperature, we know if the gate is open or closed, we know if the water trough is full, overflowing or empty. We can then email you to do somethings, raise the ALARM!

FarmIT Lorawan Temperature Sensor Alrm Config

THE WATER TROUGH IS EMPTY!

Not difficult this one, a basic float switch triggers the alarm, the server emails you and you go and fix it. This also means a lot less time spent checking water toughs  that could be miles away!

THE CULVERT IS BLOCKED!

Again a basic float switch triggers the alarm, the server emails you and you go and fix it. Hopefully before the culvert blockage creates a flood and sends water cascading into the local primary school!

THE GATE IS OPEN!

Even easier, a basic magnetic reed switch in the gate tells us if it open or closed, left open and you get the email! you go and close it. Or you go to find your livestock!

THE POLY TUNNEL TEMPERATURE IS BELOW 5 DEGREES!

Right so you define the low temperature, if it drops below this value you get the email! could that be useful? well it has saved my plants so YES!

Application of LORAWAN and IOT Devices

So we do not need to get too techi to understand how this may help us, and we do not need to know how it works, we just need to decided if it is useful!

Batteries!

Most of the devices we use are battery powered, most have two 3.6v lithum batteries. Battery life is good but the actual operation of the device may depend on its distance from the base station antenna and the line of site. This effects the signal strength and therefore the range. We have found our devices that are furthest away stop working first for example after two - three years. But still not bad.

Heart Beats

The devices that are basic switchs also have a heart beat signal. Although the device only sends when the switch status changes, it also sends a regular heart beat. If the heart beat stops we can investigate. The tempearture sensors are more obvious as you stop getting the temperature.

After 3 years is the data interesting?

YES! we have identified wide changes of temperature across the farm. Cold air pockets in valley bottoms (which can be 10 degrees lower than the top of the hill). That the sun being out warms things up very quickly. In fact the temperature and humidity changes in such corrolation with the sun being out, you can actually tell when a cloud arrives on a clear day. Our polytunnel for example can go up by 10 degree in 30 minutes. We know our frost heater in our pumping shed is holding a steady 6 degrees on even the coldest of nights. That the humidity in our cattle shed can be 100% (even though the roof is NOT leaking). That cattle in the shed are actually heating it! We know people actually do use our footpaths. We know that we need more water storage!. And finally that our bees are alive and busy in the hive, on a hot day cooling themselves and on a cold day warming.

Llety Mawr Live - demonstrates the possibilities of lorawan devices and data collection....

Llety Mawr Lorawan Live  - Online NOW take a look

Summary

LORAWAN may be very techy but if you forget that and consider the possibilities then it could be extremely useful on farm. You could say it is a solution looking for a problem! but like the internet, it maybe that we have to think just how we may use it. Is it the future NO it is here right now!


Tel: 01938 820625

Email: Sales@bordersoftware.com

© 2026 - Border Software Ltd