Overview
The TMP119 High-Precision Temperature Sensor is an I2C temperature sensor that will help you easily add super-precise temperature measurement and adjustment to your project. In addition to the obvious support for reading the temperature, the TMP119 can also monitor the temperature and alert you when corrective action needs to be taken.
The TMP119 has 16-bit / 0.0078°C measurement resolution, wide operating range of -55 to 155°C, and up to ±0.03°C (typical) accuracy from 0°C to 45°C. The chip also has high and low temperature alerts and interrupt support, and hardware support required for NIST traceability (contact TI for the NIST documents) This temperature sensor is perfect for applications where you need to keep a close eye on temperature. The manufacturer, Texas Instruments, suggests it for use in sensitive applications like thermostats and cold chain asset tracking, or even gas and heat meters!
TMP119 temperature sensor has different accuracy for different ranges, here's what you can expect as the typical & maximum variation for popular temperature ranges:
- ±0.03°C (typical) from 0°C to 45°C
- ±0.08°C (maximum) from 0°C to 45°C
- ±0.09°C (maximum) from –25°C to 85°C
- ±0.12°C (maximum) from –40°C to 85°C
- ±0.15°C (maximum) from –55°C to 125°C
- ±0.2°C (maximum) from –55°C to 150°C
Compared to the TMP117, the TMP119 has better accuracy but has the same firmware interface (other than the Chip Identifier being different so you can tell which one you have)
To make using it as easy as possible, we’ve put the TMP119 on a breakout PCB in our Stemma QT form factor with a sprinkle of support circuitry to give you options when testing. You can either use a breadboard or the SparkFun qwiic compatible STEMMA QT connectors, and compatibility with 5V voltage levels as commonly found on Arduinos, as well as 3.3V logic used by many other boards like the Raspberry Pi or our Feathers. QT Cable is not included, but we have a variety in the shop for quick plug-and-play support.
To get started, all you need to do is look over the Pinouts page to familiarize yourself with the board, and then use the TMP117/TMP119 Arduino or Python & CircuitPython pages for instructions on how to wire up the TMP119 to your board, as well as libraries and example code to get you started.
Page last edited March 16, 2026
Text editor powered by tinymce.
Pinouts
The default I2C address is 0x48.
Power Pins
- VIN - this is the power pin. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V microcontroller like Arduino, use 5V. For a 3.3V microcontroller, use 3.3V.
- GND - common ground for power and logic.
I2C Logic Pins
- SCL - I2C clock pin, connect to your microcontroller I2C clock line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
- SDA - I2C data pin, connect to your microcontroller I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a 10K pullup on this pin.
- STEMMA QT - These connectors allow you to connect to dev boards with STEMMA QT connectors or to other things with various associated accessories.
Alert Pin
- INT - This is the alert pin. It can be used as an overtemperature alert or data-ready signal. The pin is an open-drain output that requires a pullup resistor.
Address Pin and Jumper
- ADDR - The address pin for setting the I2C address. You can chain up to two of these boards together on one I2C bus. Leave this pin low for default I2C address 0x48 or tie it high for I2C address 0x49.
- ADDR Jumper - On the back of the board is the address jumper, labeled ADDR. You can leave this jumper open (low) to keep the board on the default I2C address 0x48. Solder the jumper closed (high) to change the I2C address to 0x49.
Power LED and Jumper
- Power LED - In the upper left corner, above the STEMMA QT connector, on the front of the board, is the power LED, labeled on. It is a green LED.
- LED jumper - This jumper is located on the back of the board and is labeled LED on the board silk. Cut the trace on this jumper to cut power to the "on" LED.
Page last edited March 16, 2026
Text editor powered by tinymce.
CircuitPython and Python
It's easy to use the TMP119 with Python or CircuitPython, and the Adafruit_CircuitPython_TMP117 module. This module allows you to easily write Python code that allows you to read TMP117 and TMP119 temperature sensors. You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python thanks to Adafruit_Blinka, our CircuitPython-for-Python compatibility library.
The TMP119 has better accuracy and a different chip identifier from the TMP117, but is otherwise 100% compatible with the TMP117 firmware interface.
CircuitPython Microcontroller Wiring
First, wire up an TMP119 to your board exactly as shown below. Here's an example of wiring a Feather RP2040 to the TMP119 with I2C using one of the handy STEMMA QT connectors:
-
Board STEMMA 3V to breakout STEMMA VIN (red wire)
-
Board STEMMA GND to breakout STEMMA GND (black wire)
-
Board STEMMA SCL to breakout STEMMA SCL (yellow wire)
- Board STEMMA SDA to breakout STEMMA SDA (blue wire)
You can also use standard 0.100" pitch headers to wire it up on a breadboard:
-
Board 3V to breakout VIN (red wire)
-
Board GND to breakout GND (black wire)
-
Board SCL to breakout SCL (yellow wire)
- Board SDA to breakout SDA (blue wire)
Python Computer Wiring
Since there's dozens of Linux computers/boards you can use, below shows wiring for Raspberry Pi. For other platforms, please visit the guide for CircuitPython on Linux to see whether your platform is supported.
Here's the Raspberry Pi wired to the temperature sensor using I2C and a STEMMA QT connector:
-
Pi 3V to breakout STEMMA VIN (red wire)
-
Pi GND to breakout STEMMA GND (black wire)
-
Pi SCL to breakout STEMMA SCL (yellow wire)
- Pi SDA to breakout STEMMA SDA (blue wire)
Finally, here is an example of how to wire up a Raspberry Pi to the temperature sensor using a solderless breadboard:
-
Pi 3V to breakout VIN (red wire)
-
Pi GND to breakout GND (black wire)
-
Pi SCL to breakout SCL (yellow wire)
- Pi SDA to breakout SDA (blue wire)
Python Installation of TMP117 Library
You'll need to install the Adafruit_Blinka library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3. Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready!
Once that's done, from your command line run the following command:
pip3 install adafruit-circuitpython-tmp117
If your default Python is version 3, you may need to run pip instead. Make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!
CircuitPython Usage
To use with CircuitPython, you need to first install the TMP117 library and its dependencies into the lib folder on your CIRCUITPY drive. Then you need to update code.py with the example script.
Thankfully, we can do this in one go. In the example below, click the Download Project Bundle button below to download the necessary libraries and the code.py file in a zip file. Extract the contents of the zip file, and copy the entire lib folder and the code.py file to your CIRCUITPY drive.
Your CIRCUITPY/lib folder should contain the following folders and file:
- adafruit_bus_device/
- adafruit_register/
- adafruit_tmp117.mpy
Python Usage
Once you have the library pip3 installed on your computer, copy or download the following example to your computer, and run the following, replacing code.py with whatever you named the file:
python3 code.py
Example Code
If running CircuitPython: Once everything is saved to the CIRCUITPY drive, connect to the serial console to see the data printed out!
If running Python: The console output will appear wherever you are running Python.
# SPDX-FileCopyrightText: 2020 Bryan Siepert, written for Adafruit Industries
#
# SPDX-License-Identifier: Unlicense
import time
import board
import adafruit_tmp117
# First try the STEMMA_I2C on Feathers and QtPy among others
if hasattr(board, "STEMMA_I2C"):
i2c = board.STEMMA_I2C()
else:
i2c = board.I2C() # uses board.SCL and board.SDA
tmp117 = adafruit_tmp117.TMP117(i2c)
def _c_to_f(tempc):
return tempc * 9 / 5 + 32
while True:
tempc = tmp117.temperature
print(f"Temperature: {tempc:.2f} degrees C {_c_to_f(tempc):.2f} degrees F")
time.sleep(1)
In the example, the temperature sensor is instantiated on I2C. Then, in the loop, the temperature readings in Celsius are printed to the serial console every second.
Page last edited March 16, 2026
Text editor powered by tinymce.
Arduino
Using the TMP119 temperature sensor with Arduino involves wiring up the sensor to your Arduino-compatible microcontroller, installing the Adafruit_TMP117 library and running the provided example code.
The TMP119 has better accuracy and a different chip identifier from the TMP117, but is otherwise 100% compatible with the TMP117 firmware interface.
Wiring
Wire as shown for a 5V board like an Uno. If you are using a 3V board, like an Adafruit Feather, wire the board's 3V pin to the TMP119 VIN.
Here is an Adafruit Metro wired up to the TMP119 using the STEMMA QT connector:
-
Board 5V to breakout STEMMA VIN (red wire)
-
Board GND to breakout STEMMA GND (black wire)
-
Board SCL to breakout STEMMA SCL (yellow wire)
- Board SDA to breakout STEMMA SDA (blue wire)
Here is an Adafruit Metro wired up using a solderless breadboard:
-
Board 5V to breakout VIN (red wire)
-
Board GND to breakout GND (black wire)
-
Board SCL to breakout SCL (yellow wire)
- Board SDA to breakout SDA (blue wire)
Library Installation
You can install the Adafruit TMP117 library for Arduino using the Library Manager in the Arduino IDE.
Click the Manage Libraries ... menu item, search for Adafruit TMP117, and select the Adafruit TMP117 library:
If asked about dependencies, click "Install all".
If the "Dependencies" window does not come up, then you already have the dependencies installed.
/**
* @file TMP119_basic_test.ino
* @brief Basic test sketch for the TMP117/TMP119 temperature sensor
* @date 2025-02-25
*
* @copyright Copyright (c) 2025
*
*/
#include <Adafruit_Sensor.h>
#include <Adafruit_TMP117.h>
#include <Adafruit_TMP119.h>
// Adafruit_TMP117 tmp11x;
Adafruit_TMP119 tmp11x;
// To use with TMP117 instead, uncomment the TMP117 include/line above
// and comment out the TMP119 include/line
void setup(void) {
Serial.begin(115200);
while (!Serial)
delay(10); // will pause Zero, Leonardo, etc until serial console opens
Serial.println(F("Adafruit TMP117/TMP119 test!"));
// Try to initialize!
if (!tmp11x.begin()) {
Serial.println(F("Failed to find TMP117/TMP119 chip"));
while (1) {
delay(10);
}
}
Serial.println(F("TMP117/TMP119 Found!"));
}
void loop() {
// Wait for fresh data before reading
while (!tmp11x.dataReady()) {
delay(10);
}
sensors_event_t temp; // create an empty event to be filled
tmp11x.getEvent(
&temp); // fill the empty event object with the current measurements
Serial.print(F("Temperature "));
Serial.print(temp.temperature);
Serial.println(F(" degrees C"));
Serial.println();
delay(1000);
}
Upload the sketch to your board and open up the Serial Monitor (Tools -> Serial Monitor) at 115200 baud. You should see that the sketch has found your connected TMP119 sensor. Then, you'll see the temperature readings in Celsius printed to the Serial Monitor every second.
Page last edited March 16, 2026
Text editor powered by tinymce.
WipperSnapper
What is WipperSnapper
WipperSnapper is a firmware designed to turn any WiFi-capable board into an Internet-of-Things device without programming a single line of code. WipperSnapper connects to Adafruit IO, a web platform designed (by Adafruit!) to display, respond, and interact with your project's data.
Simply load the WipperSnapper firmware onto your board, add credentials, and plug it into power. Your board will automatically register itself with your Adafruit IO account.
From there, you can add components to your board such as buttons, switches, potentiometers, sensors, and more! Components are dynamically added to hardware, so you can immediately start interacting, logging, and streaming the data your projects produce without writing code.
If you've never used WipperSnapper, click below to read through the quick start guide before continuing.
First, wire up a TMP119 to your board exactly as follows. Here is an example of the TMP119 wired to an Adafruit ESP32 Feather V2 using I2C with a STEMMA QT cable (no soldering required)
-
Board 3V to breakout VIN (red wire)
-
Board GND to breakout GND (black wire)
-
Board SCL to breakout SCL (yellow wire)
- Board SDA to breakout SDA (blue wire)
Usage
Connect your board to Adafruit IO Wippersnapper and navigate to the WipperSnapper board list.
On this page, select the WipperSnapper board you're using to be brought to the board's interface page.
If you do not see your board listed here - you need to connect your board to Adafruit IO first.
On the device page, quickly check that you're running the latest version of the WipperSnapper firmware.
The device tile on the left indicates the version number of the firmware running on the connected board.
- If the firmware version is green with a checkmark - continue with this guide.
- If the firmware version is red with an exclamation mark "!" - update to the latest WipperSnapper firmware on your board before continuing.
Next, make sure the sensor is plugged into your board and click the I2C Scan button.
You should see the TMP119's default I2C address of 0x48 pop-up in the I2C scan list.
First, double-check the connection and/or wiring between the sensor and the board.
Then, reset the board and let it re-connect to Adafruit IO WipperSnapper.
With the sensor detected in an I2C scan, you're ready to add the sensor to your board.
Click the New Component button or the + button to bring up the component picker.
Adafruit IO supports a large amount of components. To quickly find your sensor, type TMP119 into the search bar, then select the TMP119 component.
On the component configuration page, the TMP119's sensor address should be listed along with the sensor's settings.
The Send Every option is specific to each sensor's measurements. This option will tell the Feather how often it should read from the TMP119 sensor and send the data to Adafruit IO. Measurements can range from every second to every 24 hours.
For this example, set the Send Every interval to every 30 seconds.
Your device interface should now show the sensor components you created. After the interval you configured elapses, WipperSnapper will automatically read values from the sensor(s) and send them to Adafruit IO.
To view the data that has been logged from the sensor, click on the graph next to the sensor name.
Here you can see the feed history and edit things about the feed such as the name, privacy, webhooks associated with the feed and more. If you want to learn more about how feeds work, check out this page.
Page last edited March 16, 2026
Text editor powered by tinymce.
Downloads
Page last edited March 16, 2026
Text editor powered by tinymce.