Page 1 of 1

ESP32 - using SVN and SVP as regular GPIO inputs

Posted: Sat Feb 02, 2019 4:28 pm
by iotman
Hello, we are using an ESP32 board and I would like to use the SensVN (GPIO 39) and SensVP (GPIO 36) as ordinary GPIO inputs.

I understand these are normally used as analog inputs for very low output sensors, such as thermocouples. They also seem to be associated with a Low-Noise Amplifier that has some behavior parameters.

So a few questions, if anyone knows about this:

-is it possible to use these as regular inputs for monitoring GPIO inputs of around 2.8 to 3v?
-if so, is there some kind of uP gain setting (or other parameter) that would safely enable this capability?

I'm concerned that we may damage the ESP32 if we just go ahead and try it, without first investigating the possibility. We have run out of available GPIO inputs on our board, so this is why the question has arisen.

Thanks in advance for any feedback!

AB

Re: ESP32 - using SVN and SVP as regular GPIO inputs

Posted: Sat Feb 02, 2019 4:36 pm
by Roberthh
GPIKO36 and GPIO39 as well as the other ADC input only pins can be used as digital inputs. Just configure them Pin input. So you can use them for instance as SPI MISO, but not as I2C SDA or SCL.

Re: ESP32 - using SVN and SVP as regular GPIO inputs

Posted: Sat Feb 02, 2019 4:56 pm
by iotman
hi @Roberthh, Thanks so much for the quick reply!
This is the answer I was hoping for. :D
Micropython is a fantastic happening!
Cheers, AB