DS18B20 온도 센서 MCU에 연결되었습니다
DS18B20은 일반적으로 사용되는 디지털 온도 센서입니다.. It outputs digital signals, has the characteristics of small size, 낮은 하드웨어 오버헤드, 강력한 간섭 방지 능력, 높은 정밀도, and is widely used.
DS18B20은 일반적으로 사용되는 디지털 온도 센서입니다.. It outputs digital signals, has the characteristics of small size, 낮은 하드웨어 오버헤드, 강력한 간섭 방지 능력, 높은 정밀도, and is widely used.
DS18B20은 단일 버스 타이밍을 사용하여 호스트와 통신하는 디지털 온도 센서입니다.. 오직 1 온도 데이터 판독 값을 완료하려면 와이어가 필요합니다;
DS18B20은 쉽게 식별 할 수 있도록 64 비트 제품 일련 번호가 내장되어 있습니다.. 다중 DS18B20 센서를 연결할 수 있습니다 1 철사, 그리고 64 비트 ID 인증을 통해, 다른 센서에서 수집 한 온도 정보는 별도로 읽을 수 있습니다..
Today I will show you how to use the DS18B20 digital temperature sensor with an Arduino so you can measure the temperature of air, liquids such as water, and the ground.
To connect the DS18B20 digital temperature sensor to Arduino, you need to do the following steps:
Hardware connection:
Connect the VCC pin of DS18B20 to the 3.3V power pin of Arduino.
Connect the GND pin of DS18B20 to the ground pin of Arduino.
Connect the data pin of DS18B20 to the GPIO pin of Arduino (예를 들어, GPIO4).
Connect a 4.7kΩ pull-up resistor between the data pin and the 3.3V power pin.