Design of Multi-protocol Data Conversion Gateway for Industrial Sensors
Aiming at the problem of single data transmission mode of RS485 and CAN sensors,a multi-protocol data conver-sion gateway was designed.The gateway took STM32 as the core,a variety of communication interface circuits was built around it,and a data caching mechanism was established to realize data conversion between RS485 and CAN sensors and RS232,Ethernet and LoRa.In the communication experiment between RS485 and CAN weighing sensors and the host computer,the gateway can timely and accurately send data of sensor to the host computer through three communication interfaces,which verifies the feasibili-ty of the design and solves the problem of single data transmission channel for the two types of sensors.