I’m trying to use a MQ-7 sensors on ESP-12 to detect carbone monoxide.
I saw i technical specs that I have to heat at 1,4v and 5v alternatively. I have some difficulties to wire everything. Does some of you have already use this sensors ?
Yes I’ve tried it, but this works with an Arduino with PWM and 2 to analog input. I want to replace Arduino by an ESP8266 node MCU to get Wifi + MQTT.
I can use only one Analog input to read MQ7, A0 is OK.
But how can I switch between 1.4v and 5v without PWM ? I suppose I can use a transistor or mosfet + 2 resistors to make a 1.4v. But i have not enough knowledge in electronic to find the solution.
This seems to be for other MQ sensors working on 5v. The MQ7 is a bit different, because it need to be heat a 1.4v to read and 5v to heat. In this example the MQ is always 5v