
Reading a Temperature Sensor — SIK Circuit 7
ལམ་སྟོན
Parts & Introduction
Parts & Introduction
The TMP36 is an analog temperature sensor that outputs a voltage proportional to temperature. You'll learn to use the Serial Monitor to display real-time readings — an essential debugging tool.
Parts Needed
- 1x Arduino Uno + USB cable
- 1x Breadboard
- 1x TMP36 Temperature Sensor
- 5x Jumper Wires
Warning: The TMP36 looks similar to the transistor. Look for "TMP" in tiny letters and a triangle logo. The transistor has "222" printed on it. Inserting the wrong component can damage it!
གོམ་པ་འདིའི་རྫས་རིགས:
SparkFun Inventors Kit - V3.21 kit
Arduino Uno R31 piece
Breadboard1 piece
TMP36 Temperature Sensor1 piece
Jumper Wires3 piecesལག་ཆས་དགོས་མཁོ:
Hardware Hookup
Hardware Hookup
Wiring Instructions
With the TMP36 flat side facing you and pins pointing down, the pins are (left to right): 5V, Signal, GND.
- Connect the left pin to 5V.
- Connect the middle pin (signal) to Analog Pin A0.
- Connect the right pin to GND.
That's it — just 3 wires! The TMP36 can only be connected in one direction. Double-check before powering on.
གོམ་པ་འདིའི་རྫས་རིགས:
TMP36 Temperature Sensor1 piece
Breadboard1 piece
Jumper Wires3 piecesArduino Code
Arduino Code
Open the Arduino IDE and upload the following sketch to your Arduino board.
གོམ་པ་འདིའི་རྫས་རིགས:
Arduino Uno R31 pieceལག་ཆས་དགོས་མཁོ:
Test & Experiment
Test & Experiment
What You Should See
Open the Serial Monitor (magnifying glass icon in Arduino IDE, or Ctrl+Shift+M). You'll see lines updating once per second:
voltage: 0.73 deg C: 23.24 deg F: 73.84
Troubleshooting
- Nothing happens: Open the Serial Monitor! The output goes there, not to the LEDs.
- Gibberish text: Set the Serial Monitor baud rate dropdown to 9600.
- Temperature unchanged: Pinch the sensor with your fingers to warm it up, or apply ice to cool it down.
Experiments to Try
- Add an LED that turns on above a temperature threshold (like a heat warning).
- Log data over time to see temperature trends.
- Combine with the LCD (Circuit 15) to display temperature without a computer.
རྫས་རིགས
5- $105.00
- 1 pieceས་ཆ་འཛིན
- 1 pieceས་ཆ་འཛིན
- 1 pieceས་ཆ་འཛིན
You can swap these in
Can't get one of the materials? Swap it for an equivalent — these work just as well.
- Instead of Arduino Uno R3, try:
Prototyping Shield for Arduino Uno (3-Pack)
Arduino Uno R3 Board
Arduino Uno - Instead of Temperature Sensor, try:
DHT11 Temperature & Humidity Sensor (5-Pack)
Load Sensor - 50kg
Light Sensor
PIR Motion Sensor
Humidity sensor - HH10D
Auto Bed Leveling Sensor (BLTouch Compatible)
Flexiforce Pressure Sensor - 0 < 11 kg (57mm)
Flexiforce Pressure Sensor - 450gr/11kg/45kg
Liquid Level Sensor
Recommended for this build
Products makers often use with builds like this one.
Diode KitUsed together and in similar builds
BC547 NPN Transistor (50-Pack)Used together and in similar builds
Resistor 330 Ohm 1/6 Watt PTH - 20 packUsed together and in similar builds
Servo MotorUsed together and in similar builds
5mm LED Assortment Kit (300pcs, 5 Colors)Used together and in similar builds
DC MotorUsed in similar builds
Relay ModuleUsed in similar builds
Resistor 10K Ohm 1/6th Watt PTH - 20 packUsed together and in similar buildsRelated blueprints
Other builds that share materials, tools, or techniques with this one.






CC0 སྤྱི་དབང
བིལུ་པིརིན་ཊི་འདི་CC0 འོག་བཀྲམས་ཡོད། ཁྱེད་རང་གིས་ཆོག་མཆན་མ་བཞེས་པར་ཕབ་ལེན་དང་བཟོ་བཅོས། བགོ་བཤའ། དགོས་མཁོ་གང་ལའང་བཀོལ་སྤྱོད་བྱས་ཆོག
བཟོ་མཁན་ལ་རྒྱབ་སྐྱོར་བྱེད་པའི་ཆེད་ཁོང་ཚོའི་བིལུ་པིརིན་ཊི་བརྒྱུད་ཐོན་སྐྱེད་ཉོ། བཟོ་མཁན་གྱིས བཟོ་མཁན་གྱི་ཁེ་ཕོགས ཚོང་པས་གཏན་འཁེལ་བྱས་པ། ཡང་ན་བིལུ་པིརིན་ཊི་འདིའི་པར་གསར་བཟོས་ཏེ་ཁྱེད་རང་གི་བིལུ་པིརིན་ཊི་ནང་མཐུད་སྦྲེལ་བྱས་ཏེ་ཡོང་སྒོ་བགོ་བཤའ་བྱེད།