Hi,
I have written some code to send a short message from a Wio-E5-LE Mini to a Wio-E5-LE Devboard.
While everything is working, I can’t seem to get a good working distance between the units.
I am using the antennas that comes with the kits, and get a range of about 250 meters line of sight (one node inside my house though). This is about the same range that I can get with a simple ASK remote transmitter (the type for opening garage doors etc), so I know something is wrong here.
These are my settings
#define RF_FREQUENCY 868000000 /* Hz */
#define TX_OUTPUT_POWER 14 /* dBm */
#define LORA_BANDWIDTH 0 /* [0: 125 kHz, 1: 250 kHz, 2: 500 kHz, 3: Reserved] */
#define LORA_SPREADING_FACTOR 12 /* [SF7..SF12] */
#define LORA_CODINGRATE 1 /* [1: 4/5, 2: 4/6, 3: 4/7, 4: 4/8] */
#define LORA_PREAMBLE_LENGTH 8 /* Same for Tx and Rx */
#define LORA_SYMBOL_TIMEOUT 5 /* Symbols */
#define LORA_FIX_LENGTH_PAYLOAD_ON false
#define LORA_IQ_INVERSION_ON false
If I have both units connected to my computer, with about 60cm between them, I get RSSI around -70dbm, and SNR 4db, which to me sounds quite bad, right?
I have a payload of 8 bytes.
I know I can perhaps tweak symbol timeout, and coding rate a bit more, but I like to understand why the RSSI is where it is, as a starter.
Unfortunately, I only have these two devices, so I can test if one happens to defect, but I get about the same rssi/snr values at both ends, so I am thinking they are ok. But what about the antennas, could it be that they are part of the problem??
Unfortunately, I did not check the devices with the AT firmware that came with them.