This is an example, including a video tutorial, for using CircuitPython and Adafruit library for LoRa long-range peer-to-peer communication between two MaPIE LoRa RP2040 devices.
Makerfabs MaPIE Lora RP2040 is based on the mighty Raspberry Pi RP2040 microcontroller, with integration of flash and Lora RFM95W module. Versions with different frequencies depending on the region are available.
CircuitPython is a programming language based on Python designed to simplify the coding on low-cost microcontroller development boards. The video includes a demonstration with Adafruit library adafruit_rfm9x. The source code is available at GitHub.
Thanks to PCBway, the sponsor of this video, we can power MaPIE LoRa RP2040 with a linear voltage regulator that drops the voltage from 12V to 5V. The printed circuit board for the linear voltage regulator has been designed with KiCad. PCBWay manufactured it from FR-4 material and green solder mask. If you are working on your own printed circuit board and need a prototype visit PCBWay They also offer various additional services, including assembly, CNC and 3D printing.