Page 1 of 1

ZE16B CO SENSOR

Posted: 25 Nov 2022, 16:28
by etardioli
Hello!! im lost with this sensor...

Its a monoxid carbon sensor who comunicates with serial interface.(https://www.winsen-sensor.com/d/files/z ... l-v1_1.pdf)

There is a way to read the values from the sensor who communicates with serial interface? use softwareserial to read from there, but no success with the lastone.
Maybe modifying one existing plugin...
A workaround or a tip would be apreciated.

Thanks!

Re: ZE16B CO SENSOR

Posted: 25 Nov 2022, 16:34
by TD-er
Given it is a sensor from the same brand as the MH-Z19 CO2 sensor, I guess adapting that plugin might be my first start.

Re: ZE16B CO SENSOR

Posted: 25 Nov 2022, 16:38
by etardioli
thanks! i will try that if i succeed i will post here.

There is other way to see the values from the sensor, to see if works?

Re: ZE16B CO SENSOR

Posted: 25 Nov 2022, 16:43
by TD-er
You could connect it to some USB to serial adapter (or just an ESP board) and see with some serial terminal program (e.g. Putty) to see if there's some data being received.

Make sure to have the RX and TX connected in the correct way.
Thus TX from the sensor to the RX of the receiving end.

Re: ZE16B CO SENSOR

Posted: 26 Nov 2022, 00:18
by chemmex
From my experience with Winsen devices, there is not much consistency in serial protocols of their numerous sensors, but for this particular unit it looks quite simple.

And since the protocol is binary, I would use RealTerm instead of Putty