You are reading a single comment by @SankySyS and its replies. Click here to read the full conversation.
  • Does anyone know how i can read data from this sensor via Digital pin?

    You cannot. The output is analog, not digital.

    The analog input on the ESP8266 is pretty crap - but it does exist. Give that a try.

    You could also use an external I2C or SPI ADC.

    If you just care about it crossing a specific threshold, you could use a '393 to compare it with a reference voltage and drive a pin low when it's above (or below) that threshold.

About

Avatar for SankySyS @SankySyS started