I can control with RPIEasy
the sensor air MQ4-MQ7-MQ135 like this :
https://it.aliexpress.com/item/10050016 ... toNFn9MSPx
i connect the sensor on the wemos D1 Mini whit the EspEasy and all is good, i connect all 4 pin (1 to gpio, 1 to A0, 1 to 5V and 1 to GND)
i have de value of "gas" to the A0 pin, and the logical level to Gpio
On Raspberry+RPIEasy I do not know where to connect A0
i connect the gpio27(pinout port to input-pullup)and set device to P001
the sensor work on logical state 0 or 1 and it's ok
but the value of "gas" .... yuo have the solution??
Thank
RPIEasy and Sensor air MQ4-MQ7-MQ135?
Moderators: grovkillen, Stuntteam, TD-er, enesbcs
Re: RPIEasy and Sensor air MQ4-MQ7-MQ135?
Which Raspberry Pi are you using? Raspberry Pi 4?
Re: RPIEasy and Sensor air MQ4-MQ7-MQ135?
Hi,
Yes raspy 4 , and raspy 2
Yes raspy 4 , and raspy 2
Re: RPIEasy and Sensor air MQ4-MQ7-MQ135?
Raspberry Pi 4 has no analog pin. If you want to read any analog value with Raspberry Pi, you will have to use an MCP3008 ADC IC in between.
Who is online
Users browsing this forum: No registered users and 0 guests