Sodaq One Communication issue

Hi,

I recently bought a Sodaq One (rev 4), and tried to make it communicate with my own single channel gateway (nota : I don’t use TTN), without success.

The gateway sends and receives packets correctly from/to other gateways.

I used a Spectrum Analyser to check if the Sodaq One was at least emitting something, but I saw nothing around the 868Mhz (nor 433Mhz) band, although LoraBee.send() returned NoError.

Here is the sketch I uploaded on the One (taken from the LoRaWAN tutorial) : http://pastebin.com/4ceuFrBR

Did I miss anything to make it work correctly ?
Also, how do you send commands to the RN2483 ? (such as changing the spreading factor with ‘mac set dr’)

Any help would be appreciated :slightly_smiling_face:
Thank you very much

Just to make sure: you did use a valid key for devAddr, appSKey and nwkSKey?

Yes, I did it by following this tutorial : http://support.sodaq.com/sodaq-one/connect-to-the-things-network/

Hi,

[quote=“Clovis_Ouedraogo, post:1, topic:647”]
I used a Spectrum Analyser to check if the Sodaq One was at least emitting something, but I saw nothing around the 868Mhz (nor 433Mhz) band, although LoraBee.send() returned NoError.
[/quote] This always gives no error, because the LoRa packet successfully has been send into the air. The LoRa signal is in the noise level. So its really hard to see the signal.

Here is a lora passthrough sketch to send command to the lora module. e.g. mac set dr.
http://support.sodaq.com/sodaq-one/loraone-lora-basic-sketch/

You will have to disable all channels but one. Remember because you only use one channel you have less air time. With spreadingsfactor 12 you can only send once every 3-5minutes.
In the library the method is called LoRaBee.setSpreadingsFactor(7); values from 7 - 12 are accepted

Here is the lora library we use:


In this library we disable also a few channels for the RN2903, have a look and you can maybe re-use this to setup the channels to communicate with your own gateway.

Regards,
Jan

Thank you for your reply.
When I try with the lora passthrough sketch: I have the following answer and I send commands : “err”.
Do you know how I can verify that the RN2483 module works?
Regards.

Hi,
In the lora passthrough sketch, I added “debugSerial.print(loraSerial.available()” to test the loraSerial and it is showing me “0”. Does it mean my module is not working correctly?
Regards.

Hi,

What are the commends you are using?

By default the serial monitor is on “no line ending” can you set it on “both NL and CR”
With the command “sys reset” you should see the firmware version

Regards,
Jan

1 Like

Thank u very much @Jan!
It’ s working now.

1 Like