Archive for the ‘Temperature sensors’ Category

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 […]

Sensirion

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 […]

MicroHTR (Part 5)

Part 1, 2, 3, 4, 5, 6, 7, 8 Few more lines of code are required to build a fully operational PID. In the case of a PWM control, we need to get an output value ranging from 0 to 100% (Duty cycle). But other applications may require different ranges. That is the reason why […]

MicroHTR (Part 4)

Part 1, 2, 3, 4, 5, 6, 7, 8 In the PI mode, the P term cares about the real time changes while the I term cares about the history of changes. Athough the PI mode is very effective in most situations, it fails to cover waht we could call the prediction of changes. No […]