InThings Technologies Pvt Ltd, Palakkad +91- 96336 87401 , +91-8978390303 info@inthings.tech

Seamless Sensor Data Transmission with LoRa: A Case Study


Seamless Sensor Data Transmission with LoRa: A Case Study

Introduction We are pleased to present our IoT project utilizing cutting-edge LoRa (Long Range) technology. At Inthings Technologies, an industry leader in IoT embedded solutions, we have refined our LoRa system by enhancing antenna selection and placement, adjusting transmission power, and meticulously fine-tuning settings. This project illustrates how strategic optimizations can substantially improve LoRa performance and connectivity, even in the most demanding environments.

Problem Statement: Challenges with Connectivity in Remote Areas

The primary challenge faced was the reliable collection of sensor data in remote mine sites, which often suffer from unreliable connectivity and limited network coverage. Traditional solutions like Wi-Fi and GSM, effective in urban areas, proved inadequate in these vast and isolated locations. This intermittent or complete lack of connectivity hindered the real-time transmission of critical sensor data, essential for monitoring parameters such as temperature, humidity, pH, voltage, wind speed, and dust. The inability to effectively gather this data threatened to impede the client's decision-making processes and operational efficiency.

Introduction Current Setup: Wi-Fi and GSM Falling Short

The initial setup relied on Wi-Fi and GSM for network connectivity. While these solutions are robust in urban and well-connected areas, they struggled to provide consistent connectivity in the challenging terrains of remote mine sites. The unreliability of these networks jeopardized the seamless transmission of sensor data, hindering real-time monitoring and decision-making.

Identifying the Need for a Robust Solution

As the challenges became apparent, our team recognized the need for a secondary network solution that could guarantee reliable, long-range communication. The goal was clear: to ensure the uninterrupted flow of critical sensor data from these remote mine sites to a central hub for analysis and actionable insights.

IoT Introducing LoRa as a Strategic Solution

In the quest for a robust solution, our team turned its attention to LoRa (Long Range) technology. Known for its extended reach and low-power characteristics, LoRa emerged as a promising candidate to overcome the challenges faced in remote mine sites.

The Essence of LoRa Technology:

LoRa is a wireless communication technology known for its extended reach and low-power characteristics, making it a crucial player in the IoT landscape. We invite you to understand how LoRa seamlessly integrates into our IoT ecosystem, fostering connectivity among devices, gateways, and the broader world. LoRa proves to be an elegant solution as IoT devices equipped with sensors transmit data to a Raspberry Pi gateway powered by the SX1302 core shell. This gateway orchestrates the transmission of data to The Things Network (TTN), creating a seamless journey to our Azure IoT Hub. 

Understanding LoRa

LoRa, an abbreviation for Long Range, employs a spread spectrum modulation technique rooted in chirp spread spectrum (CSS) technology. Developed by Semtech, LoRa has emerged as a leading long-range, low-power wireless platform, establishing itself as the predominant choice for Internet of Things (IoT) applications. LoRa and networks like LoRaWAN® support intelligent IoT solutions that address significant global challenges, including energy management, natural resource conservation, pollution control, infrastructure efficiency, and disaster prevention.

Semtech's LoRa devices have been employed in numerous applications across smart cities, homes, buildings, communities, metering, supply chain and logistics, agriculture, and more. With a presence in over 100 countries and a continually growing network connecting hundreds of millions of devices, LoRa is actively contributing to the creation of a smarter planet. This characteristic makes LoRa ideal for applications demanding extended coverage and efficient power usage.

Here are some strategies to enhance LoRa range:

1. Antenna Optimization

• High-Gain Antennas: Use high-gain antennas on both the transmitter and receiver. Higher gain antennas focus the signal more effectively, extending the range.

• Antenna Placement: Position antennas at a higher elevation to reduce obstructions and improve line-of-sight communication.

• Antenna Orientation: Ensure the antennas are correctly oriented and matched for polarization (e.g., both vertical or both horizontal).

Recommended Antennas:

For Nodes (Transmitters):

--> 915 MHz Helical Antenna

o Frequency Range: 902-928 MHz (suitable for 915 MHz)

o Gain: Typically, 2-3dBi

o Type: Helical

o Connector: SMA Male

o Features: Compact, efficient for small devices, omnidirectional radiation pattern.

o Example: 915 MHz Helical Antenna

--> 915 MHz Dipole Antenna

o Frequency Range: 902-928 MHz (suitable for 915 MHz)

o Gain: 3dBi

o Type: Dipole

o Connector: SMA Male

o Features: Easy to mount, omnidirectional radiation pattern.

o Example: 915 MHz Dipole Antenna

For Gateways (Receivers):

--> 915 MHz Fiberglass Omnidirectional Antenna

o Frequency Range: 902-928 MHz (suitable for 915 MHz)

o Gain: 8dBi

o Type: Fiberglass Omnidirectional

o Connector: N-Type Female

o Features: High gain for extended coverage, durable and weatherproof for outdoor use.

o Example: 915 MHz Fiberglass Omnidirectional Antenna

--> 915 MHz Yagi Antenna

o Frequency Range: 902-928 MHz (suitable for 915 MHz)

o Gain: 11dBi

o Type: Yagi Directional

o Connector: N-Type Female

o Features: High gain and directional beam for focusing coverage on specific directions, ideal for long-range applications.

o Example: 915 MHz Yagi Antenna.

2. Transmission Power

• Increase Power Output: If regulations permit, increase the transmission power of the LoRa device. Most LoRa devices allow adjustments to the transmission power within legal limits.

3. Spreading Factor (SF) and Bandwidth

• Spreading Factor: Use a higher spreading factor. Higher spreading factors increase the sensitivity of the receiver but also increase the time on air.

• Bandwidth: Use a narrower bandwidth. Narrower bandwidths can improve range at the cost of data rate.

4. Data Rate and Coding Rate

• Lower Data Rate: Lower data rates generally improve range because they increase the time the signal is on air, improving the chances of successful reception.

• Coding Rate: Adjust the coding rate to add more redundancy to the transmitted data, improving robustness against interference and increasing range.

5. Environmental Factors

• Clear Line of Sight: Minimize obstructions between the transmitter and receiver. Buildings, trees, and other obstacles can significantly reduce range.

• Reduce Interference: Ensure that the operating frequency is free from interference from other sources. Using channels with less traffic can improve range.

6. Antenna Quality

• Quality Antennas: Use high-quality antennas with good efficiency and proper matching to the LoRa device.

• Cable Quality: Use high-quality, low-loss coaxial cables if external antennas are used to minimize signal loss.

7. LoRa Network Settings

• Adaptive Data Rate (ADR): Use ADR to allow the network to automatically optimize data rates and transmission parameters for each node.

• Diversity and Redundancy: Implement multiple gateways or use network diversity to ensure there is always a gateway within range of any given node.

8. LoRa Device Configuration

• Firmware Updates: Ensure that your LoRa devices have the latest firmware updates, which may include optimizations for range and performance.

• Proper Configuration: Verify that the devices are configured correctly for the intended application and environment.

9. Using Repeaters or Gateways

• Additional Gateways: Deploy additional gateways in strategic locations to cover areas where the signal might be weak.

• Repeaters: Use repeaters to extend the range by relaying signals between the transmitter and receiver.

10. Environmental Adaptations

• Weather Considerations: Be aware that weather conditions like rain, fog, and snow can affect the range. Plan deployments accordingly.

• Rural vs Urban: Range can be significantly better in rural areas due to lower interference and obstructions compared to urban areas.

Key Considerations for Optimizing LoRaWAN Antenna Selection and Deployment

• Frequency Compatibility: Ensure antennas are designed for the 915 MHz frequency band used in your LoRaWAN deployment.

• Connector Type: Verify that the antenna connectors (SMA Male for nodes, N-Type Female for gateways) match your LoRaWAN devices or use appropriate adapters.

• Deployment Environment: Choose antennas that are suitable for your deployment environment (e.g., indoor vs. outdoor, urban vs. rural).

• Gain and Coverage: Balance antenna gain with coverage requirements—higher gain antennas for gateways can extend coverage but may have a narrower beamwidth compared to omnidirectional antennas.

• Regulatory Compliance: Ensure antennas comply with local regulations regarding frequency use, transmission power, and antenna height restrictions.

Case Studies: Testing LoRaWAN Antenna Placement and Performance

Case1: Inthings technology(Node) to Naduvilathani(Gateway) 

• Distance = 916M approximately

• Antenna used = 5 dBi 915 MHz LPWA Outdoor Waterproof Antenna for both gateway and node.

• Antenna polarization = vertical

• Height of antenna = Node placed on top of inthings building water tank (15M Approx.) Gateway on top of 2 story building (10M Approx.)

• Line of sight = There are trees obstructing the line of sight between the antenna and the receiver.

• Node side antenna should point in direction of gateway because of vertical antenna.




Case2: Inthings technology to Kodikuthimala Watch Tower • Distance 4.4Km approximately • Antenna used 5 dBi 915 MHz LPWA Outdoor Waterproof Antenna for both gateway and node. • Antenna polarization = vertical • Height of antenna = Node placed on top of Kodikuthimala Watch Tower (540 above sea level) Gateway on top of Inthings building 2nd floor (10M Approx.) • Line of sight = There are no physical obstacles in the line of sight, but atmospheric conditions include clouds and fog. • Node side antenna should point in direction of gateway because of vertical antenna.





Conclusion In conclusion, our project demonstrates the effectiveness of LoRa technology in addressing connectivity challenges in remote environments. By optimizing antenna selection, placement, and transmission settings, we have significantly improved data reliability and coverage. These efforts highlight LoRa's capability to support robust IoT solutions in diverse settings, enhancing operational efficiency and decision-making in sectors such as mining and environmental monitoring. Looking ahead, we remain committed to further advancing IoT connectivity to effectively address global challenges.