Category: SX127x
-
How to Code for the RAK811 and Lora P2P in Arduino IDE
The RAK811 is an old friend of mine, released a little before I joined RAKwireless. I came in three versions: the stamp module, the Arduino Shield, and the XBee-style breakout. The first iterations of the Arduino shield had issues, which were corrected after I was given a couple of them, and pointed out the flaws.…
-
Random Numbers and LoRa
LoRa chips bring an unexpected bonus, related to radio frequencies: random numbers generation. Both the SX127x and the SX126x series provide this service, through one or more registers. In the SX127x series, the process is a little more involved (and some LoRa libraries for this chip get it wrong), but offers more control on the…
-
Channel Activity Detection: How to ensure your LoRa packets are sent properly
Background Currently, most of the LoRa® networks, either ad-hoc peer-to-peer (P2P) networks, or under the LoRaWAN® specification, use an ALOHAmedia access control mechanism, on a set of parameters (radio frequency (Freq), bandwidth (BW) and spreading factor (SF)), regardless of whether another device is already transmitting, which could result in a collision. While ALOHA allows for a…