MQ2 Sensor Configuration on Wemos D1 Mini

Hello everyone! I’m new to the world of home automation and I’m currently working on a project that involves using two MQ2 gas sensors with a Wemos D1 mini. I’ve been able to get one sensor working using the ADC pin A0, but I’m running into some challenges when trying to add a second sensor.

Most of the examples I’ve come across only use a single MQ2 sensor connected to the A0 pin. I’m curious if it’s possible to configure the second MQ2 sensor to use a digital pin instead, such as D0 or D1. This would allow me to monitor both sensors simultaneously without any conflicts.

I’ve tried looking for configuration examples online, but I haven’t found anything that specifically addresses this setup. I was wondering if anyone here has successfully configured two MQ2 sensors on a Wemos D1 mini, one using an analog pin and the other using a digital pin. If so, I’d greatly appreciate any guidance or example code you could share.

I’m really excited about this project and I’m determined to get it working, but I could use a little help to overcome this hurdle. Thanks in advance for your insights and suggestions!