EasyManua.ls Logo

ADEEPT Ultimate Sensor Kit for Raspberry Pi - Page 78

ADEEPT Ultimate Sensor Kit for Raspberry Pi
151 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S
Data
+
VCC
-
GND
The schematic diagram:
In this experiment, by programming the Raspberry Pi, we read the temperature value
collected by the DS18B20 module through pin 7 of the Raspberry Pi, and display it on the
terminal.
Experimental Procedures
Step 1: Build the circuit
GND
1
DQ
2
VCC
3
D3
D S 1 8 B 2 0
1
2
3
P1
H e a d e r
S
+
-
220Ω
R1
D1
LED
VCC
GND
10K
R3
1 K Ω
R2
D2
LED
VCC
VCC
VCC
GND
VCC
GND

Table of Contents