Setup your AWS account and Permissions .................7 Create Resources in AWS IoT ....................7 Provision the Device with credentials .................7 Build the demo ........................10 10 Run the demo........................10 11 Debugging ........................19 12 Troubleshooting ....................... 19 2 / 21 www.mxchip.com MXCHIP Inc.
Initial Version 2 Overview - Device: MXCHIP IoT development kit MXKit-3090. - Product family: MXCHIP Wi-Fi && BLE wireless module based on IoT chip RTL8720CF. - Target applications: Appliances, Home Automation, Lighting, Building Automation, Data Logging, Diagnostics, HVAC, Industrial Automation, Medical Devices, Robotics, Solar and so on.
Download and install the visual studio code from: https://code.visualstudio.com/Download ii. Open terminal from the visual studio code: - Click menu: Terminal -> New terminal - Or press shortcut key: Control + ~ Install SDK(mdev tool) from terminal: 4 / 21 www.mxchip.com MXCHIP Inc.
Page 5
- parity: none - flow control: none ⚫ Get SDK and learn - Download the SDK and demo source code from command lines: git clone --recursive git@codeup.aliyun.com:mxchip/mxos/cloud-aws/aws-iot-core- demo.git - SDK structure: ➜ aws-demo git:(master) ✗ tree -L 1 ├── CMakeLists.txt # build script ├──...
• Open the AWS IoT console Pay special attention to the Notes. No special for MXCHIP. 7 Create Resources in AWS IoT Refer to the online AWS documentation at Create AWS IoT Resources. Follow the steps outlined in these sections to provision resources for your device: •...
Page 8
IoT system Solution Provider 8 / 21 www.mxchip.com MXCHIP Inc.
Page 9
IoT system Solution Provider Note: [Optional] This policy is not needed for the qualification test suite. You can create your policy before thing creating if needed. Refer to section 7 “Create an AWS IoT Policy”. 9 / 21 www.mxchip.com MXCHIP Inc.
2. Flash the demo firmware in the terminal of the visual studio code from the SDK directory: > mdev build -c app emc3090 -f APP 3. Open serial port in the secureCRT to see the device serial log: 10 / 21 www.mxchip.com MXCHIP Inc.
Page 11
IoT system Solution Provider 11 / 21 www.mxchip.com MXCHIP Inc.
Page 12
4. Press the “RESET” button to reset and run the test demo, you can see the device log on serial port. 5. Set the Wi-Fi connection on the device serial port console: connect <SSID> <password> Wi-Fi connect success and time sync success: 12 / 21 www.mxchip.com MXCHIP Inc.
Page 13
IoT system Solution Provider Creating your qualification test suite 1. Create your “AWS IoT Core qualification test suite” on the AWS IoT console: 13 / 21 www.mxchip.com MXCHIP Inc.
Page 14
IoT system Solution Provider 14 / 21 www.mxchip.com MXCHIP Inc.
Page 15
IoT system Solution Provider 2. Run the test suite: 15 / 21 www.mxchip.com MXCHIP Inc.
Page 16
IoT system Solution Provider 16 / 21 www.mxchip.com MXCHIP Inc.
Page 17
IoT system Solution Provider 3. Verify MQTT connection success log: 4. Verify MQTT message received from AWS IoT Core: 17 / 21 www.mxchip.com MXCHIP Inc.
Page 18
IoT system Solution Provider In addition, you can verify the test result on AWS IoT device advisor: Click the latest test suite to see details: 18 / 21 www.mxchip.com MXCHIP Inc.
Refer to the section 10 “Run the demo”, check the device running status from the serial port log. 12 Troubleshooting Refer to the section 10 “Run the demo”, check the device running status from the serial port log. 1. Wi-Fi connection error: 19 / 21 www.mxchip.com MXCHIP Inc.
Page 20
IoT system Solution Provider Check your Wi-Fi access point and device set up. Note: Not support for any web authentication for the access point. 2. AWS IoT Core connection error: 20 / 21 www.mxchip.com MXCHIP Inc.
Page 21
IoT system Solution Provider Check if the AWS IoT Core qualification test suite is in progress. (The End) 21 / 21 www.mxchip.com MXCHIP Inc.
Need help?
Do you have a question about the EMC3090-P and is the answer not in the manual?
Questions and answers