Lora Transmission to the Things Network

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
iitgrad
 
Posts: 98
Joined: Sun Dec 30, 2012 6:43 pm

Lora Transmission to the Things Network

Post by iitgrad »

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.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

Post by adafruit_support_mike »

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.

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

Re: Lora Transmission to the Things Network

Post by iitgrad »

Awesome, thank you

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

Re: Lora Transmission to the Things Network

Post by iitgrad »

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?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

Post by adafruit_support_mike »

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.

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

Re: Lora Transmission to the Things Network

Post by iitgrad »

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?

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

Post by adafruit_support_mike »

We have a tutorial over in the Learning System:

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

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

Re: Lora Transmission to the Things Network

Post by nmcc »

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

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Lora Transmission to the Things Network

Post by adafruit_support_mike »

Good info.. thanks for posting it!

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”