THERMO 2 click
THERMO 2 click

Description of product

THERMO 2 click carries DS1825, a programmable resolution digital thermometer IC with a unique 64-bit address. The click is designed to run on a 3.3V power supply. The board communicates with the target microcontroller through a 1-wire interface. Using the onboard jumper you can select between two outputs: GP1 (default mikroBUS™ AN pin), and GPO (default PWM pin).

Temperature range

The sensor aboard THERMO 2 click measures temperature within a range from –10°C to 85°C with ±0.5°C accuracy.

DS1825 digital thermometer

You can specify the resolution of the measurements, from 9 to 12-bit, depending on the application. Because each DS1825 has a unique 64-bit serial code, many of them can function on the same 1-wire bus.

The 4-bit location address lets you set up a unique ID for up to 16 sensors that operate on a single 1-Wire bus.

Onboard jumpers

The board features a set of four onboard jumpers (zero ohm resistors) for specifying a unique address for the sensor.

A separate jumper lets you select the sensor’s output between GP1 and GP0 pins.

THERMO 2 click also features four Address Select jumpers for setting a unique ID for the sensor (allowing for up to 16 sensors to operate on a single 1-Wire bus).

Key features

  • DS1825 digital thermometer
    • ±0.5°C accuracy from -10°C to +85°C  
    • Thermometer Resolution is User-Selectable from 9 to 12 Bits
    • Alarm function (user-programmable)
  • Interface: AN, PWM
  • 3.3V power supply


ApplicationsHVAC systems, weather stations… especially suitable for connecting multiple sensors to a single MCU
On-board modulesDS1825 digital thermometer IC
Key Features1-Wire interface. Sensitivity: -10°C to 85°C with ±0.5°C accuracy. User selectable 9 to 12-bit measurement resolution
Key BenefitsFour onboard jumpers for specifying sensor ID
Input Voltage3.3V
Click board sizeS (28.6 x 25.4 mm)


Pinout diagram

This table shows how the pinout on THERMO click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.png
Data Input/Output pin       GPIO1  1ANPWM16 GPIO0  Data Input/Output pin  
Not connectedNC2RSTINT15NCNot connected
Not connectedNC3CSTX14NCNot connected
Not connectedNC4SCKRX13NCNot connected
Not connectedNC5MISOSCL12NCNot connected
Not connectedNC6MOSISDA11NCNot connected
Power supply+3.3V73.3V5V10NCNot connected


Code examples for THERMO 2 click, written for MikroElektronika hardware and compilers are available on Libstock.

This code snippet initializes the display and the digital thermometer, and starts the conversion in an enless loop, reads the scratch pad and displays the temperature.

01 void main() {
02   Display_Init();
03   DS1825_Init(12);
04   delay_ms(100);
05   while(1) {
06     DS1825_StartConversion();
07     DS1825_ReadScratchPad();
08     Display_Temperature();
09     delay_ms(500);
10   }
11 }