Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

LoRa 900Mhz bonnect won't receive packets
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

LoRa 900Mhz bonnect won't receive packets

by jfranklyn on Sat Oct 16, 2021 4:20 pm

Hello,
I'm running an RPI 4b and a FeatherS0. I have the latest updates on the RPI and running circuitpython 6.3.0 on the FeatherS0. I'm using the sample code from the adafruit website that I've attached. I cannot get the RPI to receive packets from the FeatherS0. It will send packets when I push the buttons, but not receive packets. I've tried rfm9x.send and rfm9x.send_with_ack. I have turned rfm9x.enable_crc True and False. From the FeatherS0, if I execute rfm9x.send_with_ack(bytes("Packet Received!\r\n", "utf-8")), it returns True. Any help would be greatly appreciated.

Thanks
Attachments
code.py
FeatherS0 circuitpython code
(3.33 KiB) Downloaded 2 times
RPILoRa.py
RPI 4b python code
(2.53 KiB) Not downloaded yet

jfranklyn
 
Posts: 46
Joined: Fri Mar 13, 2020 6:50 pm

Re: LoRa 900Mhz bonnect won't receive packets

by mikeysklar on Mon Oct 18, 2021 6:43 pm

Which controller are you using? We have a FeatherS2, but I am not familiar with the S0 you mentioned.

Is it possible for you to upgrade to CP 7.x?

Is this the guide you have been following?

https://learn.adafruit.com/adafruit-rad ... lora-radio

mikeysklar
 
Posts: 6223
Joined: Mon Aug 01, 2016 8:10 pm

Re: LoRa 900Mhz bonnect won't receive packets

by jfranklyn on Thu Oct 21, 2021 3:32 pm

Hello,
my bad I'm using a featherS2, not S0. I am using the guide in your link. I will upgrade my featherS2 to circuitpython 7.0.
Thanks

jfranklyn
 
Posts: 46
Joined: Fri Mar 13, 2020 6:50 pm

Re: LoRa 900Mhz bonnect won't receive packets

by jfranklyn on Thu Oct 21, 2021 6:32 pm

Hello,
I've upgraded my featherS2 to CP 7.0.

I've tried both rfm9x.send and rfm9x.send_with_ack

I've also tried this on in the RPI code:
rfm9x.enable_crc = True
packet = rfm9x.receive(with_ack=True)

rfm9x.enable_crc = False
packet = rfm9x.receive(with_ack=False)

This is really strange as I got the send and receive to work a few times when I first wired up the boards and tried the code OOTB. Seems to me that the LoRa receiver on the LoRa 900Mhz bonnet died. The RPI will send packets but not receive them with or without acknowledge. I have another LoRa module that I can wire up to the RPI instead of the bonnet. If it works I'd like to send the bonnet back for a replacement.
Thanks

jfranklyn
 
Posts: 46
Joined: Fri Mar 13, 2020 6:50 pm

Re: LoRa 900Mhz bonnect won't receive packets

by mikeysklar on Fri Oct 22, 2021 2:11 pm

Okay, please try your other bonnet an let us know your findings.

mikeysklar
 
Posts: 6223
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.