ArduinoStudio

Thermometer

Measures ambient temperature using analog, digital, or I2C temperature sensors.

Overview

Temperature sensors are among the most common components in Arduino projects. ArduinoStudio supports several popular sensors, from simple analog (LM35, TMP36) to precision digital (DS18B20) and I2C (MCP9808). All emit sensor-data events with temperature readings in both Celsius and Fahrenheit.

Supported Sensors

SensorInterfaceRangeAccuracy
LM35Analog-55 to +150 C+-0.5 C
TMP36Analog-40 to +125 C+-1 C
DS18B201-Wire (digital)-55 to +125 C+-0.5 C
MCP9808I2C-40 to +125 C+-0.25 C

Wiring Guide

LM35 / TMP36 (Analog)

Sensor PinArduino Pin
VCC5V
GNDGND
VoutAnalog pin (A0–A5)

LM35 outputs 10mV per degree Celsius. TMP36 outputs 10mV/C with a 500mV offset (0C = 500mV).

DS18B20 (1-Wire Digital)

Sensor PinArduino Pin
VCC (red)5V
GND (black)GND
Data (yellow)Any digital pin + 4.7k pullup to 5V

MCP9808 (I2C)

Sensor PinArduino Pin
VCC3.3V
GNDGND
SDAA4 (Uno) / 20 (Mega)
SCLA5 (Uno) / 21 (Mega)

Usage in ArduinoStudio

Drag the Thermometer component onto the canvas, select your sensor model, and assign the appropriate pins. Temperature readings update continuously and can trigger actions — for example, turn on a fan when temperature exceeds 30C or sound a buzzer as a high-temperature alert.

← Back to Components