Ideas for LoRaONE Demos

Hi Everyone,

I will be creating some demo sketches showcasing the functionality of the LoRaONE board. If you have any suggestions or would like to see a working example of some specific functionality, please leave a reply here.

All input is welcome.

Hi Gabriel

i have a LoraOne Module, im hope you could upload an example of a GPS aplication sendind data to a Getway,
could you help me with this, im new in LoRa and i dont have any documentation of how to send data trought arduino, if you could help it will be nice to test my working range.

i have 4 Multitech conduit Getways with i Mdot (lora) each one.

Here is an example for the LoraOne sending GPS coordinates to TTN - uBlox library is here

note: I have included the required libraries in the package to allow an easy start to get you going.

1 Like

Hi nice example but i cant get it to work, im just geting network fail.

Connection to the network failed!

i have Multitech Conduit Getway i dont know if it could be part of the problem i know this one it 8 Chan, i dont know if it have somethign to do with this

No - please make sure you have the most recent board manager in your arduino environment - can you confirm the GPS bit working ? Can you copy the output of the serial monitor please ?

uBlox enabled
I2C device found at address 0x1E !
I2C device found at address 0x42 !
done

freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
<<freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
portID=0 txReady=0 mode=84 inProtoMask=0007 outProtoMask=0003 flags=0000 reserved5=0
2016-03-27 03:00:00 - 2016-10-30 02:59:59 (1459040400 1477789199)
Connection to the network failed!

strange, it looks like you getting no response from the RN2483 can you add the follwing just before before

Serial1.println("sys get ver");
if (Serial1.readBytes(buffer,sizeof(buffer)))
    SerialUSB.println((char*)buffer);
// Add above before this line .....
SerialUSB.println("Hit any key to enter loop or wait 5000 ms");

You should see some output like -> RN2483 1.0.1 Dec 15 2015 09:38:09

Now the program just do this, and it get stuck :frowning:
seems that RN2903 aint working ur right

uBlox enabled
I2C device found at address 0x1E !
I2C device found at address 0x42 !
done

freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
<<freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
portID=0 txReady=0 mode=84 inProtoMask=0007 outProtoMask=0003 flags=0000 reserved5=0
2016-03-27 03:00:00 - 2016-10-30 02:59:59 (1459040400 1477789199)

It shouldn’t be stuck, it should timeout in 1 second when there is no data, something strange going on.

uBlox enabled
I2C device found at address 0x1E !
I2C device found at address 0x42 !
done

freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
<<freqPeriod=1000000 freqPeriodLock=1000000 pulseLenRatio=100000 pulseLenRatioLock=100000 flags=00f7
portID=0 txReady=0 mode=84 inProtoMask=0007 outProtoMask=0003 flags=0000 reserved5=0
2016-03-27 03:00:00 - 2016-10-30 02:59:59 (1459040400 1477789199)
Connection to the network failed!
RN2903 0.9.5 Sep 02 2015 17:19:55

Hit any key to enter loop or wait 5000 ms
Entering loop() now

I think I just found the problem, the library is expecting a RN2483 and you have a RN2903.

Please open Stringliterals.h look for

#define STR_DEVICE_TYPE "RN2483"

change this to

#define STR_DEVICE_TYPE "RN2903"

You can also enable debugging by going into Sodaq_RN2483.h and uncomment

//#define DEBUG

to

#define DEBUG

Hi, i am interested in a garbagesensor to detect empty.halffull or full and sends it every 10 minutes.
got a sodaq autonomo incl ultrasonic sensor and LoRa is that possible to do.

Hi, i am currently working on an advanced track and trace system for my internship at a sofware company(sogeti). It would be nice to have a sleepmode to safe some battery capacity.

thank you in advance

Please provide an example of two LoRAONE boards talking to each other without a gateway. I’d like peer-to-peer for some of my projects because the nearest gateway is too far away.
Thanks!

@rhabyt Don’t think that is possible with the RN2483 …