Example: I2C Temperature sensor interface

Example: I2C Temperature sensor interface

In this example we consider how to link an 8051 microcontroller to Dallas DS1621 (I2C) temperature sensor.

Hardware

See Figure 23.4.

Software

The key software files are in Listings 23.7 to 23.9: all the files required for the project are included on the CD, in the directory associated with this chapter.

image

image

image

image

image

Leave a comment

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