MQ135 air quality

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Alien
Posts: 3
Joined: 23 Oct 2018 18:02

MQ135 air quality

Post 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?
mdietinger@gmail.com
Posts: 39
Joined: 12 Aug 2016 12:08

Re: MQ135 air quality

Post 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
Alien
Posts: 3
Joined: 23 Oct 2018 18:02

Re: MQ135 air quality

Post by Alien »

Thanks a lot! I'll do like this and will let you know how it goes.
Post Reply