Home > other >  SMARTGAS type sensor and SCM single communication problems
SMARTGAS type sensor and SCM single communication problems

Time:03-15



Didn't know how to communicate, what is the principle, strives for the guide?
Sensor is SMARTGAS SF6 sensor,

If I how to send the sensor through the microcontroller IO port protocol in the past, read the data and how to receive it?

CodePudding user response:

This is single bus communication protocol, such as commonly used DHT11 temperature and humidity sensor, light sensor DS18B20, can refer to these programs to write

CodePudding user response:

Wrong, DS18B20 temperature and humidity is not light,

CodePudding user response:

Is the MODBUS ASCII/RTU SELF - ADJUSTING protocol using RS - 232 transmission, I just saw the SF6 sensor, baud rate is 38400,
This is a two-way mouth mouth, should be a TTL level 232 interface, press the MODBUS organization and access data frame, the MCU TXD/RXD two Angle after short circuit connection COM with 38400 baud rate of serial port to send and receive data to access the sensor
The links below is the MODBUS Chinese instructions, understand the whole work to
https://wenku.baidu.com/view/58afeb53182e453610661ed9ad51f01dc28157a8.html? Fr=search

CodePudding user response:

That you want to see the sensor data, with a focus on the communication protocol, instructions, read/write registers sequence, etc.,
  • Related