Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leds not working #10

Open
geologic opened this issue Jan 26, 2021 · 1 comment
Open

leds not working #10

geologic opened this issue Jan 26, 2021 · 1 comment

Comments

@geologic
Copy link

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?

@geologic
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant