2196 views|0 replies

9702

Posts

24

Resources
The OP
 

DS18B20 STM32G474 driver [Copy link]

It's fresh out of the oven

Use the driver library in

链接已隐藏,如需查看请登录或者注册

If there is no external pull-up, use the MCU internal pull-up

The measured temperature is nearly 3 degrees Celsius higher than normal

The top of the picture below is ds18b20 and the bottom is hdc1080

The sensor is from a trusted company on Tmall. I have been cheated countless times when buying ICs from other companies before.

Only their ICs are always good, at least they are brand new.

I encountered a sensor problem this time, and I think the code problem should not be a big deal.

Interested netizens can try it. The project is generated using CubeMX, which is convenient for porting to other stm32 platforms.

Project Files:

stm32g474 ds18b20.rar (11.4 MB, downloads: 50)

This post is from Sensor
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list