Search found 2 matches

by spidernet
Wed Apr 17, 2019 1:46 pm
Forum: ESP32 Arduino
Topic: What is the right PIN for ADC of TTGO ESP32?
Replies: 0
Views: 2220

What is the right PIN for ADC of TTGO ESP32?

What is the right PIN for ADC of TTGO ESP32?
I want to read some sensors which required ADC input pin.

My board is same like this one: https://primalcortex.wordpress.com/2017 ... it-to-ttn/
by spidernet
Wed Apr 10, 2019 12:27 pm
Forum: ESP32 Arduino
Topic: ADC1_0 reported random value even no input
Replies: 1
Views: 2756

ADC1_0 reported random value even no input

ADC1_0 reported random value even no input. #define Sensor_A0_PIN 36 pinMode(Sensor_A0_PIN, INPUT); // loop int sensor_A0_R = analogRead(Sensor_A)_PIN); display.drawString(0, 20, "Sensor A0: " + String(sensor_A0_R)); The output of sensor_A0_R send to OLED. I see random value such as: 768, 829, 822, ...