Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

Telit Cinterion IoT Developer Community

How to measure temperature with Java on 3G module

Showcase, April 6, 2016 - 3:02pm, 3955 views


The short example how to integrate a temperature sensor (thermistor, NTC type) with the Java 3G module.

In this case the sensor is attached to a Gemalto Concept Board via the Arduino-style header.

The current temperature is calculated based on values received by the module's built-in analog-to-digital converter (ADC).

Temperature sensor

Temperature sensor specifications:

-          Voltage: 3.3 ~ 5 V

-          *** power rating at 25℃: 300 mW

-          Zero power resistance: 10 KΩ

-          Operating temperature range: -40 ~ +125 °C

Hardware remarks:

- We used a Grove temperature sensor (model:, but it can be replaced with temperature sensors from other manufacturers.

- It is recommended to tune the value conversion table, which is placed in the The best way is to take the conversion curve from the HD description of the sensor, and place approximately 10 values (voltage à temperature) in

- The sensor is connected to the A3 port (ADC3). It can be connected to any other ADC port (A0, A1, A2, A3 - on arduino ports). In such case, the ADC also ***** to be changed in


Bartłomiej Gemalto Moderator's picture
Bartłomiej Gemalto Moderator