ESP32: analog read with the ADC, and why ADC2 is broken on Wi-Fi
Use the ESP32's 12-bit ADC to read a potentiometer or analog sensor. Includes the ADC2 vs Wi-Fi trap and the input-only pin caveat.
Tag
2 tutorials
Use the ESP32's 12-bit ADC to read a potentiometer or analog sensor. Includes the ADC2 vs Wi-Fi trap and the input-only pin caveat.
Wire a 10k potentiometer to an Arduino analog pin and read its position with analogRead. The second project after blink.