TPA81 8 Pixel Thermal Array Sensor

8 Pixel Thermal Array Sensor

Advanced thermal sensor.
Prices are VAT included
€74.46 Price
€61.03 + VAT



Technical Specifications :
Voltage 5V
Current mA
Accuracy - Range 4-10?C +/-3?C
Accuracy - Range 10-100?C +/-2?C +/-2%
Field Of View (FOV) 41? x 6? (8 pixel 5? x 6?)
Outputs 1 ambient + 8 pixel temperatures
Communications I2C Protocol
Servo Control 32 steps for 180? rotation
Dimensions 31 x 18 mm

The TPA81 is a thermopile array detecting infra-red in the 2um-22um range. This is the wavelength of radiant heat. The Pyro-electric sensors that are used commonly in burglar alarms and to switch on outside lights, detect infra-red in the same waveband. These Pyro-electric sensors can only detect a change in heat levels though - hence they are movement detectors. Although useful in robotics, their applications are limited as they are unable to detect and measure the temperature of a static heat source. Another type of sensor is the thermopile array. These are used in non-contact infra-red thermometers. They have a very wide detection angle or field of view (FOV) of around 100° and need either shrouding or a lens or commonly both to get a more useful FOV of around 12°. Some have a built in lens. More recently sensors with an array of thermopiles, built in electronics and a silicon lens have become available. This is the type used in the TPA81. It has a array of eight thermopiles arranged in a row. The TPA81 can measure the temperature of 8 adjacent points simultaneously. The TPA81 can also control a servo to pan the module and build up a thermal image. The TPA81 can detect a candle flame at a range 2 metres (6ft) and is unaffected by ambient light!

Spectral Response
The response of the TPA81 is typically 2µm to 22µm and is shown below:

Field of View (FOV)
The typical field of view of the TPA81 is 41° by 6° making each of the eight pixels 5.12° by 6°. The array of eight pixels is orientated along the length of the PCB - that's from top to bottom in the diagram below. Pixel number one is nearest the tab on the sensor - or at the bottom in the diagram below.

Here's some numbers from one of our test modules:
For a candle, the numbers for each of the eight pixels at a range of 1 meter in a cool room at 12°C are:
11 10 11 12 12 29 15 13 (All °C)
You can see the candle showing up as the 29°C reading. At a range of 2 meters this reduces to 20°C - still around 8°C above ambient and easily
detectable. At 0.6 meter (2ft) its around 64°C. At 0.3 meter (1ft) its 100°C+.

In a warmer room at 18°C, the candle measures 27°C at 2 meters. This is because the candle only occupies a small part of the sensors field of view and the candles point heat source is
added to the back ground ambient - not swamped by it. A human at 2 meters will show up as around 29°C with a background 20°C ambient.

All communication with the TPA81 is via the I2C bus. If you are unfamiliar with the I2C bus, there is a tutorial which will help. The TPA81 uses our standard I2C 5 pin connection layout. The "Do Not Connect" pin should be left unconnected. It is actually the CPU MCLR line and is used once only in our workshop to program the PIC16F88 on-board after assembly, and has an internal pull-up resistor. The SCL and SDA lines should each have a pull-up resistor to +5v somewhere on the I2C bus. You only need one pair of resistors, not a pair for every module. They are normally located with the bus master rather than the slaves. The TPA81 is always a slave - never a bus master. If you need them, I recommend 1.8k resistors. Some modules such as the OOPic already have pull-up resistors and you do not need to add any more. A servo port will connect directly to a standard RC servo and is powered from the modules 5v supply. We use an HS311. Commands can be sent to the TPA81 to position the servo, the servo pulses are generated by the TPA81 module. 

 The TPA81 appears as a set of 10 registers.

Register Read Write


Software Revision

Command Register


Ambient Temperature °C

Used for Calibration - do not write 

2 Pixel 1 Temperature °C Used for Calibration - do not write 
3 Pixel 2 Used for Calibration - do not write 
4 Pixel 3 N/A
5 Pixel 4 N/A
6 Pixel 5 N/A
7 Pixel 6 N/A
8 Pixel 7 N/A


Pixel 8


Only registers 0, 1, 2 and 3 can be written to. Register 0 is the command register and is used to set the servo position and also when changing the TPA81's I2C address. It cannot be read. Reading from register 0 returns the TPA81 software revision. Registers 1, 2 and 3, are used for calibration of the sensor. Do not write to these registers or the sensors calibration data may erased. (There is protection against this, in that a specific 3 byte command sequence similar to the I2C address change sequence, has to provided to enable calibration mode). Calibration requires the use of two temperature controlled black body heat sources, unless you have these, you will not be able to calibrate the module. All modules are calibrated in our workshop as part of the testing process. 

There are 9 temperature readings available, all in degrees centigrade (°C). Register 1 is the ambient temperature as measured within the sensor. Registers 2-9 are the 8 pixel temperatures. Temperature acquisition is continuously performed and the readings will be correct approx 40mS after the sensor points to a new position.

Servo Position
Commands 0 to 31 set the servo position. There are 32 steps (0-31) which typically represent 180° rotation on a Hitec HS311 servo. The calculation is SERVO_POS*60+540uS. So the range of the servo pulse is 0.54mS to 2.4mS in 60uS steps. Writing any other value to the command register will stop the servo pulses. 

Command Action
Decimal Hex
0 0x00 Set servo position to minimum
nn nn Set servo position
31 0x1F Set servo position to maximum
160 0xA0 1st in sequence to change I2C address
165 0xA5 3rd in sequence to change I2C address
170 0xAA 2nd in sequence to change I2C address

Changing the I2C Bus Address

To change the I2C address of the TPA81 you must have only one module on the bus. Write the 3 sequence commands in the correct order followed by the address. Example; to change the address of a TPA81 currently at 0xD0 (the default shipped address) to 0xD2, write the following to address 0xD0; (0xA0, 0xAA, 0xA5, 0xD2 ). These commands must be sent in the correct sequence to change the I2C address, additionally, No other command may be issued in the middle of the sequence. The sequence must be sent to the command register at location 0, which means 4 separate write transactions on the I2C bus. Additionally, there MUST be a delay of at least 50mS between the writing of each byte of the address change sequence. When done, you should label the sensor with its address, if you lose track of the module addresses, the only way to find out what it is to search all the addresses one at a time and see which one responds. The TPA81 can be set to any of eight I2C addresses - 0xD0, 0xD2, 0xD4, 0xD6, 0xD8, 0xDA, 0xDC, 0xDE. The factory default shipped address is 0xD0.


Part. No. : TPA81

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

Questions on 8 Pixel Thermal Array Sensor

No questions asked yet

Register or Login to ask a question.
Register or Login to ask a question.
  1. USB-TPA64 - High Precision Infrared Array Sensor USB

    809266 USB-TPA64 - High Precision Infrared Array Sensor USB

    Sensore di temperatura basato sul sensore Panasonic AMG8833, una soluzione economica ma potente per il temperature imaging. Vfalse
    Excl. Tax:
    Incl. Tax:
  2. SparkFun IR Array Breakout - 110 Degree FOV, MLX90640 (Qwiic)

    714843 SparkFun IR Array Breakout - 110 Degree FOV, MLX90640 (Qwiic)

    Sensore termico infrarosso basato sul chip MLX90640. Con un array di 32x24 pixel, e' simile ad una piccola termocamera. Dotatfalse
    Excl. Tax:
    Incl. Tax:
  3. SparkFun IR Array Breakout - 55 Degree FOV, MLX90640 (Qwiic)

    714844 SparkFun IR Array Breakout - 55 Degree FOV, MLX90640 (Qwiic)

    Sensore termico infrarosso basato sul chip MLX90640. Con un array di 32x24 pixel, e' simile ad una piccola termocamera. Dotatfalse
    Excl. Tax:
    Incl. Tax:

Price Match

* Required Fields