What it is: The TMP36 is an analog temperature sensor like the LM35, but with a 500 mV offset so it can read below 0 °C on a single supply. Output is 10 mV per °C with 500 mV at 0 °C — so 750 mV = 25 °C.
How it works: Read the output voltage and convert with tempC = (millivolts - 500) / 10. This sketch uses analogReadMilliVolts() for a calibrated reading.
Wiring (flat face toward you, pins down — left to right):
TMP36 +Vs (left) -> 3V3
TMP36 Vout (middle) -> GPIO0
TMP36 GND (right) -> GND
OLED VCC=3V3, GND=GND, SDA=GPIO4, SCL=GPIO5
Libraries: only "Adafruit SSD1306" and "Adafruit GFX Library".
On screen / Serial: temperature in °C with one decimal.
Gotchas: The TMP36 and LM35 look identical but use different formulas — don't mix them up (a TMP36 read with LM35 math shows ~50° too high). GPIO0 is a boot pin; safe to read but don't force it low during reset.