Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we use MQ-131 module with 4 pins with the library? (instead of raw sensor with 6 pins) #39

Closed
lailomah opened this issue Jan 19, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@lailomah
Copy link

Thankyou for an organized tutorial about MQ-131 I have few questions if someone could answer it will be so helpful.

1: Instead of using all 6 pins of heater and sensors Can we use this Sensor with the module that has 4 pins (VCC,GND, A0. D0) ?

2: How the library is calculating PPM? is it converting the analogue values into ppm?

@ostaquet
Copy link
Owner

  1. The sensors have always 6 pins but only 4 are really used. I don't have the documentation of your module. So, it is difficult to know the parameters of the breakout module. Do you have some doc?

  2. The result of the sensor is a resistance ratio. The resistance ratio is computed based on the sensitivity curves of the sensor as defined in the datasheet. The formula are in the Excel sheet (https://github.com/ostaquet/Arduino-MQ131-driver/blob/master/extras/datasheet/Sensitivity_curves.xlsx).

@ostaquet ostaquet self-assigned this Mar 13, 2021
@ostaquet ostaquet added the question Further information is requested label Mar 13, 2021
@ostaquet ostaquet changed the title CAN WE USE MQ-131 WITH MODULE THAT HAS 4 PINS (Vcc, gnd, A0,D0) ? INSTEAD OF USING THE SENSOR'S ALL 6 PINS? Can we use MQ-131 module with 4 pins with the library? (instead of raw sensor with 6 pins) Mar 13, 2021
@damico
Copy link

damico commented Sep 21, 2021

I believe that lailomah is talking about this board:

image

Which can be understood by this circuit diagram:

image

Where the R2 is 1KOhm.

Best Regards,

Jose Damico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants