vV1PbgZ

TMP1075 Temperature Sensor Module

 
Overview
This project introduces
the TMP1075 temperature sensor module, which uses IIC communication. The sensor address can be changed by modifying three pins: A0, A1, and A2, supporting up to 32 different IIC address programming options, making it suitable for multi-channel temperature acquisition.
The design specifies that
all available pins are brought out. A 4.7K pull-up resistor is connected to the SCL and SDA pins of the IIC pins to provide a high level in open-drain output mode.
Design considerations:
The temperature sensor is sensitive to ambient temperature and should not be placed near LDOs, heating elements, or other devices that generate significant heat. It should be placed as close to the board edge or in an area free from large obstructions.
Code explanation:
Reading and writing to the TMP1075 is relatively simple. Configure the IIC timing and perform read and write operations on the registers.
Note that only the last two bits of the address register are valid; typically, operating on the first temperature register is sufficient to read the temperature data.
The read/write process is as follows:

IIC start timing;
send TMP1075 address|0 to write data;
send temperature register address (0x00) data;
stop IIC timing;
IIC start timing;
send TMP1075|1 to read data;
read the high eight bits of temperature data;
read the low eight bits of temperature data;
stop IIC timing;
convert temperature data;

The source code
for the GD32E230 minimum system board driver is available in the attached file. It can be used with other microcontrollers.
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 14:31:56

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号