1. Introduction
Conceptually, the Internet of Things (IoT) [
1] can be defined as a technology that enables the integration of the physical world, where individuals engage in their daily activities with a virtual dimension, using the Internet as a connecting medium. This bridge between the two paradigms facilitates the sharing, distribution, and communication of data tailored to the unique requirements of each application area. A key characteristic of the IoT is its emphasis on minimizing human intervention, with data collection and transmission managed mainly by the electronic devices that constitute the IoT ecosystem [
2].
In the contemporary socio-economic landscape, characterized by rapid dynamism and accelerated digitalization, IoT systems are becoming increasingly critical. They contribute to process optimization, cost reduction, and productivity enhancement—essential components for fostering sustainable development across various industries. Consequently, IoT is not only a technological innovation but also a powerful catalyst for economic and social transformation.
A priority application area for IoT technologies is agriculture, a vital sector for global food security. The importance of this sector has grown exponentially in recent years amid events that have severely disrupted supply chains and generated instability in international markets.
The effects of the COVID-19 pandemic continue to be felt in agriculture, mainly through dysfunctions in supply chains. These crises have highlighted the need to implement measures that support agricultural independence and long-term sustainability. Integrating IoT technologies represents a significant opportunity to address current challenges and create resilient agrarian systems.
The IoT in agriculture offers innovative solutions [
3], allowing continuous and real-time monitoring of critical factors such as soil moisture, temperature, atmospheric conditions or crop conditions. By using sensors, drones, intelligent irrigation systems, and data analysis platforms, farmers can make informed decisions, reducing resource waste, and maximizing yields. These technologies also allow for early detection of problems, such as pests or plant diseases, which reduces losses and increases productivity [
4].
The integration of the IoT in Romanian agriculture could fundamentally contribute to a transition from traditional practices to precision agriculture. This involves using advanced technologies to manage agricultural resources efficiently, reducing the environmental impact, and increasing Romanian farmers’ competitiveness on the international market.
This paper proposes an IoT-based system architecture designed to collect, transmit, and analyze essential agricultural data. This system aims to facilitate farmers’ access to relevant information about environmental conditions and soil and crop status in order to optimize the decision-making process. Integrating these data into a unified IoT ecosystem will not only support their evaluation and comparison,, it will also contribute to developing sustainable agriculture that responds to future economic, social, and environmental challenges.
Products and research in smart agriculture [
5] are mainly aimed at facilitating and improving the user experience, aiming to increase agricultural productivity and reduce dependence on climatic conditions. These innovations aim to optimize agricultural processes by integrating advanced technological solutions that allow for more efficient resource management and continuous monitoring of environmental factors.
The novelty of this paper lies in its innovative implementation of a low-power wide-area network (LoRaWAN) tailored for IoT applications in agriculture, emphasizing energy efficiency and long-range communication. By utilizing energy-efficient devices such as the NUCLEO-L973RZ and I-NUCLEO-LRWAN1 boards and a custom-configured gateway from STMicroelectronics, the system supports real-time monitoring of environmental parameters like humidity, temperature, and pressure over extended distances (up to 15 km in rural areas). This work integrates these features into a scalable framework that enables informed decision-making for sustainable agriculture while validating the system’s performance through practical testing. It demonstrates its suitability for large-scale, energy-efficient IoT deployments in real-world scenarios.
This paper is organized into several sections, each contributing to the development of the topic.
Section 1, the introduction, outlines this study’s purpose, importance, and technological context, focusing on the key aspects of LoRa technology. The related works presented in
Section 2 are a review of the current state of research on LoRa technology and the LoRaWAN protocol, discussing advancements in standalone devices and relevant studies.
Section 3 details the implementation of LoRa technology, including system architecture, component functionality, and interactions.
Section 4 and
Section 5 explore the system’s main elements, covering hardware architecture, communication protocols, and the software interface.
Section 6 presents the final application, explaining how LoRa and LoRaWAN are utilized to meet the objectives. The
Section 7 highlights the contributions to LoRa and LoRaWAN technologies and potential directions for future research.
2. Related Works
In recent decades, interest in agriculture has evolved significantly, driven by advances in digital technologies. According to recent estimates, the smart agriculture [
5] market is projected to reach a value of 20 billion dollars based on the increasingly easy and accessible integration of IoT devices. These advanced technologies allow real-time collection, transmission, and analysis of critical data, such as meteorological parameters, soil conditions, and crop health.
Thus, by adopting the IoT, agriculture can become an economic development engine and a pillar of food security. Faced with an increasingly complex and unpredictable global context, advanced technologies represent an indispensable solution for ensuring the sustainability and competitiveness of the agricultural sector [
6].
The evolution of interest in implementing the IoT in agriculture is also reflected in the increased number of scientific papers dedicated to this subject. Studies highlight the potential of these technologies to transform agriculture by improving resource management, reducing the impact of adverse climatic factors and increasing operational efficiency. IoT integration also contributes to developing sustainable agricultural practices, favoring the rational use of natural resources and reducing losses.
Thus, the application of IoT technologies in agriculture opens new perspectives for optimizing production and redefines this sector in the context of current economic, climate, and social challenges. Smart agriculture is becoming a pillar of global sustainability, responding to the increasingly stringent requirements of a growing population and an interconnected global economy.
The term LoRa was introduced in 2009 [
7], with the development of an innovative technology by Nicolas Sornin and Olivier Seller, two researchers from France. This technology is distinguished by its ability to cover long distances and low energy consumption. In 2010, François Sforza joined the team, and together, they founded the company Cycleo, which was later acquired by Semtech in 2012. In 2015, this technology was standardized through the LoRa Alliance, an open-source nonprofit organization dedicated to promoting and developing the LoRa ecosystem. The technology operates at two levels: the LoRa (long-range) physical layer, which ensures data transmission through the specific modulation technique, and the MAC layer, represented by the LoRaWAN (long-range wide-area Network) communication protocol, responsible for managing data transmission between end devices, gateways, and servers [
8].
LoRa constitutes the physical layer of the IoT communications architecture, being associated with wireless modulation. Its primary purpose is to create data links over long distances using a radio modulation technique that operates in the unlicensed spectrum of frequency bands. Optimized for low power consumption and an extended coverage area, the technology allows communication over distances of up to 5 km in urban areas and over 15 km in rural areas. The extremely low power consumption is one of the significant advantages of this technology, allowing the operation of battery-powered devices for long periods of time. The transmitted data packets are small and are not emitted continuously, but only occasionally, and in sleep mode, the power consumption is at the milliwatt level, which extends the battery life to several years [
7,
8].
Technically, LoRa uses a spread spectrum modulation technique derived from the Chirp Spread Spectrum (CSS). This technique provides an optimal compromise between signal sensitivity and data transmission rate. Transmission is performed on channels with fixed bandwidths, 125 kHz or 500 kHz for the uplink and 500 kHz for the downlink. A distinctive feature of this technology is the use of orthogonal spreading factors, which allow battery life to be optimized by adaptive modulation adjustments depending on the position of each node to the gateway. Nodes closer to the gateway use lower spreading factors necessary for communication over shorter distances. In comparison, nodes located at greater distances require higher spreading factors, providing increased sensitivity and processing gains, albeit at a lower transmission rate.
This adaptability makes LoRa an ideal technology for IoT applications, where energy efficiency and extended coverage are essential requirements. Due to the combination of technological flexibility and outstanding energy performance, LoRa is an optimal solution for deploying IoT networks in urban and rural environments. In the context of the rapid expansion of IoT applications, LoRa is consolidating its position as the global standard for energy-efficient long-range wireless communications, responding to the diverse requirements of various industries [
9].
Technologies such as LoRa and similar alternatives such as SigFox [
10,
11] and NB-IoT have demonstrated concrete results and have already been implemented in the international market. These technologies represent viable solutions for smart agriculture’s specific needs, offering energy efficiency and long-distance coverage capacity, thus facilitating their integration into various operational scenarios.
The Connected Things store [
12,
13,
14,
15] offers its customers a wide range of products, starting with sensors for various applications, such as environmental sensors (outdoor or indoor), activity, motion, and presence sensors, temperature monitoring sensors across multiple refrigeration appliances, sensors used in agriculture, or people counters. In addition to sensors, Connected Things sells gateways from the same technology sphere, namely, LoRaWAN.
Devices relevant to the agricultural field include the TEKTELIC soil moisture sensor (surface variant) and the outdoor gateway with LoRaWAN technology, LORIX One [
16]. Together, these devices form an IoT system capable of measuring and monitoring environmental conditions in agriculture, thus facilitating the management of agricultural resources. In this context, the LoRaWAN sensor for agriculture is a multifunctional sensor designed for farming applications. This sensor supports up to four analogue and digital inputs, allowing for the collection of various data types. Furthermore, it includes two metal probes for measuring soil moisture. Its main features include temperature and relative humidity measurement, with maximum and minimum values ranging from −40 °C to 125 °C.
An important aspect related to the operation of this sensor is that if the sensor location is in direct light, it will not report the environmental conditions but the temperature of the housing containing the sensor [
17]. The sensor also includes a high-precision accelerometer, which detects shocks or major movements and is intended to monitor alarming movements. A dedicated sensor is used to measure ambient light, and a Watermark sensor is used to measure soil moisture, which responds to changes in water in the soil. Depending on the soil’s moisture, the sensor resistance increases or decreases depending on how dry or wet the soil is. This device also operates on batteries and uses LoRa technology to transmit data to the gateway. The LoRaWAN gateway, marketed under LORIX One [
16], allows users to configure the operating frequency and server connectivity parameters. According to the manufacturer’s specifications, users can connect this device to several server providers, such as LORIOT.IO or The Things Network. After creating an account and registering the device, users must validate connectivity. These gateways are essential for forming a functional network within the IoT, facilitating the process of communication and data collection in the agricultural environment.
Regarding the products IOT Factory offers [
18], this European company based in Brussels specializes in IoT solutions, with over 15 years of experience, and offers affordable and customizable solutions, mainly by reusing software components. Among their products is a LoRaWAN gateway designed to implement a private LoRa network in the 863–870 MHz frequency band. This gateway can be used for applications such as Smart Agriculture or Smart Buildings, having eight communication channels and a coverage of up to 15 km. LoRa technology is also used here, which makes this device an effective solution for transferring data from the agricultural environment. The product offered by IOT Factory can be customized for different applications in agriculture, including measuring temperature, humidity, light and presence. According to the data provided by the manufacturer, the autonomy of this sensor can exceed 2 years, depending on the configuration used. Like other LoRaWAN-based products, it uses LoRa technology to communicate data to the associated gateway. This sensor is also a Class A LoRaWAN device, which can operate efficiently in an extended network. Research continues to advance regarding the theoretical implementations of IoT technologies in agriculture. For example, the paper [
18] proposes the development of a long-range network prototype for agricultural applications, focusing on the low cost and efficiency of environmental sensor networks. This research demonstrated that nodes consisting of sensors, such as those for soil moisture, temperature, and light intensity, can be effectively used in a wireless LPWAN network. The network uses two wireless communication frequencies to ensure data transfer between the gateway and the nodes. Experimental results validated the system performance, with a measurement error below 9% [
19,
20].
Libelium [
21] offers complex devices for measuring and monitoring agricultural data, aiming to increase crop yield and quality and to understand the factors influencing their growth. An essential aspect of this system is that it uses Wi-Fi communication, and sensors such as those for soil and atmosphere monitoring are energy consumers, which emphasizes resource management by the user. In this context, the system offered by Libelium can be helpful in a wide range of agricultural applications, from weather monitoring to plant health.
The papers [
22,
23,
24,
25] also analyze the use of LoRaWAN networks in agriculture through simulations carried out with the NS3 platform to evaluate the performance of sensor networks depending on the number of nodes and data transmission intervals. The authors demonstrated that the parameters of the LoRaWAN protocol, such as message acknowledgement and network size, influence communication performance. The main conclusion is that LoRaWAN is an effective technology for IoT applications in smart agriculture.
This related works section highlights the growing adoption and versatility of LoRaWAN technology across various IoT applications, particularly in agriculture. Existing studies and commercial implementations demonstrate the effectiveness of LoRaWAN in enabling long-range, energy-efficient communication, focusing on addressing real-world challenges such as resource monitoring, environmental data collection, and process optimization. Additionally, the analysis of commercial products and research prototypes underscores the significant advancements in sensor and gateway technologies, which collectively contribute to the scalability and robustness of LoRa-based networks.
3. Implementing a Solution for a Wide-Area Network and Low Consumption
In this paper, the final device of the network is represented by the development module from STMicroelectronics [
26]. These two boards, namely, NUCLEO-L973RZ and I-NUCLEO-LRWAN1, form the node that will be placed outdoors to measure the parameters of interest. From a hardware point of view, NUCLEO-L973RZ is distinguished by the fact that it is a development board that allows users to create simple, flexible, and, at the same time, cheap projects, prototypes or new concepts. According to STMicroelectronics, this board represents the best performance and energy management solution. An essential factor is that this device supports the integration of other development boards, such as Arduino. This board is also integrated with the ST-LINK debugger and programmer. The I-NUCLEO-LRWAN1 development module, developed by USI
® in partnership with STMicroelectronics, is an integrated solution that allows even the most inexperienced users to learn and develop solutions using LoRa or FSK/OOK technologies. The main factor that highlights this module is the use of low energy, which contributes to data transmission and battery saving for longer. The primary sensors used in this work are also on this board and incorporated in the SMD (Surface Mount Device) form. These sensors are the ST HTS221 temperature and humidity sensor, the ST LPS22HB pressure measurement sensor and the sensor that incorporates both an accelerometer and a gyroscope ST LSM303AGR. In this work, the emphasis was placed on the temperature and humidity sensor, as well as the pressure sensor, because they provide the primary data of interest for the topic addressed.
For the hardware interface to be complete, the system must include, in addition to the final device (the network node), a gateway whose primary role is to retrieve data from the node and forward them to the system server. In this study, we had to decide between utilizing a pre-configured gateway or developing and configuring a custom gateway for testing. Considering the research-oriented nature of this work, the latter option was selected. To make the gateway, we used a development module from the same manufacturer as the network node, namely, STMicroelectronics.
The NUCLEO-L973RZ and I-NUCLEO-LRWAN1 boards are optimal choices over other market alternatives due to their exceptional energy efficiency, modularity, and cost-effectiveness. Designed for low-power IoT applications, these devices support prolonged battery life, with sleep mode consumption as low as 2.5 mW. Their modular design allows easy integration with additional platforms like Arduino, providing flexibility for developers to customize their setups without being locked into proprietary ecosystems. Competitively priced, these boards include advanced features such as built-in debugging tools (ST-LINK), high-quality temperature, humidity, and pressure sensors [
27,
28], and robust LoRa communication modules. They operate within the STM32Cube ecosystem, offering extensive software support, libraries, and simplified debugging, accelerating development and prototyping. Fully compliant with ETSI regulations and LoRaWAN specifications, they ensure compatibility and reliability for global IoT networks. Furthermore, using STMicroelectronics components for nodes and gateways streamlines integration and configuration, creating a cohesive system compared to mismatched hardware from multiple vendors. With open ecosystem support for platforms like The Things Network (TTN) and LORIOT, these boards offer substantial documentation and community support, making them an accessible, affordable, and high-performance choice for scalable IoT solutions.
Figure 1 illustrates the development boards that together constitute the system gateway. The main board, called the support board, is the NUCLEO-F46ZQ model. It is part of an extended family of STM32 devices, and the relevant technical specifications of the board are presented in
Table 1.
The expansion board, model LRWAN_GS_HF1, intended for LoRa communication, will be mounted on the support board. This board’s main functions consist of receiving and retrieving data transmitted by the network’s end device. The support board NUCLEO-F746ZG manages the expansion board through SPI communication.
This work aims to develop a system for monitoring environmental parameters essential for agriculture, namely, humidity, pressure, temperature, and acceleration and positioning of the device, to which the related sensors are interconnected [
29]. The block diagram of the entire system can be seen in
Figure 2.
According to the system block diagram (shown in
Figure 2), it will be structured into four main blocks: the end device (or node), which will retrieve data from the environment and transmit them further; the gateway, which will receive data from the end device and transmit them to a server for storage; the server, which will process and store the information, and, finally, the user application, which will receive the data for visualization and monitoring. Each system block will be implemented individually, and their testing will occur later.
4. Gateway Implementation
In the Internet of Things (IoT)’s application development field, LORIOT.IO [
30] represents a reference platform, offering a wide range of tools designed to facilitate creating and managing IoT networks for various projects. One of the essential components of this platform is the ability to create and add gateways, which is essential in the architecture of an IoT network. According to the specialized literature, a gateway is defined as an intermediary device that functions as a connection node between two networks, which receives, verifies, and redirects data traffic from one network to another. In the present work context, the process of creating the gateway involves a series of complex stages, which are carried out at both hardware and software levels. These stages will be detailed and discussed further.
During the gateway configuration process, at the hardware level, it is necessary to adjust some jumpers to adapt the board for use as gateway support. Thus, the JP1 jumper on the board must be set to the OFF position, JP3 to the VIN-5V position, and JP5 to the ON position. At this stage, the specific antenna for LoRa communication is connected, operating at 868 MHz in compliance with LoRa EU regulations. The next stage involves programming the board with the firmware corresponding to the server chosen for implementation (see
Figure 3).
Next, the gateway must be connected to a terminal to adjust operating parameters, such as frequency, connection server, MAC address, and uplink and downlink channels. For this step, the Tera Term environment was configured with specific parameters: baud rate of 115,200, 8 data bits, no parity, one stop bit, and no flow control, according to the manufacturer’s specifications. After connecting to the terminal, the device status information is viewed, as shown in
Figure 4. Changing settings, such as operating frequency and MAC address, was performed through AT+ commands in a serial terminal.
After configuring the essential parameters, the connection of the gateway to the server and the create-the-network interface were needed. This process begins with creating a user account on the LORIOT.IO [
30] platform, where the geographical area in Europe is chosen as the working point, more precisely, Frankfurt, Germany, the closest location to the implementation area in North-East Romania. This choice corresponds to the ISM EU868 frequency, the standard used by LoRa in Europe. LORIOT.io allows the device’s configuration according to the manufacturer, and in this case, a gateway from STMicroelectronics, type P-NUCLEO-LRWAN 2/3, was selected.
LORIOT provides the configuration of a device depending on the manufacturer, so in this case, the configuration of a gateway from STMicroelectronics of the type P-NUCLEO-LRWAN 2 or 3 was chosen (see
Figure 5). The MAC address gives an essential parameter, so special attention must be paid to completing the field with the MAC address because it must correspond to the physical MAC address of the device, the address that we configure in the Tera Term terminal. At this step, the data transmission protocol is also established. In this case, the UDP protocol was used because this was the protocol on which the development board was configured.
An essential parameter is the MAC address, which must be entered accordingly to align with the device’s physical MAC address previously set in the Tera Term terminal as in
Figure 6. At the same time, the data transmission protocol is established, and the UDP protocol is chosen, which is compatible with the development board used.
Finally, after the parameters are fully configured, the LORIOT platform dashboard allows the user to view and monitor the gateways’ status.
Figure 7 presents the status of the created gateway and its location.
The LORIOT.IO platform was selected as the network server for this study due to its robust compatibility with LoRaWAN standards, intuitive user interface, and flexibility in configuring and managing IoT networks. Its support for multiple device manufacturers ensured seamless integration with the STMicroelectronics P-NUCLEO-LRWAN gateway used in this work, while its ability to configure parameters such as frequencies, data rates, and server connections facilitated compliance with regional LoRaWAN regulations, including the EU868 frequency band. The platform’s real-time monitoring and visualization capabilities allowed effective validation of data transmission reliability and system functionality, making it particularly suitable for research and development purposes. Additionally, LORIOT.IO provides a controlled environment for optimizing and scaling IoT networks, aligning with this study’s research-oriented goals while offering a pathway for potential commercial deployment.
5. End Device Implementation
Implementing the final device involved essential steps at both the hardware and software levels. From a hardware perspective, an essential step was connecting the jumpers for the ST-LINK connector, thus ensuring proper communication between the development board and the programming environment. In
Table 2, several parameters for both the end node and gateway were provided, starting with communication range, power consumption, etc. We chose to work with these values due to the EU regularization or because of energy management. At the software level, configuring the final device began with integrating the development board within the STM32CubeIDE, and the application implementation was finalized by running it on the respective board.
Regarding the software stages, the first step consisted of connecting the network node to the STM32CubeProgrammer program to configure the device, assigning the appropriate addresses, and verifying the firmware available on the board. This stage was of particular importance, given that it guaranteed excellent hardware preparation for the subsequent phases of application development. Next, the framework project necessary to implement a network node application for LoRa networks was downloaded from the official documentation provided by STMicroelectronics. Access to this project was offered free of charge, subject to creating a user account, thus facilitating obtaining all the resources necessary to develop the application.
The next step involved importing the LoRa node project into the STM32CubeIDE development environment to test the connectivity between the application and the development board. Once the connection with the board was established, a dedicated USART communication cable was connected. The results were then viewed through a Tera Term terminal using the same configuration as the gateway. The captured data were reviewed for validation, as illustrated in
Figure 8.
The last step involved registering the end device on the LORIOT platform and configuring it to reflect the physical parameters specific to the device. This step began with creating an application on the LORIOT platform. Thus, each of the steps taken was essential in completing the implementation of the end device and ensuring its integration into an operational LoRa network.
The flowchart from
Figure 9 outlines the operational flow of a LoRaWAN-based end node implemented using STM32CubeIDE, starting with system initialization, where hardware components such as GPIO, SPI, and UART are configured alongside clock settings to ensure reliable performance. Following this, the LoRa module is initialized by resetting it and configuring critical parameters, including frequency, spreading factor, bandwidth, and transmitting power, to align with regional regulations and operational requirements. The main event loop encompasses three primary actions: detecting sensor data ready to be prepared and transmitted as data packets, monitoring for incoming messages from the gateway to retrieve and process them, and transitioning to low-power mode to conserve energy until the next scheduled interrupt. This structure ensures efficient bidirectional communication, energy optimization, and system scalability, supporting additional functionalities as needed.
6. Implementing the Final Application
Several options are available for implementing the final application, which will display the data received from the end device. However, because the account created on the LORIOT.IO server is not premium, access is limited to two customizable platforms for data visualization: Cayenne and Web-Sockets. In this work, the Cayenne platform was chosen [
31]. Cayenne represents a project intended to support engineers and developers in creating IoT prototypes, which they can later bring into production. A significant advantage of this platform is that it has mobile applications for both iOS and Android, facilitating an intuitive and accessible user experience. The platform offers a wide range of widgets, allowing data visualizations, setting rules and alarms, scheduling events, and monitoring the geographical location of the nodes in the network.
The first step in creating the final application involved registering a user account on the Cayenne platform, which will later be linked to the existing account on the LORIOT.IO platform.
While implementing this concept may have initially appeared straightforward, several significant challenges emerged during the process. One of the main challenges was associated with the implementation of the gateway. Initially, we intended to use the server and platform provided by TTN [
32,
33]. Still, despite correctly using the authentication credentials, the gateway failed to establish a stable connection with the server. Given the persistence of this problem, it was decided to use the default network supported by STMicroelectronics, namely, LORIOT.IO. After configuring the default network of the device and registering it on the platform, it was finally possible to establish the connection via Ethernet between the gateway and the server. Another critical difficulty was related to the final device. Although all hardware parameters were configured according to the technical specifications, it was not possible to establish a serial port connection between the node and the computer intended for debugging. Later, it was identified that the development board had not implemented certain hardware specifications mentioned in the official documentation. As a result, alternative technical solutions were resorted to, embodied in a specially made cable capable of being connected to serial ports that support serial communications.
Registering the end device within the TTN platform was essential, given that the authentication information obtained was necessary for the application’s integration with the TTN network. Once the device is registered, the authentication data will be integrated into the gateway configuration, thus facilitating the establishment of the connection with the server. The data to be transmitted will come from the sensors mounted on the expansion board. Although the device was successfully connected using the appropriate credentials and the connection with the server was established, data transmission was only possible by activating the ABP (Activation by Personalization) authentication method.
Figure 10 illustrates the successful transmission of data, the LED showcasing the data packets sent from the end node to the configured gateway. Each transmission stage is elaborated in
Figure 11, beginning with the initialization of Activation by Personalization (ABP) communication, which establishes secure session keys between the node and gateway. The connection to the server is then established and confirmed by a success message indicating the stability of the link. Following this, the data frame is transmitted, with its value observed in the console output, which also provides details on the transmission port and data rate. The communications utilize two distinct channels, with the receiving (RX) frequencies on each channel explicitly displayed to demonstrate the system’s robustness. The process ends with a success message confirming both the effective transmission of data and the integrity of the connection, offering a clear validation of the communication pathway and its parameters.
7. Conclusions and Future Research Directions
This paper outlines developing an IoT system leveraging LoRa modulation technology and the LoRaWAN protocol, which is tailored explicitly for extensive networks requiring low energy consumption. Such features make it particularly valuable for applications in agriculture, where cost efficiency, reliability, and coverage are critical.
The system present in this paper is primarily designed for the agricultural sector. However, its versatile framework allows for adaptation and implementation in other industries, such as logistics, transportation, and healthcare, where continuous monitoring of critical factors is essential. These applications can range from tracking environmental conditions to monitoring patient vitals or supply chain processes, demonstrating the system’s broad applicability across diverse fields. The primary objective of this work was to design and implement an end-to-end system capable of real-time tracking of relevant environmental parameters. By focusing on the evaluation, validation, and local testing of LoRa and LoRaWAN technologies, this project aims to bridge the gap between theoretical potential and practical application. This approach seeks to advance the understanding of these technologies, emphasizing their capabilities in supporting innovative, scalable, and real-time data monitoring and management solutions. The insights from testing and validating this solution will provide a solid foundation for future research in long-range wireless communications, especially within the Internet of Things (IoT) and other industrial domains.
Implementing this system was a multifaceted process characterized by challenges related to the technical nuances of the LoRaWAN protocol and hardware limitations encountered during development. Overcoming these hurdles required innovative problem-solving and a thorough understanding of software and hardware components. This study demonstrates the feasibility and potential of implementing a low-power wide-area network (LPWAN) system using LoRaWAN technology for real-time environmental monitoring, specifically in agricultural applications. By leveraging energy-efficient hardware, including the NUCLEO-L973RZ and I-NUCLEO-LRWAN1 boards, and a custom-configured multi-channel gateway, the system achieves significant advancements in power efficiency and communication reliability over long distances. Integrating adaptive spreading factors and Gateway Traffic Class B ensures optimal performance for diverse deployment scenarios, particularly in rural settings where long-range communication and low energy consumption are critical. Validation tests confirm the system’s robust functionality, showcasing low error rates, reliable data transmission, and extended battery life.
While this research establishes the foundational framework and validates the system’s operational effectiveness, future work will focus on conducting detailed performance measurements on the gateway and data server to provide a comprehensive evaluation of the system’s capabilities. Additionally, further optimization and scalability enhancements will be explored to support broader IoT applications.