Overview

Updated at:

Many devices, such as industrial automation equipment, data ingestion devices, real-time control systems, and home appliances, use microcontrollers (MCUs) that run a real-time operating system (RTOS). To connect these devices to the Internet of Things (IoT), you can use the C Link software development kit (SDK) from Alibaba Cloud IoT Platform. This topic describes how to use the C Link SDK to connect these devices to IoT Platform.

Connection architecture

The MCU is connected to a communication module, and they communicate using AT commands. The communication module then uses the C Link SDK to connect to and communicate with IoT Platform.

MCU IoT

Prepare software and hardware

This example uses the following MCU, communication module development board, and software development environment:

Hardware and software

Prerequisites

MCU

Communication module

Software development environment

IAR Embedded Workbench for ARM.

Procedure

  1. Create a product and a device: In the IoT Platform console, create a product and a device to obtain the device credentials (ProductKey, DeviceName, and DeviceSecret).

  2. Set up the device-side development environment: Connect the MCU development board to the communication module development board and set up the software development environment.

  3. Develop the device-side code: Use the C Link SDK to connect the communication module to IoT Platform.

FAQ