为了实现现有以RS232为通讯方式的设备的网络化监控和管理,提出了以太网转RS232的转换器设计.利用STM32F107实现了对转换器的硬件设计,对软件模块进行了功能划分,利用主程序和中断服务程序对转换器功能进行软件实现.设计的以太网转RS232转换器具有较强的通用性,在不改变硬件平台的情况下,仅对软件的处理模块进行少量修改便能适应各种RS232协议.%In order to monitor and manage the existed device with RS232 communication protocol,Ethemet to RS232 converter design is necessary.The converter hardware design used STM32F107 as the main MCU.Converter software modules were divided by the converter function.Main program and interrupt service program software were designed to achieve the function of the converter.The designed Ethemet to RS232 converter has strong generality.It can only do small modification in the data handle module to satisfy the variety of RS232 protocol,without change the hardware platform.
展开▼