jgromes / RadioLib

Universal wireless communication library for embedded devices
https://jgromes.github.io/RadioLib/
MIT License
1.54k stars 384 forks source link

Problem AFSK SX1278 #411

Closed jp-polito closed 2 years ago

jp-polito commented 2 years ago

Hi! I'm trying to run the AFSK example in my SX1278 module it works but I can't decode the signal. It seems the module is active all the time. I can't understand what's going on. Captura de tela de 2021-11-25 12-57-07

jgromes commented 2 years ago

I can't understand what's going on

Neither can I if you don't tell me what are you using to decode. Soundmodem should work, but I think that's Windows-only.

jp-polito commented 2 years ago

II'm trying to use GQRX's own decoder.

jp-polito commented 2 years ago

Is it normal for the module to be activated all the time? I'm sending some prints. Captura de tela de 2021-11-25 14-15-06 Captura de tela de 2021-11-25 14-15-30

jgromes commented 2 years ago

Is it normal for the module to be activated all the time

If you mean that it's constantly transmitting the carrier between packet transmissions: No, that shouldn't happen, I pushed a commit which should fix that.

I'm trying to use GQRX's own decoder.

OK, do you know how it works? Because I was never able to get it to work with known good AX.25 frames.

jp-polito commented 2 years ago

I've already run some tests using gqrx and AFSK on other circuits and it worked. And about the carrier I used a logic level converter from 5V to 3.3V. Captura de tela de 2021-11-26 15-04-47

jgromes commented 2 years ago

I tried this in a VM running Ubuntu 18.04 and wasn't able to replicate the issue using Arduino Uno and SX1278.

Screenshot_18

Pretty much default settings, just changed mode to NFM and adjusted filter width.