narrow band FSK using SX1278 device #229
Replies: 1 comment
-
You seem to have directly used the FSKModem example, despite the note that states it's just an API guide. I suggest uploading the Transmit example with updated pins and
You're right it used to be 500% of the on-air time for maximum packet length, this is still the case when using a blocking
"Better" in what way? Higher range? Lower price? Lower power? AFAIK SX127x/SX126x is a pretty good fit for a lot of applications, because of its versatility. You might have to design a custom breakout board though, since all commercial modules I know of are designed for one of the ISM bands: 434/868/915 MHZ. |
Beta Was this translation helpful? Give feedback.
-
I am trying to use RadioLib to implement narrow band FSK with channel spacing of 20kHz (i.e. I think too narrow for LoRa with the standard tolerance xtal). Currently I have a DRF1278F module (based on SX1278) mounted on an adaptor from stuartsprojects (via tindie.com) controlled by an arduino mini-pro also mounted on an adaptor (same source) to ease physical interconnection.
Using variious bits of code the hardware seems to work when set to LoRa, but it all seems to fall apart when trying FSK.
Deciding to use RadioLib I have set the interface pins I belive are DIO0 = 3, DIO1 = 5, RESET = 9 & NSS = 10, so slightly different than the example code.
However, again when using LoRa it seems to transmit fine, but changing to FSK all I get is
Failed, code -16
which seems to indicate SPI write failure.
My basic code is attached: I have changed the pin connections to what I belive is correct.
Obviously I have not yet set the correct detailed parameters yet, but I would expect it to at least transmit.
I have tried adding the explicit FSK parameters as you can see by the commented out line, but no change.
I suspect its something glaringly obvious, but I can't see it!
As a supplementary question, on the receive side is it possible to set a specific Rx timeout? I think in the previous LoRaLib it was set to 500% of the air time, I want to implement an 'ack' message return, so I'm not sure how accurate I can time the Rx/Tx switching at both ends.
As an alternative are there any better RF modules capable of running arround 458MHz that anybody knows?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions