How to switch between 2 power levels for mq7 sensor

I am using mq7 sensor for my project.For this sensor according to the datasheet I need to continuously switch between 5 and 1.5 V input voltage to mq7 sensor. Since I am a beginner, wanted to know how can I implement this, I am using esp32 microcontroller.

https://learn.sparkfun.com/tutorials/hazardous-gas-monitor

credit to @jremington who handled a similar question and supplied the above link in that thread here:
https://forum.arduino.cc/t/taking-co-readings-with-mq7-gas-sensor/897919/2

1 Like

Thank you

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.