How to add Dragino Lora/gps HAT to V3

That’s very odd since it has not been a problem before. AGC improves the signal reception.

However, it’s easy enough to fix by replacing line 122 in dragino.py with:-

self.set_agc_auto_on(1)

Could you try that please.

I hasten to add that I’ve never had your problems when using the code with my project.

Note, I will be adding these changes to my dragino repo - when the dust has settled with your device since you appear to be the only one experiencing issues.

You might also be interested in my new repo GitHub - BNNorman/CircuitPython-LoRaWAN: CircuitPython LoRaWAN code to work with the HopeRF RFM95 which uses an RPi Pico with an SX127x hat or the iLabs Challenger RP2040 Lora (£24).

That repo will be updated in the future because I’m also developing a driver for the SX126x (Waveshare Pico-Lora-SX126x). The cost of those components is considerably less than a Pi+Dragino if you don’t need GPS.

Regards
Brian