hello
I have this RPI HAT - https://www.waveshare.com/wiki/SX1262_XXXM_LoRaWAN/GNSS_HAT#Introduction
connected to RPI 4B with Ubuntu 24.04.
there is some official test/demo applications
which seems to be working on my RPI:
transmitter:
# python3 sx126x_lorawan_hat_code/python/lora/examples/SX126x/transmitter.py
Begin LoRa radio
Set frequency to 868 Mhz
Set TX power to +22 dBm
Set modulation parameters:
Spreading factor = 7
Bandwidth = 125 kHz
Coding rate = 4/5
Set packet parameters:
Explicit header type
Preamble length = 12
Payload Length = 15
CRC on
Set syncronize word to 0x3444
-- LoRa Transmitter --
HeLoRa World! 0
Transmit time: 58.17 ms | Data rate: 257.88 byte/s
HeLoRa World! 1
Transmit time: 58.08 ms | Data rate: 258.25 byte/s
HeLoRa World! 2
Transmit time: 58.08 ms | Data rate: 258.27 byte/s
or receiver:
# python3 sx126x_lorawan_hat_code/python/lora/examples/SX126x/receiver.py
Begin LoRa radio
Set frequency to 868 Mhz
Set RX gain to power saving gain
Set modulation parameters:
Spreading factor = 7
Bandwidth = 125 kHz
Coding rate = 4/5
Set packet parameters:
Explicit header type
Preamble length = 12
Payload Length = 15
CRC on
Set syncronize word to 0x3444
-- LoRa Receiver --
I would like to send/receive this test data to/from my CubeCell AB01 devices.
there is test code for it:
and
but it turns out that CubeCell device cant communicate with Waveshare LoraWAN SX1262.
for example if I start send data from RPI with trasmitter.py application and listen on Cubecell AB01 with LoRaReceiver firmware - it doesnt hear anything and its output is empty.
and vise-verse - RPI receiver.py app doesnt hear data from CubeCell LoRaSender
Also I know that both devices in the “sender mode” works ok - I can see radio-signals with help of my Nooelec RTL-SDR v5…
Sure I configured frequency the same on both side.
I even changed “preamble length” to 12 and set “syncronize word” to 0x3444 in the CubeCell examples of code…
they just doesnt see each other…
Please advice how to configure it…