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

Changes

RevisionDateWhoCommit message
43:74226f6ca42c 2018-11-29 cdupaty Demo with LM52 captor on analog A0.; Data formated for cayenne (mydevices.com); Led green (LED1) on B-L072Z-LRWAN1 flash when data reception default tip
42:e120f78b12d8 2018-10-24 mbed_official Updating mbed-os to mbed-os-5.10.2
41:ceea78461fbd 2018-10-12 mbed_official Updating Radio driver pointer
40:6a512236f805 2018-10-09 mbed_official Updating mbed-os to mbed-os-5.10.1
39:e4cd45fbd4f3 2018-10-09 mbed_official Removing US915_Hybrid build
38:315a26cd0165 2018-09-17 mbed_official Merge pull request #100 from ARMmbed/enable_armc6
37:5bc348e90af0 2018-09-11 mbed_official Updating mbed-os to mbed-os-5.9.7
36:08d94248181b 2018-09-10 mbed_official Disable some ciphers not needed by lora example application
35:462743fb571e 2018-09-03 mbed_official Merge pull request #97 from ARMmbed/jenkinsfile_update
34:2294e762257c 2018-08-27 mbed_official Updating mbed-os to mbed-os-5.9.6
33:3776745e4d93 2018-08-23 mbed_official Optimize mbedtls config
32:4e80b9d620ee 2018-08-16 mbed_official Update Lora driver
31:67780d4891a9 2018-08-14 mbed_official Updating mbed-os to mbed-os-5.9.5
30:955f64c04503 2018-07-31 mbed_official Updating mbed-os to mbed-os-5.9.4
29:0da9196c900a 2018-07-23 mbed_official Update latest Semtech drivers
28:950587b41ba3 2018-07-23 mbed_official Updating mbed-os to mbed-os-5.9.3
27:cea7485b914e 2018-07-03 mbed_official Updating mbed-os to mbed-os-5.9.2
26:f07f5febf97f 2018-06-28 mbed_official Using string to identify region rather than number
25:0f75546d3f3f 2018-06-19 mbed_official Updating mbed-os to mbed-os-5.9.1
24:b36f31f93938 2018-06-18 mbed_official Updating pointer to Mbed OS 5.9.0
23:2b0d9c892149 2018-06-07 mbed_official Fix correct target name for FF1705_L151CC
22:a4fc83409028 2018-06-06 mbed_official Updating mbed-os to mbed-os-5.8.6
21:41807073b52d 2018-05-25 mbed_official Update to latest radio drivers
20:2055271192d6 2018-05-22 mbed_official Region builder (#74)
19:6accf37de3ce 2018-05-22 mbed_official Updating mbed-os to mbed-os-5.8.5
18:1720bc3831ea 2018-05-15 mbed_official Remove usage of DEVICE_SPI and MBED_CONF_APP_LORAWAN_ENABLED flags
17:2fc16c1d6434 2018-05-11 mbed_official Remove unnecessary Serial object
16:8d460198a422 2018-05-10 mbed_official Updating mbed-os to mbed-os-5.8.4
15:6ae43b4082f8 2018-05-03 mbed_official Fix default application key
14:b25fefabb634 2018-05-02 mbed_official Murata crystal update (#64)
13:2f387d100e5b 2018-04-19 mbed_official Update radio drivers to latest version
12:5015dfead3f2 2018-04-18 mbed_official Reduce example application memory usage
11:7696b8844841 2018-04-11 mbed_official Merge pull request #57 from adbridge/master
10:b6d8d4e1cc57 2018-04-10 mbed_official Merge pull request #56 from ARMmbed/add_jenkinsfile
9:baf55b160f65 2018-03-29 mbed_official Update mbed lib to 5.8.1
8:7594ad70d2bf 2018-03-19 mbed_official Use Serial object for trace prints
7:2fc0e8a7b6f0 2018-03-16 mbed_official Merge pull request #48 from janjongboom/patch-1
6:d6016e907c7a 2018-03-13 mbed_official Reduced main stack size for Disco target
5:2a08c4ee1843 2018-03-13 mbed_official Update mbed-os.lib
4:df442e6af8cf 2018-03-11 mbed_official Update mbed-lora-radio-drv.lib
3:8c7198d1a2a1 2018-03-11 mbed_official Added LORAWAN_ENABLED flag to disable building in unsupported devices
2:dc95ac6d6d4e 2018-03-09 mbed_official Refactor construction of LoRaWANInterface object
1:c7fae321242f 2018-03-09 mbed_official Fixed default PIN mappings
0:7037ed05f54f 2018-03-08 mbed_official Fix construction of LoRaWANInterface object