Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed May 15, 2020
2 parents 4f47733 + bbad724 commit f8c8bb3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ This is very simple library to connect DS18B20 temperature sensor devices from A
Getting started
---------------

By default, if you using only one DS18B20 device, you don't need any external pull-up resisters.
By default, if you use only one DS18B20 device, you don't need external pull-up resistor.
Just connect directly:

+3.3V -> RED
BUS -> YELLOW
GND -> BLACK
* +3.3V -> RED
* BUS -> YELLOW
* GND -> BLACK

Where BUS is any digital ping (like 9, for example).
And use example from examples/AnyDevice.
Expand All @@ -21,9 +21,9 @@ Multiple devices

When you need to work with multiple devices on the same bus, you need external pull-up resistor of 1.7~2.2kOm.

+3.3V -> RED1 + RED2 + ...
BUS -> YELLOW1 + YELLOW2 + ...
GND -> BLACK1 + BLACK2 + ...
* +3.3V -> RED1 + RED2 + ...
* BUS -> YELLOW1 + YELLOW2 + ...
* GND -> BLACK1 + BLACK2 + ...

And connect BUS and +3.3V lines with pull-up resistor.

Expand All @@ -32,8 +32,8 @@ Parasite power

DS18B20 are able to share bus wire for powering itself, so only two wires required. And you will need external pullup resistor too.

BUS -> YELLOW
GND -> RED + BLACK
* BUS -> YELLOW
* GND -> RED + BLACK

And connect BUS and +3.3V lines with pull-up resistor.

0 comments on commit f8c8bb3

Please # to comment.