Youtube Video | mLink | TMP36 Temperature Sensor

Our latest video covers the mLink TMP36 Sensor Module. The mLink TMP36 module is a tiny serial (I2C/IIC) device that includes a precision TMP36 temperature sensor. This alows the module to measure temperatures over a wide range of -40 to 125oC. The module continuously takes measurement from the TMP36 sensor and provides the result as a temperature in degrees centigrade via its serial I2C interface. It is compatible with other mLink or standard I2C modules allowing you to daisy-chain several different types of modules together using only the two I2C pins of your microcontroller. Its default I2C address can be changed via software so that multiple TMP36 modules can be connected to one microcontroller.

All relevant links from the video can be found below.

Hobby Components Support Forum:

mLink Range on Hobby Components:

mLink TMP36 Temperature Sensor Module at Hobby Components: TBA

Uno Plus:

Male to Female Dupont Cable:

mLink Temperature Sensor Module on the Support Forum:

mLink Library:

Raspberry Pi Users

PIP command: pip install hc-mlink

Support Forum page for Pi users:

Arduino Sketch

/* FILE:    TMP36_Read.ino
   DATE:    01/12/23
   VERSION: 1.0
   AUTHOR:  Andrew Davies

This sketch uses the mLink library to read the temperature (in oC) 
from the mLink TMP36 Temperature sensor module (SKU: HCMODU0187).

Please see Licence.txt in the library folder for terms of use.

#include "mLink.h"                          // Include the library

mLink mLink;                                // Create an instance of the library

#define I2C_ADD 0x58                        // Default I2C address

void setup() 
  mLink.init();                             // Initialise the library

void loop() 
  float temp = mLink.TMP36_Temp(I2C_ADD);     // Get the temperature in oC
  Serial.print("Temperature: "); Serial.println(temp);
  delay(1000);                              // Wait a second before reading again

Leave a Reply

Your email address will not be published. Required fields are marked *