当前位置:网站首页>CAT1 4G+Ethernet development board Tencent cloud mobile phone WeChat applet display temperature and delivery control
CAT1 4G+Ethernet development board Tencent cloud mobile phone WeChat applet display temperature and delivery control
2022-08-02 07:11:00 【LCIOT】
一、准备材料
二、设备接线
2.1放置4G卡
将EC200S-CN模块核心板从DTU开发板底板中拔下,将4G卡缺口处朝内插入.然后重新将EC200S-CN模块核心板插回DTU开发板底板.
2.2接入仿真器
接入仿真器,用于下载程序.
将仿真器用杜邦线按照下图接入DTU开发板底板,USB端接入电脑.


2.3 接入USB-232串口线
将USB-232串口线一端接入DTU开发板底板,另一端接入电脑.
2.4 接入电源适配器
将电源适配器一端接入DTU开发板底板,另一端接入插排,通电后,模块亮起.
三、Tencent cloud iot platform to create products、设备
3.1Enter the tencent cloud iot platform
百度搜索腾讯云,进入腾讯云官网:https://cloud.tencent.com/.
On the front page of search the Internet of things platform,Enter the tencent cloud iot platform.
点击立即使用.
Then sweep WeChat login code,完成实名认证,The development of the Internet of things platform.
3.2新建项目
In tencent cloud iot platform,Click on the public instance anywhere.
点击新建项目,Enter a project name and then click the save is complete the new project,Project description can take into consideration the fill in.
3.3创建产品
新建项目完毕后,开始创建产品.
Click on the item anywhere.
点击新建产品.
3.4自定义功能
Click on the product in any position,Can see the function of the product details.
When the product standard function is insufficient to meet demand,可以自定义功能.
Since now we define a function:Indoor current temperature.
Numerical range recommended limit is5000以上,例如:-100~5000.
Because if not insert18B20Temperature module,会发送4095,Value is not within the scope of the default don't show.
Define a custom function again:Relay lamp state.
After defined function,点击下一步.
3.5设备调试
Selected in the device development based on module development,Choice ofML302模块,After direct click next.
In the interactive development directly click next.
The next step into the equipment debugging,Because we don't have a current equipment,So click new equipment.
After the new equipment,To debug the equipment.点击在线调试,Can customize the function input expectations,Then click the send button to issued instructions.
You can see data in the equipment log has been sent to come over,This means we debug state.
四、下载程序
4.1设置仿真器
Setup program code and then set the emulator,Before downloading programs need to configure the emulator,If already set before you can skip this step.





4.2下载程序
Download the program before,先编译程序,See if program is wrong.
After the success of the compiler,开始下载程序.(注:Download the program must emulators, access to the computer).
五、Tencent cloud distributed control
We have learned with4GEthernet development board upload real-time temperature data to tencent cloud,If not we can see previous articles,Now we realize tencent cloud iot platform distributed control equipment.
在程序代码中:
“ t h i n g / u p / p r o p e r t y / I T Z 3 V K 8 J 1 L / 4 G N E T D S 18 B 20 " Said the hair,On the temperature; " thing/up/property/ITZ3VK8J1L/4GNETDS18B20" Said the hair,On the temperature; " thing/up/property/ITZ3VK8J1L/4GNETDS18B20"Said the hair,On the temperature;"thing/down/property/ITZ3VK8J1L/4GNETDS18B20” Said issued,Distributed controlpower_switch.
The air conditioning switch into open,Click send after you can see the board in the middle of the yellow lights up,Data can also see on a serial port tool issued by information.“power_switch”:1,表示亮,“power_switch”:0,表示灭.
This is tencent cloud distributed control.
六、Mobile WeChat small program control
In equipment debugging,有一个二维码.
打开微信添加“腾讯连连”小程序,使用“腾讯连连”Scan the qr code add equipment.
In tencent repeatedly click equipment,可以看到4GEthernet transmission of indoor temperature current development board,Also can adjust the air conditioning switch,With tencent cloud synchronization update.This is tencent cloud phone WeChat small program control.

通过应用开发,Can put the application management embedded in various kinds of application.
The application associated with the product.Associated with the product after,Can have access to distribution network equipment、绑定,控制等操作.
边栏推荐
- Practice on optimizing startup performance of VS Code
- node安装及环境变量配置
- C# Coding Conventions Handbook
- mysql索引失效的常见9种原因详解
- MySQL database video tutorial from beginner to proficient
- pointer arithmetic in c language
- 反向解析dns服务器
- [数据集][VOC]眼睛佩戴数据集VOC格式6000张
- leetcode-318.最大单词长度乘积
- MySQL driver jar package download -- nanny tutorial
猜你喜欢

Tips for programmers to write PPT

How the Internet of Things is changing the efficiency of city operations

node安装及环境配置

MySQL Index Common Interview Questions (2022 Edition)

Not annotated parameter overrides @NonNullApi parameter

DNS的解析流程

View source and switch mirrors in two ways: npm and nrm

The stock price has repeatedly hit new lows, and the real estate SaaS giant is in trouble. How should Mingyuan Cloud transform and save itself?

Go inside the basic knowledge

人工神经网络
随机推荐
Nacos安装详细过程
CAT1 4G+以太网开发板腾讯云手机微信小程序显示温度和下发控制
nacos安装配置和单机部署教程
专家见解|经济低迷期把握创新机会的 3 大方法
Nacos客户端启动出现9848端口错误分析(非版本升级问题)
一文搞懂C操作符
代码编世界 科技创未来
提交代码流程
Nacos数据库配置
MySql - there is no insert, there is update or ignored
pointer arithmetic in c language
MySQL经典50道练习题及全网最详细解析
HCIP 第三天实验
Write implicit join on view with jOOQ 3.14 synthetic foreign key
Nacos注册中心的部署与用法详细介绍
APT + Transform to realize multi module Application distributed Application life cycle
MySQL - 多表查询与案例详解
【21天学习挑战赛】顺序查找
MySQL 23 classic interviews hang the interviewer
Nodejs安装教程