typical accuracies of ±1°C at +25°C and ±2°C over the
−
40°C to +125°C
temperature range. The output voltage can easily convert to temperature
using the scale factor of 10 mV/°C.
If you are looking at the flat face with text on it, the center pin is your signal
pin; the left-hand pin is supply voltage (5V in this tutorial), and the right-
hand pin connects to ground.
Pro Tip:
The TMP36 looks a lot like a transistor. Put a dot of fingernail
polish on the top of your TMP36 so it’s easy to find.
Hardware Hookup
Ready to start hooking everything up? Check out the wiring diagram below
to see how everything is connected.
Polarized
Components
Pay special attention to the component’s markings
indicating how to place it on the breadboard.
Polarized components can only be connected to a
circuit in one direction.
Please note: The temperature sensor can only be connected to a
circuit in one direction. See below for the pin outs of the temperature
sensor – TMP36.
Wiring Diagram for the Experiment
Having a hard time seeing the circuit? Click on the wiring diagram for a
closer look.
Open the Sketch
Open the Arduino IDE software on your computer. Coding in the Arduino
language will control your circuit. Open the code for Circuit 7 by accessing
the “Tinker Kit Guide Code” you downloaded and placed into your
“Examples” folder earlier.
To open the code go to:
File > Examples > Tinker Kit Guide Code >
Circuit_07
You can also copy and paste the following code into the Arduino IDE. Hit
upload, and see what happens!
Page 40 of 63