Infineon Gateway

This is an IoT DEMO based on CY8CPROTO-062-4343Wdevelopment board + implementation.RT-Thread

This article will introduce how to build an IoT demo from scratch step by step.

The following figure is the overall design block diagram, using RW007for network communication, using MQTTthe protocol to connect to the One-Net IoT platform. Add the required software packages, components and other middleware to the main control chip to quickly build a device cloud demo.

1. Enter the command in msh onenet_mqtt_demo_start 【WI-Fi 名称】 【WI-Fi 密码】to create and start the demo thread

2. View the real-time refreshed data on the device debugging page of the cloud platform.

3. Enter the visualization website to view/send data uplink and downlink

The corresponding relationship table between each IO interface and function:

  1. Open RT-Thread studio and import the development board sample project: Click the upper left corner of Studio文件—>导入—>RT-Thread Studio项目到工作空间中

  1. Select the root directory of this sample project to import

  1. Enter RT-Studio the SDK manager and download the Infineon OpenOCDresource package.

  2. Right-click the project and click同步 scons 配置至项目

  3. Compile, download, and verify the running results

  • Click the Build option in the upper left corner of the IDE to compile the project.

  • When the compilation is complete without error warnings, click Debugor Downloadto debug/download.

    Note: If the serial terminal does not display any information after clicking Download and the download is successful, please manually press the reset button to restart the system.

  • Check system operation status

helpEnter commands such as , ps, freeand so on in the serial terminal list_deviceto view the system operation status

  1. Lianyun Configuration

  • Add products

  • Enter product information

  • Add a device

  • Enter device information

  • Enter RT-Thread Studio, double-click under this project RT-Thread Settingsto enter the project configuration interface

  • Compare OneNetthe information and fill it into the configuration options

  • Compile, download, and verify the data reporting and sending functions of the IOT gateway.

Last updated

Assoc. Prof. Wiroon Sriborrirux, Founder of Advance Innovation Center (AIC) and Bangsaen Design House (BDH), Electrical Engineering Department, Faculty of Engineering, Burapha University