Page 1 of 1

MQ135 air quality

Posted: 24 Oct 2018 12:35
by Alien
Good morning,

Did anyone managed to have an air quality MQ135 sensor work on the Z-Uno? I have it working correctly on Arduino, but not on the Z-Uno.

With this code: https://create.arduino.cc/projecthub/am ... uno-69805c
I still have 0 as a sensor value.

With this code: https://www.instructables.com/id/Easy-A ... 35Cayenne/
it doesn't compile on the Z-Uno (error in the lib MQ135).

Any idea, please?

Re: MQ135 air quality

Posted: 24 Oct 2018 15:56
by mdietinger@gmail.com
Did you power the sensor with 5V?
With 3.3V its not going to work.
You need as well a voltage divider to get output down to 3.3V

https://www.olimex.com/Products/Compone ... -MQ135.pdf

Re: MQ135 air quality

Posted: 25 Oct 2018 09:44
by Alien
Thanks a lot! I'll do like this and will let you know how it goes.