LoRa can be used as the communication technology for the intelligent monitoring system. However, LoRa is usually used for outdoor communication. The usage of LoRa as indoor communication has many challenges. One of the challenges is that collision happens when using standard LoRa devices with only one channel. The algorithms based on TDMA (Time-division Multiple Access) and CSMA (Carrier-sense Multiple Access) protocols can be used to address this challenge. These two algorithms can be modified by applying the device that is the center of the network (gateway) as a central control and the data transmitter (sensor node) as a passive device. The test was conducted on the Intelligent Laboratory Monitoring System to evaluate this design on a multi-node LoRa network. RSSI testing proves that the distance and building interference affect the signal strength or RSSI of sensor nodes, so the average RSSI value is -73.75 with an RSSI threshold of value -106. The gateway successfully collected each sensor node data with an average success of about 64.953%. The experiment results show the success rate of the CSMA-based algorithm is 10% versus 100% in TDMA-based algorithm; the delay is 4125 ms for CSMA-based and 428.3 ms for TDMA-based. This result means that the CSMA-based algorithm is more complex, takes more time to process the data than the TDMA-based algorithm, has a low success rate, and is more prone to collisions.
Read full abstract