Ai-Thinker-Open / GPRS_C_SDK

Ai-Thinker A9/A9G GPRS (with GPS(A9G)) module C development SDK
https://ai-thinker-open.github.io/GPRS_C_SDK_DOC
MIT License
446 stars 232 forks source link

ADC floating voltage #518

Open garudaonekh opened 1 year ago

garudaonekh commented 1 year ago

Hi, I used voltage divider to reduce my sensor to maximum 1.6v so that it is compatible with the ADC but the another problem is the A9 ADC reading in case of no sensor is floating around. Is there a way to pullup or down in case no sensors attached?

I do not know how to combine both pull down resistor and voltage divider together.