LoRasPI
LoRasPI copied to clipboard
leds not working
Hi
I just build a LorasPI PCB V1.2a and installed Single Channel LoRaWAN Gateway on a Raspberry Pi 4. I think gateway is running ok, terminal shows
Trying to detect module with NSS=8 DIO0=6 Reset=3 Led1=4
SX1276 detected, starting.
Gateway ID: dc:b6:32:ff:fa:4c:a5:a3
Listening at SF7 on 868.100000 Mhz.
-----------------------------------
stat update: 2021-01-26 12:35:03 GMT no packet received yet
stat update: 2021-01-26 12:35:33 GMT no packet received yet
and i can see it online on TTN dashboard.
The problem is none of the leds light up, at least LED shouldn't be on? I already checked led polarity or any missing solder/bad components.
Any idea?
Well, i made some progress. It seems WiringPi is not compatible with raspberry pi 4, so i had to update it:
cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
After reboot i see TX/RX led fast blink 5 times, repeating it 3 times. After that TX/RX is always on. Is this a normal behavior? From CPP code i see that it should blink when receiving a packet, does it mean that is constantly receiving data? Also it should blink 5 times on startup but only once, not 3 times...
The other LED is not used anymore? It is tied to GPIO24 (WiringPi 5), but i didn't find any mention to it on CPP code...
Thanks