Hi, I have been trying to connect two Pi Picos to the RPi 4 using LoRa. I am using Pico-LoRa-SX1262 868M on the Pico, and SX1262 LoRa HAT for Raspberry Pi. I can transmit data between the Picos themselves, but the Pi cannot see the transmissions. I have seen this issue already mentioned on the Internet but no-one seems to have found a solution. I have tried to investigate whether this is an issue relating to the structure of the packets they transmit (it probably is)...but to no avail as of now. Their initialization and parameters are very different:
sx.begin(freq=868.0, bw=125.0, sf=10, cr=7, syncWord=0xFE,
power=14, currentLimit=60.0, preambleLength=8, implicit=False, implicitLen=0xFF,
crcOn=True, txIq=False, rxIq=False, tcxoVoltage=1.6, useRegulatorLDO=False,
blocking=True) - Pi Pico
node = sx126x.sx126x(serial_num = "/dev/ttyS0",freq=868, addr= 0, power=13,rssi=True,air_speed=2400,relay=False) - RPi 4
As can be seen above, the Pi Pico (which uses SPI) has different parameters to the UART-based (hence the reason for serial_num) RPi 4 HAT.
Has anyone found a solution to this please? Any help is greatly appreciated. Thanks
sx.begin(freq=868.0, bw=125.0, sf=10, cr=7, syncWord=0xFE,
power=14, currentLimit=60.0, preambleLength=8, implicit=False, implicitLen=0xFF,
crcOn=True, txIq=False, rxIq=False, tcxoVoltage=1.6, useRegulatorLDO=False,
blocking=True) - Pi Pico
node = sx126x.sx126x(serial_num = "/dev/ttyS0",freq=868, addr= 0, power=13,rssi=True,air_speed=2400,relay=False) - RPi 4
As can be seen above, the Pi Pico (which uses SPI) has different parameters to the UART-based (hence the reason for serial_num) RPi 4 HAT.
Has anyone found a solution to this please? Any help is greatly appreciated. Thanks
Statistics: Posted by maikos2003 — Tue Feb 27, 2024 2:16 pm — Replies 0 — Views 24