T-OI plus ESP32-C3
-
The red LED should be switched off to get minimum current consumption during deep sleep.
A solder bridge would be helpful.
At default initialization I get the following value reading the TOUT:E (798844) tsens: Do not configure the temp sensor when it's running!
E (798844) tsens: Temperature sensor is already running or not be configured
ADC analog value = 2954
ADC millivolts value = 1407
Core temperature = 44.6 °CI expect 1/2 VBAT, also about 1900 mV.
Why I get the two messages tsens: ...This is my program:
void setup() { Serial.begin(115200); analogReadResolution(12); analogSetAttenuation(ADC_11db); } void loop() { // read the analog / millivolts value for GPIO2: int analogValue = analogRead(2); int analogVolts = analogReadMilliVolts(2); float temp = temperatureRead(); // print out the values you read: Serial.printf("ADC analog value = %d\n",analogValue); Serial.printf("ADC millivolts value = %d\n",analogVolts); Serial.printf("Core temperature = %3.1f °C\n\n", temp); delay(2000); // delay in between reads for clear read from serial }