Archive for the ‘Temperature sensors’ Category

MicroHTR (Part 6)

Part 1, 2, 3, 4, 5, 6, 7, 8, 9 The heart of MicroHTR is a PID controller which is coded within the PlainPID library. Some refinements have been brought to this library in order to make it easier to use and as versatile as possible. It now features a pretty robust anti-windup function which prevents large overshoots while heating […]

Measuring temperatures with TMP03/04 (Part 8)

Part 1, 2, 3, 4, 5, 6, 7, 8 While I was struggling for improving a combination of a bunch of PlainXXX libraries for building a state of the art temperature controller + its human interface, I revisited the code of PlainTMP with the objective of getting rid of the the standard timing functions, and then getting rid of any […]

Measuring temperatures with TMP03/04 (Part 7)

Part 1, 2, 3, 4, 5, 6, 7, 8 Here is a pretty trivial example of use of the TMP03/04 sensors. The aim of this system is to prevent a heated zone to overheat. When the temperature rises above a certain level, the fan is turned on (a 12 V model). Conversely, when the temperature resumes to normal condition, the […]

Pending publications

Summer is over. Apparently a lazy period of time, in reality, time for retrospection, thoughts and projects making ! For me it has also been a time for getting inspiration from various European places, other ways of living, travelling, enjoying arts and culture. Whoever will identify this place will get… my highest consideration ! [Mail] […]

Measuring temperatures with TMP03/04 (Part 6)

Part 1, 2, 3, 4, 5, 6, 7, 8 This post could be nammed “Ooops of the day”… I recently added the PlainTMP0x library in an application which is running over very long period of times. In its previous version, the code would periodically send an error instead of a valid temperature. As this periodicity was very long (days), it was […]

Tips and Tricks (16)

Previous Tip and Trick Few words about the Adafruit thermocouple module. This nice little module features a couple of smart ideas: Use a fully integrated driver solution which outputs data on a SPI port (MAX31855) Any thermocouple assembly will fit on the header  (as long as it is a K type) 5V / 3.3V compliant […]

SHTx Temperature and Humidity Sensor (Part 3)

Part 1, 2, 3 PlainSHT1x contains a set of additional functions which perform advanced tasks such as checking power supply voltage: uint8_t PlainSHT1x::Battery() { uint8_t regContent = ReadRegister(); return ((regContent >> 6) & 0x01); }; … changing the resolution of measurements: void PlainSHT1x::Resolution(uint8_t state) { _resolution = state; uint8_t regContent = ReadRegister(); if (state) { regContent |= […]

SHTx Temperature and Humidity Sensor (Part 2)

  Part 1, 2, 3 The trickiest part of the sensor is its communication protocol. SENSIRION makes it clear from the beginning in the SHT1x data sheet: “The serial interface of the SHTxx is optimized for sensor readout and power consumption and is not compatible with I2C interfaces”. Data is read or written from/to the sensor thanks to 9 […]

SHTx Temperature and Humidity Sensor (Part 1)

Part 1, 2, 3 I introduced the temperature and humidity sensors from SENSRION a couple a months ago [link to this post], and I recently decided to use one of them for building a sensor which would aggregate multiple physical measurements. For the sake of saving time, I ordered the PARALAX module which is handy and has a […]


Amongst the numerous vendors exhibiting their know-how and products at the Sensors + Test Messe in Nuremberg (D), Sensirion managed to capture all my attention. They not only present very attractive products in terms of: flexibility of interfacing, calibration, size, stability and power consumption, but they present it so well. Here is the type of […]