I do not know interface type for my sensor :(

Hello,

I am interested in getting an MQ9 & MQ7 analog sensor for a project of mine, but I do not know the type of interface it has. It says it is analog, but there are different types of analog ports (some of which my pc has some that it doesn’t).

https://www.robotshop.com/en/analog-gas-sensor-mq9.html

Could you guys please help me identify the type of analog interface these sensors have?
Thank you

Which microcontroller are you planning on using?

Datasheet for MQ9

Red = power (needs 10k resistor)
Black = ground
Blue = signal

Thanks for responding,

so i do not know too much about robotics, more of programming but I was not planning on using a microcontroller. My idea was to connect the sensor to my pc through the analog port so that the software can read the results.

@awarden07 the sensor you have is based on the Grove System and I believe that you need Grove Expansion Board to interact with it. This is directly from their website:

How to connect Grove to your board

If there’s no Grove connector on your board, you need a Grove Expansion Board which to attach the Grove modules. The Grove Expansion Board provides the processing power, and the modules offer the input sensors and output actuators of your system. There are many Grove Expansion Board for different platform already, they include Arduino UNO, Particle Phone, BeagleBone board etc.

Hello @awarden07 and welcome to the RobotShop community!

To read the data acquired by the sensor you will need compatible analog inputs and as a PC does not offer them you will need a microcontroller.

Since you are a beginner I would suggest getting an Arduino because you will find lots of information on how to use them online, like this tutorial that works for different MQ Gas sensors

There are other options for interfacing the sensor like the ones explained here but I would go for the Arduino because it is very easy to use and you won’t need to add shields or hats for your project.

1 Like

Based off of what you have said, would I be able to use this Arduino micro-controller?


Also, is the Arduino micro-controller compatable with the MQ7 gas sensor as well?

Exactly!

And yes you can use the MQ7 gas sensor as well, here is a tutorial for it:

You will also need a breadboard/protoboard and some jumper wires to make the connections, you can find some options in the Prototyping section.

1 Like