-
Couldn't load subscription status.
- Fork 81
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The channel for the internal temperature sensor of the ATmega328P returns a random value.
For an Arduino board, the internal temperature sensor is just a gimmick. A fixed value of 350 for the raw ADC value (for 21.1 °C) is good enough.
Test sketch: theorycircuit.com/arduino-internal-temperature-sensor
Wokwi project: wokwi.com/arduino/projects/308789665572323906
Result with real Arduino Uno (at room temperature of 22 °C, offset in sketch not adjusted):
Internal Temperature Sensor
13.7
12.9
13.7
12.9
12.9
Result with Wokwi:
Internal Temperature Sensor
-43.7
-252.7
512.9
467.0
446.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working