May work with all sx127x chips, I didn't test it on these chips
This source uses wiringPi. Installation on raspbian:
apt install git
git clone https://github.com/WiringPi/WiringPi.git
cd WiringPi
./build
Vérifier la version
gpio -v
- Wire raspberry and lora chip by the table below
Raspberry Pi | SX1278 |
---|---|
GPIO 0 | RESET |
GPIO 22 | DIO 0 |
SPI CE0 (GPIO8, pin 24) | NSS |
MOSI (GPIO10, pin 19) | MOSI |
MISO (GPIO9, pin 21) | MISO |
CLK (GPIO11, pin 23) | SCK |
-
Clone the repo
-
Enter cloned repo dir
-
make all
-
Try file ./test_unitaire_RA02
It uses continuous mode on module. Radio module will continiuously receive packets and each time execute user callback.
**11/07/2024 : ** Creation du README.md
Notes :