TMP36

TMP36 is an electronic component that can measure temperature.

The circuit for using this component is as follows.

If you have assemble the circuit as above, export Sketch by running the sample Unity Scene to find ArdunityApp.

(See how to export sketch from ArdunityApp)

The generated Sketch can be uploaded to the board by using Arduino IDE.

(See how to upload sketch)

If the circuit used in Unity Scene is the same circuit, you do not need to repeat the same Export Sketch & Upload.

How to convert the value of AnalogInput into temperature.

Step1. Find characteristic curve in datasheet of TMP36

Step2. Make table for AnalogInput and Temperature

Step3. Represent the curve in MappingInput

Thru the following videos, refer each sample Scene how it works.