当前位置:网站首页>CAT1 4G+以太网开发板232数据通过4G模块TCP发到服务器
CAT1 4G+以太网开发板232数据通过4G模块TCP发到服务器
2022-07-28 06:29:00 【LCIOT】
一、测试使用材料
①DTU开发板底板
②EC200T-CN核心模块
③ST-LINK仿真器
④USB-232串口线
⑤5V-2A电源适配器
二、设备接线
2.1放置4G卡
将EC200S-CN模块核心板从DTU开发板底板中拔下,将4G卡缺口处朝内插入。然后重新将EC200S-CN模块核心板插回DTU开发板底板。

2.2接入仿真器
接入仿真器,用于下载程序。
将仿真器用杜邦线按照下图接入DTU开发板底板,USB端接入电脑。

2.3 接入USB-232串口线
将USB-232串口线一端接入DTU开发板底板,另一端接入电脑。
2.4 接入电源适配器
将电源适配器一端接入DTU开发板底板,另一端接入插排,通电后,模块亮起。
三、服务器启动Socket调试工具
3.1登入远程服务器
在电脑上搜索远程桌面连接。

3.2打开Socket调试工具
将Socket调试工具等文件挂到服务器,打开Socket调试工具。
将Socket调试工具的端口号设置为9988(自定义,不需要一致)。
四、程序下载
用Keil打开程序。(打开Keil出错,可在微信公众号:微信搜索nnhptch或者南宁湖畔科技:Keil5及芯片包的安装以及Keil5打开Keil4工程编译出错解决方法。)
打开程序。
4.1配置仿真器
若前面已经配置了,可以忽略该步骤。


下载时将Cortex-M Target Driver Setup 中的reset and run勾上,路径如图所示。


4.2下载程序
修改程序
修改完成后,点击重新编译,下载。
五、查看效果
打开电脑设备管理器,查看端口,接着打开串口工具,打开串口。
我的电脑→右键→属性→设备管理器。
在开发工具(软件都在这里)文件夹下,打开SSCOM3.2串口工具,查看效果。
选择对应的串口号,如上图所知,我们选择COM3,波特率为115200,然后打开串口。
静静等待连接,进入服务器,看到Socket调试工具接收到板子发送的数据。
232接口可以通过我们的开发板发送数据到服务器。
服务器也可以通过我们的板子接收数据通过232接口显示出来。
边栏推荐
- In the task manager, the CPU speed displayed is greater than its maximum speed [main frequency]
- sql server时间字段排序
- [chart component kit] Shanghai daoning provides developers with steema download, trial and tutorial
- Huawei Senior Engineer -- BGP routing filtering and community attributes
- “蔚来杯“2022牛客暑期多校训练营2补题记录(DGHJKL)
- Understand CDN
- 基于单例模式的yaml参数配置
- c语言中函数的介绍(血书20000字!!!!)
- Es6: template string
- Prescan quick start to proficient in lecture 17, speed curve editor
猜你喜欢

Understanding of spark operator aggregatebykey

Forward propagation of deep learning neural networks (1)

华为高级工程师---BGP路由过滤及社团属性

CarSim simulation quick start (XII) - Driver Model (2)

【花书笔记】 之 Chapter01 引言

Puzzle (004.3) pattern puzzle

【13】加法器:如何像搭乐高一样搭电路(上)?

百度智能云九州区县大脑,描绘城乡新蓝图!

Talk about row storage and column storage of database

UE4 engine customizes screenpass and MRT output
随机推荐
Five screens, VR, projection, "Wei Xiaoli" rolled up on the intelligent cockpit
Prescan quick start to master the track editing path of Lecture 16
In QT multithreading, in which thread does the slot function perform analysis
使用FFmpeg来批量生成单图+单音频的一图流视频
What if the computer file cannot be deleted?
任务管理器中,显示的CPU速度大于它的最大速度【主频】
本人男,27岁技术经理,收入太高,心头慌得一比
03 | 项目部署:如何快速部署一个基于laravel框架开发的网站
Opencv's practical learning of credit card recognition (4)
Fxksmdb.exe process description
c语言中函数的介绍(血书20000字!!!!)
Solve the inherent defects of CNN! Common CNN architecture ccnn is coming | icml2022
DCL singleton mode
Understand the propagation process of EMI electromagnetic interference through five diagrams - the influence of square wave steepness on high-frequency components, the spectrum graph from time sequenc
@Documented 的作用
CarSim simulation quick start (XI) - Driver Model (1)
Awk from introduction to earth (16) discussion on the types of awk variables -- about the two types of numbers and strings
Common solutions for distributed ID - take one
【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(八)
记录一次mycat连接Communications link failure问题解决