You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
# lora_aprs_node_pico
|
|
LoRa communication for Raspberry Pi RP2040 Microcontroller.
|
|
|
|
This program is written for RP2040 C++ SDK.
|
|
|
|
## Supported Hardware
|
|
* RP2040 boards
|
|
* Raspberry Pi Pico
|
|
* Semtech SX1276/77/78/79 based LoRa boards
|
|
|
|
### Default Pinout
|
|
|
|
| Raspberry Pi Pico | Semtech SX1278 |
|
|
| ----------------- | -------------- |
|
|
| 3.3V | VCC |
|
|
| GND | GND |
|
|
| GPIO 18 | SCK |
|
|
| GPIO 19 | MOSI |
|
|
| GPIO 16 | MISO |
|
|
| GPIO 7 | DIO0 / G0 |
|
|
| GPIO 8 | NSS / CS |
|
|
| GPIO 9 | RESET |
|
|
| GPIO 10 | DIO1 / G1 |
|
|
|
|
Default Pinout can be overrided with setPins() function
|
|
|
|
## Installation
|
|
|
|
1. [Set up the Pico C/C++ SDK](https://github.com/raspberrypi/pico-sdk)
|
|
2. Download this repo
|
|
3. Set `PICO_SDK_PATH`
|
|
```sh
|
|
export PICO_SDK_PATH="path to pico-sdk"
|
|
```
|
|
4. Create `build` directory then run `cmake` and `make`:
|
|
```sh
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
```
|
|
## Notes
|
|
Currently this is only tested on Raspberry Pi Pico and Semtech1278 board. Feel free to reach out for any bugs or support.
|
|
|
|
## References
|
|
This [project](https://github.com/akshayabali/LoRa-RP2040) is based on LoRa Library for Arduino:[sandeepmistry/arduino-LoRa](https://github.com/sandeepmistry/arduino-LoRa)
|
|
|