![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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".
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
11:1425f2e65663 | 2017-02-14 | pferland | Updated libmDot-dev to latest |
10:1e3e3ab9c29c | 2017-02-14 | pferland | Updated to latest mbed-os versions |
9:e642e8f9ea37 | 2017-01-17 | pferland | Updated all sensors to use the Cayenne low power payload |
8:bfbc3dd47166 | 2016-12-16 | pferland | Updated for Seattle demo |
7:d2052933ebcb | 2016-12-15 | pferland | Changed sleep mode from RTC+interrupt to RTC only |
6:9e6ac13de3e9 | 2016-12-15 | pferland | Changed default wake up function to RTC only |
5:8495de39bfe0 | 2016-12-09 | pferland | Changes with IKS01A1 library |
4:142c85980a6f | 2016-12-09 | pferland | Temperature and Z axis acceleration measurements for Senet |
3:d34798ffcaf8 | 2016-12-09 | pferland | Updated to version of mbed-os and libmdot that doesn't have i2c issues |
2:d0873bb1255f | 2016-12-09 | pferland | Change in IKS01A1 library |
1:14ddb9556b78 | 2016-12-09 | pferland | Corrected mbed-os version |
0:9e88a9018fc0 | 2016-12-09 | pferland | Added logging functions |