esp32-motorized-roller-blinds icon indicating copy to clipboard operation
esp32-motorized-roller-blinds copied to clipboard

Add ADC reading to MQTT

Open burjakremen opened this issue 3 years ago • 4 comments

Thanks to the author for a wonderful project !!! Is it possible to implement ADC reading and output the result in MQTT into the project (ESP8266 pin A0)?

burjakremen avatar Sep 08 '21 07:09 burjakremen

glad to hear that it useful for you!

Can you describe your scenario please? Why do you need some ADC readings on MQTT?

eg321 avatar Sep 08 '21 14:09 eg321

I am planning to make a stand-alone system powered by a battery that will be charged by a solar panel. Using the ADC, need to get the level of the current battery charge.

burjakremen avatar Sep 08 '21 15:09 burjakremen

It don't looks as popular scenario, but I'll think what we can do here. Thanks for your idea!

eg321 avatar Sep 11 '21 18:09 eg321

You can consider many scenarios in which an ADC is used, as an example - connecting a light sensor

burjakremen avatar Sep 13 '21 07:09 burjakremen