Successfully authenticate IBM Watson IoT Cloud with the ST Micro Nucleo with MEMS gyro, accelerometer, magnetometer, temperature, pressure and humidity sensors
You will need to follow all of these steps to flash your ST Micro Nucleo, create an IBM Bluemix application instance, and finally connect it all to the IBM Watson IoT Cloud.
Step 1: Assemble and flash firmware on a ST Microelectronics Nucleo STM32F401 with X-Nucleo-IKS01A1 MEMS Inertial and Environmental Expansion Board and X-Nucleo-IDW01M1 Wifi Expansion Board
Step 2: Register and Create IBM Bluemix IoT Service Application
https://console.bluemix.net/services/iotf-service/
Step 3: Register Device with IBM Watson IoT Cloud
https://developer.ibm.com/recipes/tutorials/how-to-register-devices-in-ibm-iot-foundation/
Step 4: Create a new Device Board and Add Sensor Data Cards to IBM Watson IoT Cloud Dashboard
Most importantly, to link your Nucleo device to the IBM Watson IoT Cloud, you will need this information for use in the serial terminal after flashing the FP-CLD-WATSON1 firmware (MQTT_IBM_STM32F401RE_Nucleo-IKS01A1.bin)
In Registered mode the format of the string is:
ssid=<YOUR_SSID>,
seckey=<YOUR_WIFI_SECURITY_KEY>,
authtype=<WPA2>,
qos=0,
username=use-token-auth,
password=<IBM_WATSON_SECRET_TOKEN>,
hostname=<IBM_WATSON_ORG_ID>.messaging.internetofthings.ibmcloud.com,
devicetype= <IBM_WATSON_DEVICE_TYPE>,
orgid=<IBM_WATSON_ORG_ID>,
deviceid=<IBM_WATSON_DEVICE_ID>,
ibmmode=registered,
Comments