LoRa/LoRaWAN tutorial 57: Sending messages to/from The Things Stack Community Edition (V3)

preview_player
Показать описание
If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:

This is part 57 of the LoRa/LoRaWAN tutorial.

In this tutorial I will demonstrate how to send uplink messages from an end device to The Things Stack Community Edition network (V3).
I will also demonstrate how to send downlink messages from The Things Stack Community Edition network (V3) to an end device.

This presentation can be found at:

All my LoRa/LoRaWAN tutorials and presentations can be found at:

I have written a detailed tutorial how to send messages to/from The Things Stack Community Edition (V3):

In this video I will not go step-by-step thru the detailed tutorial, instead I will only show the most relevant information.

Used libraries, Arduino sketch, and payload formatter:
- Adafruit Unified Sensor library
- DHT sensor library
- MCCI LoRaWAN LMIC library
- The Arduino sketch
- Payload formatter: Javascript decodeUplink

The HopeRF RFM95 LoRa transceiver module does not have a built-in DevEUI or AppEUI.
In such case you should let the TTSCE console generate the required DevEUI or AppEUI.

The AppEUI, DevEUI and AppKey are used in the Arduino sketch.

In this Arduino sketch the DevEUI or AppEUI must be converted to an array of 8 bytes in LSB order.
The AppKey must converted to an array of 16 bytes in MSB order.
I have created an online tool which converts these values to an bytes array in its correct order (LSB / MSB):

Check out all my other LoRa/LoRaWAN tutorial videos:

Subscribe to my YouTube channel:

#mobilefish #lora #lorawan
Рекомендации по теме
Комментарии
Автор

I am very very grateful to Sir for your tutorials, thank you Sir very much

steventran
Автор

Hello I am getting compilation error when compiling the hello world sketch.

It says “ ‘u1_t’ does not name a type; did you mean ‘ev_t’ “

ndox
Автор

Thank you very much for your video ! I´m trying to figure out If my lorawan connection is there or not to know the maximum possible range I can get with my setup. I was also thinking something with a LED and I used the ESP-sc-Gateway library to communicate with TTN. My sending function works as I can see the payload on TTN but my receive function does not work. Do I need to do something special at TTN for this ? The library I use is also LMIC based like yours.

Telectronics
Автор

Hello Professor,
I was given a project to try and send data to the TTN(temperature and humidity) and then retreive it and send it to a database, the first part is done, now the problem is that i cannot retreive the data from the TTS and send a downlink to my database, do you mind helping me ?

vascomagolo
Автор

How we can decide that How many end devices will communicate to LORA gateway? What is formula to calculate the no. Of end devices?

vaibhav
Автор

Hello i am looking at starting a crypto exchange and would like to know how crypto wallets are generated can you please make a video on the topic

tristandoodnath
Автор

Great explanation once more Sir. Do you perhaps have a tutorial on how to write the payload formatter?

ejikechristian
Автор

You don´t need the converttool. In ttn3 klick into key, then you can select msb/lsb...

zfrank
Автор

Hi there, nice tuto! thanks for that.
I'm trying it out, but after the upload, the serial monitor shows the following message:
"543885: EV_JOIN_TXCOMPLETE: no JoinAccept"
...so I receive no packets on TTN. Need help please

freddyjeuf