50
Lesson 18 DS18B20 Temperature Sensor
Introduction
The Temperature Sensor DS18B20 is a commonly used digital temperature sensor featured
with small size, low-cost hardware, strong anti-interference capability and high precision. The
digital temperature sensor is easy to wire and can be applied a various occasions after
packaging. Different from conventional AD collection temperature sensors, it uses a 1-wire
bus and can directly outputs temperature data.
Components
-
1 * SunFounder Uno board
- 1 * USB data cable
- 1 * DS18B20 Temperature Sensor module
- 1 * LCD1602
- 1 * Potentiometer
- Several jumper wires
Experimental Principle
With a unique single-wire interface, DS18B20 requires only one pin for a two-way
communication with a microprocessor. It supports multi-point networking to measure multi-
point temperatures. Eight DS18B20s can be connected at most, because too many of them
will consume too much of the power supply and cause low voltage thus instability of signal
transmission.
Experimental Procedures
Step 1:
Build the circuit
DS18B20 Temperature Sensor SunFounder Uno
S ------------------------------------------------ D2
- ------------------------------------------------ GND
+ ------------------------------------------------ 5V
SunFounder
Summary of Contents for Sensor Kit V1.0
Page 12: ...9 S u n F o u n d e r ...