Arduino Wiring

You can easily wire this breakout to any Arduino-compatible microcontroller. 

Make the following connections between the Metro and the ADT7410

  • ADT7410 Vin to 3V or 5V (depending on the logic level of your board).
  • ADT7410 GND to Metro GND.
  • ADT7410 SCL to Metro SCL
  • ADT7410 SDA to Metro SDA

Install Adafruit_ADT7410 Library

To read data from your ADT7410, you will need to install the Adafruit_ADT7410 library. It is available from the Arduino library manager so we recommend using that.

From the Arduino IDE, open the Library Manager (Sketch -> Include Library -> Manage Libraries)

Type in Adafruit ADT7410 and click Install

You'll also need to install Adafruit Unified Sensor Library:

Load Example

Open up File -> Examples -> Adafruit ADT7410 Library -> adt7410test and upload to your Arduino wired up to the sensor

Upload the sketch to your board and open up the Serial Monitor (Tools->Serial Monitor). You should see the temperature in Celsius and Fahrenheit.

Temp: 23.25*C	73.85*F
Temp: 23.19*C	73.74*F
Temp: 23.25*C	73.85*F
Temp: 23.25*C	73.85*F

Library Reference

Create the ADT7410 Sensor Object:

Adafruit_ADT7410 tempsensor = Adafruit_ADT7410();

Initialize the sensor with:


This function returns True if the ADT7410 was initialized correctly, and False if it was not.

Once initialized, you can query the temperature in °C with


Which will return floating point (decimal + fractional) temperature. You can convert to Fahrenheit by multiplying by 1.8 and adding 32 as you have learned in grade school!

This guide was first published on Feb 06, 2019. It was last updated on Feb 06, 2019.

This page (Arduino) was last updated on Oct 02, 2022.

Text editor powered by tinymce.