MQ-135 Gas Sensor

Hi!

I require your help regarding a problem I’m encountering.

I have one MQ-135 Gas Sensor, i dont know how to read data from it.:

Hardware concerned - NA:

Software concerned - i want to know how should I read the data from MQ-135 Gas Sensor. I have a requirement to read this sensor data into mobile. I want to know the APIs:

Troubleshooting steps already taken:

Additional information:

Thank you so much in advance for your help!

Hello @vishal_aish2000 and welcome to the RobotShop community!

The MQ-135 Gas Sensor is a digital/analog device that requires the use of a microcontroller or development board. To read the data from it you will have to follow these steps:

  • Download the relative codes to the development board.
  • Connect the development board to a PC via a serial wire and the module to the development board. Then, power up the development board and start the serial debugging software. Here is the configuration of the connection between the module and the development board.
    image
  • Warn-up the sensor for a minute.
  • The detected result can be checked by the LED indicator on the module.
  • Put the sensor into a container filled with sensitive gas, you will find the indicator turns on. While taking the sensor out of the container, you can see the indicator turns off.

You can find more information about the sensor here.

Also, if you are a beginner I recommend using an Arduino for your project, because you will be able to find many tutorials online, like these ones: