0

Lora Transmission to the Things Network
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Lora Transmission to the Things Network

by iitgrad on Sat Mar 20, 2021 11:09 am

Can anybody tell me if this product
https://www.adafruit.com/product/3231
can transmit to this product
https://www.adafruit.com/product/4327

and send the data to thethingsnetwork?

I understand they are both LoRa and 920Mhz but just curious if there is anything else I need to consider to ensure compatibility?

thank you and sorry if this is in the wrong forum group.

iitgrad
 
Posts: 98
Joined: Sun Dec 30, 2012 6:43 pm

Re: Lora Transmission to the Things Network

by adafruit_support_mike on Mon Mar 22, 2021 10:47 pm

Yes, that will work.

The Things Network has a LoRaWAN server, and you can configure the gateway to talk to that. In effect, the LoRa FeatherWing will think it's talking to another LoRa radio, but in fact the information will go through the gateway to TTN.

adafruit_support_mike
 
Posts: 63152
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

by iitgrad on Tue Mar 23, 2021 7:43 am

Awesome, thank you

iitgrad
 
Posts: 98
Joined: Sun Dec 30, 2012 6:43 pm

Re: Lora Transmission to the Things Network

by iitgrad on Sat May 15, 2021 5:40 pm

I have my Featherwing M0 with the LoRa Radio 915mHz transmitting data properly. I am trying to register this device on the TTN. When adding an end device it says I need to register it with an 8 byte value but the value provided on the white sticker in the package for the m0 is only 6 bytes. Is that not that device ID?

iitgrad
 
Posts: 98
Joined: Sun Dec 30, 2012 6:43 pm

Re: Lora Transmission to the Things Network

by adafruit_support_mike on Sat May 15, 2021 8:22 pm

The tag that came in the bag is a 48-bit UUID. You can pad it with four zeros in the middle to get a 64-bit value.

The TTN website should also be able to generate a 64-bit UUID, and you can use that in your code.

adafruit_support_mike
 
Posts: 63152
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

by iitgrad on Sun May 16, 2021 8:02 am

Great, where can I find example code that sends a LoRa transmission to TTN assuming I have filled in the proper App EUI, Dev EUI, and AppKey?

iitgrad
 
Posts: 98
Joined: Sun Dec 30, 2012 6:43 pm

Re: Lora Transmission to the Things Network

by adafruit_support_mike on Sun May 16, 2021 7:28 pm

We have a tutorial over in the Learning System:

https://learn.adafruit.com/the-things-n ... or-feather

adafruit_support_mike
 
Posts: 63152
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

by nmcc on Tue May 18, 2021 9:00 am

adafruit_support_mike wrote:The tag that came in the bag is a 48-bit UUID. You can pad it with four zeros in the middle to get a 64-bit value.


The not entirely official scheme for turning an EUI48 to an EUI64 is to use FFFE

Alternatively if you want to generate a random EUI64 with the flags set as a local address, then see:

https://www.thethingsnetwork.org/forum/ ... =descartes

and it's accompanying code: https://github.com/things-nyc/random-eui64

nmcc
 
Posts: 1
Joined: Sat Jan 06, 2018 10:59 am

Re: Lora Transmission to the Things Network

by adafruit_support_mike on Tue May 18, 2021 6:06 pm

Good info.. thanks for posting it!

adafruit_support_mike
 
Posts: 63152
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.