当前位置:网站首页>Design of intelligent weighing system based on Huawei cloud IOT (STM32) [II] there is information at the end
Design of intelligent weighing system based on Huawei cloud IOT (STM32) [II] there is information at the end
2022-07-26 19:38:00 【an520_】
3.5 Topic subscription and Publishing

adopt MQTT Client software simulation report test :

View the console page , The data has been uploaded successfully .

3.6 Application side development
In order to display equipment data more conveniently , Interact with the device , We also need to develop a supporting host computer , The official provides the application side development API Interface 、SDK Interface , For convenience and versatility , I'm using API Interface to complete data interaction , The upper computer software adopts QT Development .
Help document address : https://support.huaweicloud.com/api-iothub/iot_06_v5_0034.html
The device attribute is the sensor status data information uploaded by the device , The application side provides API Interface , It can actively send request instructions to the device end ; After receiving the instruction, the device needs to report the data according to the agreed data format ; therefore , To realize the data interaction between the application layer and the device side , It needs the cooperation between the application layer and the device end to complete .


When using interfaces , It's best to use Huawei's own debugging interface to test .https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=IoTDA&api=ListProperties

The upper computer software adopts Qt framework design ,Qt It's a cross platform C++ GUI application framework .Qt It's a 1991 Year by year Qt Company Cross platform development C++ GUI application development framework . It can develop GUI Program , It can also be used to develop non GUI Program , For example, console tools and servers . Simply speaking ,QT It can easily help you make software with interface , It doesn't even require you to put a lot of energy .
QT Official website :https://www.qt.io/

4. STM32 Device side development
4.1 Program download

4.2 Schematic diagram

4.3 Hardware wiring


4.4 MQTT Connection code
MQTT The protocol connects Huawei cloud IOT Source project : https://download.csdn.net/download/xiaolong1126626497/81993720


4.5 ESP8266 Code









【 Learning exchange group 611386401】
【 Network disk free information package , Need to collect by yourself 】:

边栏推荐
- Test interview question set UI automated test
- Solidity中call函数详解
- The passwords are consistent, and the total display is as shown in the figure below
- 节省50%成本 京东云发布新一代混合CDN产品
- 线性代数第3章向量
- Difficult performance problems solved in those years -- ext4 defragmentation
- 那些年解的疑难性能问题 --- ext4碎片整理
- 基于华为云 IOT 设计智能称重系统 (STM32)【一】
- ReentrantLock学习之公平锁过程
- A case study of building an efficient management system for a thousand person food manufacturing enterprise with low code
猜你喜欢

Customer cases | focus on process experience to help bank enterprise app iteration

【MySQL必知必会】 日志Log详解

All you want to know about interface testing is here

Configure the server environment

Usage scenarios for automated testing

The difference between advanced anti DDoS server and advanced anti DDoS IP

什么是服务器集群?海外服务器集群的优势?

数据湖--概念、特征、架构与案例概述

聊聊如何用 Redis 实现分布式锁?

How to write the test case of mobile app? What are the mobile app test points?
随机推荐
洋葱集团携手OceanBase实现分布式升级,全球数据首次实现跨云融合
C#创建及读取DAT文件案例
数据湖--概念、特征、架构与案例概述
香港高防IP优势及哪些行业适合使用
【YOLOv5】--详细版训练自己的数据集 保姆级学习日志记录 手把手教程
Turn off win10 automatic update completely
Four methods of closing forms in C #
“蔚来杯“2022牛客暑期多校训练营1
2022 build enterprise level data governance system
Description of MDM separation of powers and classification and grading authority
基于ABP实现DDD--领域逻辑和应用逻辑
J1:Redis为什么这么快+基本结构
C # get local time / system time
C#获取本地时间/系统时间
J2 Redis之 AOF&RDB
博客维护记录之图片预览嵌入位置问题
EN 1504-7混凝土结构保护和修理用产品钢筋防腐—CE认证
Reentrantlock learning --- basic method
The difference between advanced anti DDoS server and advanced anti DDoS IP
Pads draw 2.54mm row needle
http://makerschool.mikecrm.com/f4wjYBB