Note: ALL OSOYOO Products for Arduino are Third Party Board which is fully compatitable with Arduino

25
In this project, we will use TMP36/2N3904 sensor to test environment temperature.

Step 1 – connect Temperature sensor with Arduin.
Connect sensor VCC pin to 5V port, GND pin to GND port and VOUT pin to A5 port.
see following graph:

Step 2Download tempsensor.ino sketch and load it into Arduin.

open the serial monitor window in Arduin IDE upright corner, you will see temperatures as following pictures:
temp-result

公式ストアは下記のリンクをクリック

Amazonですぐ購入!