I've purchased a SainSmart TGS2600 Air Contaminants Sensor, but got no data sheet or the like.

enter image description here

Does anybody know how to connect this breakout to the Pi?

  • There is an LM393 on the board, so in total it could be a schmitt trigger, but I'm not sure.
    – tmartin
    Commented Sep 24, 2014 at 20:16

2 Answers 2


As said V to Pi 5V, G to a Pi ground.

A0 will be an analogue voltage output. The Pi has no analogue inputs so you'll need to buy an ADC to make use of the raw reading.

I'm guessing that DO will be low until a pre-set pollution threshold has been exceeded. It will then switch high. You'd set the threshold with the POT on the unit. You'd need to connect that line to the Pi via a voltage divider (pair of resistors) to cut the voltage level from 5 to a Pi safe 3.3V.


V is probably VCC (5V), G is probably Ground, A0 and D0 are likely outputs. A0 is probably analog output. This isn't the same module, but might be some help:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.