The LoRaWAN network protocol lets you transmit data over long distances of up to 9.3 miles in a resource-efficient way. The disadvantage is that the transmission rate is only in the byte range. In addition, you have to be in a LoRaWAN network. Luckily, this isn’t an issue thanks to a globally active community.
If you’re interested in setting up LoRaWAN support for your Raspberry Pi Pico, then you’re in luck: Sandeep Mistry, the author of the Arduino LoRa library, has extended it to support the Raspberry Pi Pico. To enable LoRaWAN on your microcontroller, you’ll first need a LoRa Radio Breakout that you can connect to your Raspberry Pi Pico. Once the microcontroller is set up, nothing can stop you from sending data.