of 52
Jun.02.23
Contents
1. Terms......................................................................................................................................3
2. Preparation..............................................................................................................................3
2.1 Hardware Configuration .....................................................................................................................3
2.2 Software Configuration.......................................................................................................................3
2.3 Tera term Setting...............................................................................................................................4
3. System Diagram......................................................................................................................4
4. Activating a SIM card...............................................................................................................5
4.1 Activating a SIM card on Truphone.....................................................................................................5
4.2 Activating a SIM card on MicroAI Launchpad......................................................................................8
5. Azure Account and Credentials Creation...............................................................................14
5.1 Install Azure CLI...............................................................................................................................14
5.2 Create an IoT Hub ...........................................................................................................................15
5.3 Certificate Creation Process.............................................................................................................18
5.4 View Device Properties ....................................................................................................................21
5.5 Set IoT Hub......................................................................................................................................21
5.6 Register an IoT Hub Device..............................................................................................................25
5.7 Prepare the Device ..........................................................................................................................26
6. Common users: To import the project and Run......................................................................27
6.1 Import the project.............................................................................................................................27
6.2 Serial Terminal Settings................................................................................................................... 34
6.3 Storing Device Certificate, Host Name, Device ID.............................................................................37
6.4 Send Device to Cloud Message........................................................................................................41
6.5 Send Cloud-to-Device Message .......................................................................................................41
7. IoT Plug and Play Certification Requirements........................................................................43
7.1 Program Purpose.............................................................................................................................43
7.2 Requirements ..................................................................................................................................43
8. Azure IoT Central architecture...............................................................................................48
8.1 Manage devices............................................................................................................................... 48
8.1.1 View and analyze data...................................................................................................................49
8.1.2 Secure your solution ......................................................................................................................49
8.2 Devices............................................................................................................................................49
8.3 Gateways.........................................................................................................................................49
8.4 Export data......................................................................................................................................50
9. Note and trouble shooting......................................................................................................50
9.1 About stabilization time for sensor....................................................................................................50
9.2 Connection issue when using Ethernet (Wired cable).......................................................................50