Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use TMP36: Examples, Pinouts, and Specs

Image of TMP36
Cirkit Designer LogoDesign with TMP36 in Cirkit Designer

Introduction

The TMP36 is a low-voltage, precision temperature sensor that provides an analog output voltage proportional to the temperature in Celsius. It is designed to operate from a single power supply, making it ideal for battery-powered applications. The TMP36 is known for its accuracy, low power consumption, and ease of use. It does not require any external calibration or trimming, simplifying its integration into various projects.

Explore Projects Built with TMP36

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
Image of Pulsefex: A project utilizing TMP36 in a practical application
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino and ESP32-CAM Based Temperature Monitoring and Timekeeping System
Image of NPD MVP: A project utilizing TMP36 in a practical application
This is a multi-functional embedded system featuring temperature monitoring, timekeeping, visual display, potential Wi-Fi/camera capabilities, magnetic field detection, and power management with emergency stop functionality. It is designed around an Arduino UNO and an ESP32-CAM, with a buck converter for power regulation from a LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
Image of Copy of CanSet v1: A project utilizing TMP36 in a practical application
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Raspberry Pi Pico GPS and Sensor Data Logger
Image of CanSet v1: A project utilizing TMP36 in a practical application
This circuit is a data logging and telemetry system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors for environmental data (BMP280 for pressure and temperature, MPU9250 for motion), a GPS module for location tracking, and an SD card for data storage, with a TP4056 module for battery charging and a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with TMP36

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Pulsefex: A project utilizing TMP36 in a practical application
Battery-Powered Health Monitoring System with Nucleo WB55RG and OLED Display
This circuit is a multi-sensor data acquisition system that uses a Nucleo WB55RG microcontroller to interface with a digital temperature sensor (TMP102), a pulse oximeter and heart-rate sensor (MAX30102), and a 0.96" OLED display via I2C. Additionally, it includes a Sim800l module for GSM communication, powered by a 3.7V LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of NPD MVP: A project utilizing TMP36 in a practical application
Arduino and ESP32-CAM Based Temperature Monitoring and Timekeeping System
This is a multi-functional embedded system featuring temperature monitoring, timekeeping, visual display, potential Wi-Fi/camera capabilities, magnetic field detection, and power management with emergency stop functionality. It is designed around an Arduino UNO and an ESP32-CAM, with a buck converter for power regulation from a LiPo battery.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Copy of CanSet v1: A project utilizing TMP36 in a practical application
Battery-Powered Raspberry Pi Pico GPS Tracker with Sensor Integration
This circuit is a data acquisition and communication system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors (BMP280, MPU9250) for environmental data, a GPS module for location tracking, an SD card for data storage, and a WLR089-CanSAT for wireless communication. The TP4056 module handles battery charging, and a toggle switch controls power distribution.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of CanSet v1: A project utilizing TMP36 in a practical application
Battery-Powered Raspberry Pi Pico GPS and Sensor Data Logger
This circuit is a data logging and telemetry system powered by a LiPoly battery and managed by a Raspberry Pi Pico. It includes sensors for environmental data (BMP280 for pressure and temperature, MPU9250 for motion), a GPS module for location tracking, and an SD card for data storage, with a TP4056 module for battery charging and a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Environmental temperature monitoring
  • HVAC systems
  • Consumer electronics
  • Industrial process control
  • IoT devices and data logging
  • Arduino and microcontroller-based projects

Technical Specifications

The TMP36 is a versatile sensor with the following key specifications:

Parameter Value
Supply Voltage (Vcc) 2.7V to 5.5V
Output Voltage Range 0.1V to 2.0V
Temperature Range -40°C to +125°C
Accuracy ±2°C (typical)
Output Scale Factor 10 mV/°C
Quiescent Current 50 µA (typical)
Package Type TO-92, SOIC-8

Pin Configuration

The TMP36 has three pins, as shown in the table below:

Pin Number Pin Name Description
1 Vcc Power supply (2.7V to 5.5V)
2 Vout Analog output voltage
3 GND Ground

Usage Instructions

How to Use the TMP36 in a Circuit

  1. Power the Sensor: Connect the Vcc pin to a power supply (2.7V to 5.5V) and the GND pin to ground.
  2. Read the Output: Connect the Vout pin to an analog input pin of a microcontroller or ADC (Analog-to-Digital Converter).
  3. Calculate the Temperature: The output voltage is proportional to the temperature in Celsius. Use the formula: [ T(°C) = \frac{V_{out} - 500 , \text{mV}}{10 , \text{mV/°C}} ] where ( V_{out} ) is the output voltage in millivolts.

Important Considerations

  • Ensure the power supply voltage is within the specified range (2.7V to 5.5V).
  • Place a 0.1 µF decoupling capacitor between Vcc and GND to reduce noise.
  • Avoid exposing the sensor to temperatures beyond its operating range (-40°C to +125°C).
  • Use proper shielding and grounding in noisy environments to ensure accurate readings.

Example: Using TMP36 with Arduino UNO

Below is an example code to read temperature data from the TMP36 using an Arduino UNO:

// TMP36 Temperature Sensor Example with Arduino UNO
// Connect TMP36: Vcc to 5V, GND to GND, Vout to A0

const int sensorPin = A0; // TMP36 output connected to analog pin A0
float voltage;            // Variable to store sensor output voltage
float temperatureC;       // Variable to store temperature in Celsius

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
}

void loop() {
  int sensorValue = analogRead(sensorPin); // Read analog value from TMP36
  voltage = sensorValue * (5.0 / 1023.0); // Convert ADC value to voltage
  temperatureC = (voltage - 0.5) * 100.0; // Convert voltage to temperature
  
  // Print temperature to Serial Monitor
  Serial.print("Temperature (C): ");
  Serial.println(temperatureC);
  
  delay(1000); // Wait 1 second before next reading
}

Notes:

  • The formula (voltage - 0.5) * 100.0 is derived from the TMP36's output characteristics.
  • Ensure the Arduino is powered properly to avoid inaccurate readings.

Troubleshooting and FAQs

Common Issues

  1. Incorrect Temperature Readings

    • Cause: Power supply voltage is unstable or noisy.
    • Solution: Add a 0.1 µF decoupling capacitor between Vcc and GND.
  2. No Output or Constant Value

    • Cause: Incorrect wiring or loose connections.
    • Solution: Verify all connections and ensure the sensor is powered correctly.
  3. Fluctuating Readings

    • Cause: Electrical noise or interference.
    • Solution: Use shielded cables and proper grounding techniques.
  4. Output Voltage Exceeds Expected Range

    • Cause: Sensor exposed to temperatures outside its operating range.
    • Solution: Ensure the sensor is used within the specified temperature range (-40°C to +125°C).

FAQs

Q1: Can the TMP36 be used with a 3.3V power supply?
A1: Yes, the TMP36 operates with supply voltages as low as 2.7V, making it compatible with 3.3V systems.

Q2: How accurate is the TMP36?
A2: The TMP36 has a typical accuracy of ±2°C. For higher accuracy, consider calibrating the sensor in your specific application.

Q3: Can the TMP36 measure negative temperatures?
A3: Yes, the TMP36 can measure temperatures below 0°C. The output voltage will be less than 500 mV for negative temperatures.

Q4: Is the TMP36 suitable for outdoor use?
A4: The TMP36 is not weatherproof. If used outdoors, it must be enclosed in a protective, thermally conductive housing.

Q5: What is the maximum cable length for the TMP36?
A5: The maximum cable length depends on the environment and noise levels. For long distances, use shielded cables and consider buffering the signal.