{:en}In this project, we will use TMP36/LM35/2N3904 sensor to test environment temperature.
| Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | Buy from JP |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Step 1 – connect Temperature sensor with Arduino.

Connect sensor VCC pin to Arduino 5V port, GND pin to Arduino GND port and VOUT pin to Arduino A5 port.
see following graph:

Step 2 – Download tempsensor.ino sketch and load it into Arduino.
open the serial monitor window in Arduino IDE upright corner, you will see temperatures as following pictures:

TMP36- 5 Sensor- TEST
TMP36 Datesheet downlink :
www.kookye.com/download/tmp36/tmp36_temperature_sensor_datasheet.pdf
If you want use 5pcs tmp36 sensor to test surrounding enviroment temperature, you could follow these steps.
Materials & Tools :
Arduino Uno Board (usb cable)x1
TMP36 temperature sensor x5
Breadboard x1
jumper wires some
Circuit Connection:

Step1: Download the tmp36_5TEST.zip and upzip it. Open arduino IDE and open the tmp36_5TEST.ino file

Step2: Choose the correct board and port as pictures.


Step3: Click the arduino series monitor icon(top right corner icon),you will find the result.

{:}{:ja}
TMP36/2N3904温度センサーを使って、環境温度測定のプロジェクトです。
Step 1 – ブレッドボード+ジャンパワイヤを使って、温度センサーとArduino R3 互換ボードを接続してくださいませ。
温度センサーのVCC pin と Arduino ボードの5V ポートを接続し、温度センサーのGND pinとArduino ボードの GND ポートを接続し、 最後に温度センサーのVOUT pinとArduino A5ポートを接続してくださいませ。
回線図をご覧ください~(画像をクリックして拡大イメージを表示)

Step 2 – tempsensor.inoというファイルをダウンロードして、Arduinoにロードしてくださいませ。
Arduino IDEでserial monitorを開いて、環境の温度を見えると思います。 詳しくは下記の写真をご覧ください~(画像をクリックして拡大イメージを表示)
{:}{:zh}TMP36-5Sensor-TEST
1、测试用到的物料:
(1)、面包板1个
(2)、TPM36传感器5个
(3)、面包板跳线若干
(4)、Arduino UNO主板一个
(5)、B类USB线一条
2、硬件连接:
红线-UNO-5V,黑线-UNO-GND,黄线-UNO-A0~A4
www.kookye.com/picture/tmp36/tmp36-1.png
3、软件测试:
使用Arduino IDE软件打开“TMP36_5TEST”测试代码
通过USB线将UNO主板与电脑连接、在IDE中选择相应的设置与COM端口
查看结果{:}
About the Author