Infineon Gateway
Last updated
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
This is an IoT DEMO based on CY8CPROTO-062-4343W
development 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 RW007
for network communication, using MQTT
the 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
OneNET: China Mobile's open IoT platform
USB-TTL: Connect to UART5 (TX: P5_1; RX: P5_0) baud rate 115200
WiFi network module: RW007
The corresponding relationship table between each IO interface and function:
Open RT-Thread studio and import the development board sample project: Click the upper left corner of Studio文件—>导入—>RT-Thread Studio项目到工作空间中
Select the root directory of this sample project to import
Enter RT-Studio
the SDK manager and download the Infineon OpenOCD
resource package.
Right-click the project and click同步 scons 配置至项目
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 Debug
or Download
to 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
help
Enter commands such as ,ps
,free
and so on in the serial terminallist_device
to view the system operation status
Lianyun Configuration
Click 全部产品服务—>多协议接入
to enter the configuration interface
Add products
Enter product information
Add a device
Enter device information
Enter RT-Thread Studio
, double-click under this project RT-Thread Settings
to enter the project configuration interface
Compare OneNet
the information and fill it into the configuration options
Compile, download, and verify the data reporting and sending functions of the IOT gateway.
CY8CPROTO-062-4343W Pin Name
Function
P6_2
BOOT0/CLK
P6_1
MISO
P6_0
MOSI
P12_0
BOOT1/CS
P5_7
INT/BUSY
P6_5
RESET