MMD1013S VOC sensor module library

A new inexpensive gas sensor module has appeared on the market.
It is based on SMD1013S from IDM Technology, Inc, runs on 5v, comunicates with I2C or UART
It is a very basic sensor, but it can complement other popular sensors like the CCS811, because the sensitivty is different to different volatiles.
Looking at the datasheet, I see that reading the sensor consists of just sending the I2C address and reading two bytes.
B1=3Bh (address for I2C, for UART it would be 2Ch)
B2=TVOChigh
B3=TVOCLow
Calculating the total VOC concentration:
TVOCValue = (B2*256+B3)*0.01

The pdf can be found at http://www.idmsensor.com/cp/html/?108.html. It is in chinese, so I translated the file online, but I'm unable to upload it here.

I'm hoping someone could make a simple library or bit of code for using this and make it publicly available, allowing newbies like me to use this module.

The sensor module looks like this:

I2C protocol information from the translated datasheet:
Specifications
Commands

I2C Parameters
I2C Data format and timing

An Arduino expert here could make this library in a few minutes, I'm sure! Having it here would be great for any newbie wanting to give this sensor a go.

Can we guess that you have gotten it to work? Can you give some examples of how you are using it?

I still haven't got it working. When I finish sorting out other issues, I will eventually give it a go.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.