How to connect ESP32-WROOM-32 SENSOR_VP & SENSOR_VN pins?
If you are making a PCB using the ESP32-WROOM-32 module, you might be wondering how to connect theSENSOR_VP
and SENSOR_VN
pins (pins 4 & 5).
- These pins are made to accurately measure differential low-voltage signals using the ESP32 12-bit ADC. If you want to measure a differential signal, connect
SENSOR_VP
to the positive voltage of your analog signal and connectSENSOR_VN
to the negative voltage of your analog signal. Take care not to exceed the maximum voltage range of approx. 0..3.3V for the ESP32, else you will damage the chip! - These pins can be used as normal GPIOs:
SENSOR_VP
isGPIO36
andSENSOR_VN
isGPIO39
, however these are input-only, you can’t use them as output! - If you don’t need the pins, connect them to GND, or just leave them open (i.e. don’t connect them at all)
Source & further reading: ESP32-WROOM-32 reference manual