Controlling the LM75 temperature sensor on the I2C bus

Lead Image © Mykhailo Ridkous, 123RF.com

Keep Your Cool

The programmable output port of the LM75 digital temperature sensor teams up with a Raspberry Pi to form a temperature monitoring system.

People speak of outdoor temperatures in terms of wind chill, heat index, and other perceived values, but Raspberry Pi fans can get hard facts about temperature with temperature sensors and a little program logic. As part of the ongoing series of articles on the I2C bus, in this article I address the LM75 temperature sensor. This digital sensor has a programmable output port that you can use to build simple systems for monitoring temperatures. This article builds on the basic knowledge presented in the first articles of the series [1] [2].

The LM75 sensor (Figure 1) used for this project is only available as an S08 (8-pin package) with short pins. The hobby-friendly DIL8 (dual-inline 8-pin) version is not available. The S08 has pins with a grid size of 1.27mm. (See the box titled "A Compact Class.") In any event, you will need a steady hand and a good soldering tip.

Figure 1: The pin assignment shows the LM75 pinout.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF

Pages: 4

Price $2.95
(incl. VAT)

Buy Raspberry Pi Geek

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content