ESP32 - using SVN and SVP as regular GPIO inputs

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
User avatar
iotman
Posts: 16
Joined: Sat Feb 02, 2019 4:06 pm
Location: Nanoose Bay
Contact:

ESP32 - using SVN and SVP as regular GPIO inputs

Post by iotman » Sat Feb 02, 2019 4:28 pm

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
Last edited by iotman on Sat Feb 02, 2019 5:03 pm, edited 1 time in total.

Online
User avatar
Roberthh
Posts: 1313
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

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

Post by Roberthh » Sat Feb 02, 2019 4:36 pm

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.

User avatar
iotman
Posts: 16
Joined: Sat Feb 02, 2019 4:06 pm
Location: Nanoose Bay
Contact:

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

Post by iotman » Sat Feb 02, 2019 4:56 pm

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

Post Reply