Demo program for LoRaWan with data formated for cayenne interface on mydevices.com Check on https://goo.gl/fTUDNc

Dependencies:   Cayenne-LPP

Demonstration d'un node LoRaWan sur carte : Discovery IOT STmicro : B-L072Z-LRWAN1 https://www.st.com/en/evaluation-tools/b-l072z-lrwan1.html

L e code original MBED-ARM : https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-lorawan/ est une application de l'API LoRAWan https://os.mbed.com/docs/v5.9/reference/lorawan.html

Le code original a été adapté pour une carte B-L072Z-LRWAN1 équipée d'un capteur de température LM35 connecté en 3.3v sur le port PA_0 (port analogique AN0) Les données sont formatées "cayenne" et visualisables sur mydevices.com ( https://goo.gl/fTUDNc ) Documentation cayenne : https://mydevices.com/cayenne/docs/lora/#lora-cayenne-low-power-payload

Les essais ont été réalisés avec une passerelle TTN https://www.thethingsnetwork.org/ le "Payload Format" ayant été configuré pour "Cayenne LPP"

Des capteurs virtuels on été également ajoutés (humidité, température, lumière, etc...) pour les essais au format cayenne.

Données physiques transmises (downlink)

- Température sur capteur LM35 - Tension sur PA_1 (AN1) est transmise entre 0% et 100% - Etat du bouton bleu

Données physiques reçues (uplink) Un actionneur permet d'allumer/eteindre à distance la led verte de la carte B-L072Z-LRWAN1

L'interface mydevice.com proposé permet de visualiser :

- Les capteurs virtuels - La température réelle sur LM35 - L'état du bouton bleu

/media/uploads/cdupaty/cayenne_mydevice.jpg

/media/uploads/cdupaty/ex_terminal-lorawan.jpg

Revisions of mbed-os.lib

Revision Date Message Actions
37:5bc348e90af0 2018-09-11 Updating mbed-os to mbed-os-5.9.7 File  Diff  Annotate
34:2294e762257c 2018-08-27 Updating mbed-os to mbed-os-5.9.6 File  Diff  Annotate
31:67780d4891a9 2018-08-14 Updating mbed-os to mbed-os-5.9.5 File  Diff  Annotate
30:955f64c04503 2018-07-31 Updating mbed-os to mbed-os-5.9.4 File  Diff  Annotate
28:950587b41ba3 2018-07-23 Updating mbed-os to mbed-os-5.9.3 File  Diff  Annotate
27:cea7485b914e 2018-07-03 Updating mbed-os to mbed-os-5.9.2 File  Diff  Annotate
25:0f75546d3f3f 2018-06-19 Updating mbed-os to mbed-os-5.9.1 File  Diff  Annotate
24:b36f31f93938 2018-06-18 Updating pointer to Mbed OS 5.9.0 File  Diff  Annotate
22:a4fc83409028 2018-06-06 Updating mbed-os to mbed-os-5.8.6 File  Diff  Annotate
19:6accf37de3ce 2018-05-22 Updating mbed-os to mbed-os-5.8.5 File  Diff  Annotate
16:8d460198a422 2018-05-10 Updating mbed-os to mbed-os-5.8.4 File  Diff  Annotate
14:b25fefabb634 2018-05-02 Murata crystal update (#64) File  Diff  Annotate
11:7696b8844841 2018-04-11 Merge pull request #57 from adbridge/master File  Diff  Annotate
9:baf55b160f65 2018-03-29 Update mbed lib to 5.8.1 File  Diff  Annotate
5:2a08c4ee1843 2018-03-13 Update mbed-os.lib File  Diff  Annotate
3:8c7198d1a2a1 2018-03-11 Added LORAWAN_ENABLED flag to disable building in unsupported devices File  Diff  Annotate
0:7037ed05f54f 2018-03-08 Fix construction of LoRaWANInterface object File  Diff  Annotate