A LoRa sensor network for monitoring pastured livestock location and activity

Transl Anim Sci. 2021 Jan 25;5(2):txab010. doi: 10.1093/tas/txab010. eCollection 2021 Apr.

Abstract

Precision technologies for confinement animal agricultural systems have increased rapidly over the past decade, though precision technology solutions for pastured livestock remain limited. There are a number of reasons for this limited expansion of technologies for pastured animals, including networking availability and reliability, power requirements, and expense, among others. The objective of this work was to demonstrate a rapidly deployable long-range radio (LoRa) based, low-cost sensor suite that can be used to track location and activity of pastured livestock. The sensor is comprised of an inexpensive Arduino-compatible microprocessor, a generic MPU-9250 motion sensor which contains a 3-axis accelerometer, 3-axis magnetometer, and a 3-axis gyroscope, a generic GPS receiver, and a RFM95W generic LoRa radio. The microprocessor can be programmed flexibly using the open source Arduino IDE software to adjust the frequency of sampling, the data packet to send, and what conditions are needed to operate. The LoRa radio transmits to a Dragino LoRa gateway which can also be flexibly programmed through the Arduino IDE software to send data to local storage or, in cases where a web or cellular connection is available, to cloud storage. The sensor was powered using a USB cord connected to a 3,350 mAh lithium-ion battery pack. The Dragino gateway was programmed to upload data to the ThingSpeak IoT application programming interface for data storage, handling, and visualization. Evaluations showed minimal benefit associated with reducing sampling frequency as a strategy to preserve battery life. Packet loss ranged from 40% to 60%. In a 3 d evaluation on pastured sheep, the sensor suite was able to report GPS locations, inertial sensor readings, and temperature. Preliminary demonstrations of our system are satisfactory to detect animal location based on GPS data in real-time. This system has clear utility as a lower-cost strategy to deploy flexible, useful precision technologies for pasture-based livestock species.

Keywords: LoRa; connectivity; extensive system; intensive system; networking; precision technology; sensor.