Help for MQ2 Sensors #9995
Replies: 1 comment
-
@NahianMugdho You can follow this through the code: If you read the Suspect there's something wrong with your wiring and the ADC isn't reading the right pin from the sensor. Note: you might also need to configure baseVoltage to 3.3 if you're powering the MQ2 from the ESP8266. e.g.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using the following library for MQ-2 sensors - https://github.com/kartun83/micropython-MQ
I'm using ESP-8266 in this case. Here is my code-
I'm getting the following errors-
I couldn't find out any specific example about this library. Please help me out.
Beta Was this translation helpful? Give feedback.
All reactions