Lets check how hot it is with the temperature sensor!
No tools required.
The TMP36 is a polarised part. The orientation of the TMP36 matters.
If you don't hook it up correctly, it can get very very hot!
In our examples, the flat edge (the bit with the writing) is pointed away from the Arduino.
Insert the TMP36 Temperature Sensor into the breadboard so that the flat face of the sensor is facing away from the Arduino.
Connect the 5V line from the Arduino to the 5V pin of the TMP36.
Connect Analogue Pin 0 to the TMP36's Voltage Out Pin (this is the middle pin).
Connect the TMP36's ground pin to ground on the Arduino.
Copy this code and upload it to your Arduino using the Arduino IDE.
View the temperature readings by opening the Serial monitor in your Arduino IDE.
Embed this guide
Choose a size and copy the code below to embed this guide as a small widget on your site / forum.