PG1302 on Raspberry PI4 as Basic Station

cnbhl
Sun, 01 Feb 2026 19:52:05 +0000

I had the same issues and managed to get it work with an official PiOS (Trixie). There is plenty of stuff to be adjusted (GPIO offset, GPIO reset pins, power supply, temperature compensation missing on the board, sysfs, kernelversion etc.) to work with the official basicstation software. I made a automated script out of my findingsnthat is guiding you through the setup. GitHub - cnbhl/basicstation-rpi64: LoRa Basics™ Station - automated script deployment adapted for 64bit RASPIs (4/5) and concentrator hats

What was the hardest nut: to figure out not to use 5V at the jumper but 3,3V to power the hat. If you use 5V the SPI bus of the hat/card is just answering 0x00.