Example of using the mDot UDK with the X-NUCLEO-IKS01A1 shield
Dependencies: mDot_X_NUCLEO_IKS01A1 libmDot-dev-mbed5-deprecated
Hardware
Hardware List
- Multiconnect mDot with programming header (MTDOT-xxx-X1P)
- Multiconnect mDot Developer kit (MTUDK2-ST-MDOT) or SocketModem and Dragonfly Developer kit (MTUDK2-ST-CELL)
- Motion MEMS and environmental sensor expansion board for STM32 Nucleo X-NUCLEO-IKS01A1
Setup
- Install the mDot on the developer board.
- Install the IKS01A1 on the developer board.
- If using a MTUDK-ST-CELL (white board) plug in the AC power adapter
- Connect the microusb power to your development PC
- if using a MTUDK-ST-CELL there are 2 microusb ports. Use the one closest to the serial port.
Your developer board should look like the following:
Software
This example program uses LoRa utility functions from Dot-Examples and the IKS01A1 library from ST Micro.
LoRa Configuration
Senet
By default this program is configured to connect to the Senet network. To connect to Senet you will need to register your mDot's Node ID with the Senet developer portal and change the network_key array in main.cpp.
Others
To connect to a different LoRa gateway change the arrays network_id and network_key. If you are using passphrases, edit the strings network_name and network_key, uncomment the function "update_ota_config_name_phrase" and comment out the function "update_ota_config_id_key".
History
Updated libmDot-dev to latest
2017-02-14, by pferland [Tue, 14 Feb 2017 20:36:21 +0000] rev 11
Updated libmDot-dev to latest
Updated to latest mbed-os versions
2017-02-14, by pferland [Tue, 14 Feb 2017 20:33:40 +0000] rev 10
Updated to latest mbed-os versions
Updated all sensors to use the Cayenne low power payload
2017-01-17, by pferland [Tue, 17 Jan 2017 22:53:01 +0000] rev 9
Updated all sensors to use the Cayenne low power payload
Updated for Seattle demo
2016-12-16, by pferland [Fri, 16 Dec 2016 04:24:54 +0000] rev 8
Updated for Seattle demo
Changed sleep mode from RTC+interrupt to RTC only
2016-12-15, by pferland [Thu, 15 Dec 2016 23:50:05 +0000] rev 7
Changed sleep mode from RTC+interrupt to RTC only
Changed default wake up function to RTC only
2016-12-15, by pferland [Thu, 15 Dec 2016 16:22:10 +0000] rev 6
Changed default wake up function to RTC only
Changes with IKS01A1 library
2016-12-09, by pferland [Fri, 09 Dec 2016 23:34:55 +0000] rev 5
Changes with IKS01A1 library
Temperature and Z axis acceleration measurements for Senet
2016-12-09, by pferland [Fri, 09 Dec 2016 23:31:44 +0000] rev 4
Temperature and Z axis acceleration measurements for Senet
Updated to version of mbed-os and libmdot that doesn't have i2c issues
2016-12-09, by pferland [Fri, 09 Dec 2016 22:06:09 +0000] rev 3
Updated to version of mbed-os and libmdot that doesn't have i2c issues
Change in IKS01A1 library
2016-12-09, by pferland [Fri, 09 Dec 2016 20:51:48 +0000] rev 2
Change in IKS01A1 library