Rainbow-electronics DS18B20 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Schalttafel Rainbow-electronics DS18B20 herunter. Rainbow Electronics DS18B20 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 20
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
1 of 20 043001
FEATURES
Unique 1-wire interface requires only one
port pin for communication
Each device has a unique 64-bit serial code
stored in an on-board ROM
Multi-drop capability simplifies distributed
temperature sensing applications
Requires no external components
Can be powered from data line. Power supply
range is 3.0V to 5.5V
Measures temperatures from –55°C to
+125°C (–67°F to +257°F)
±0.5°C accuracy from –10°C to +85°C
Thermometer resolution is user-selectable
from 9 to 12 bits
Converts temperature to 12-bit digital word in
750 ms (max.)
User-definable nonvolatile alarm settings
Alarm search command identifies and
addresses devices whose temperature is
outside of programmed limits (temperature
alarm condition)
Software compatible with the DS1822
Applications include thermostatic controls,
industrial systems, consumer products,
thermometers, or any thermally sensitive
system
PIN ASSIGNMENT
PIN DESCRIPTION
GND - Ground
DQ - Data In/Out
V
DD
- Power Supply Voltage
NC - No Connect
DESCRIPTION
The DS18B20 Digital Thermometer provides 9 to 12–bit centigrade temperature measurements and has
an alarm function with nonvolatile user-programmable upper and lower trigger points. The DS18B20
communicates over a 1-wire bus that by definition requires only one data line (and ground) for
communication with a central microprocessor. It has an operating temperature range of –55°C to +125°C
and is accurate to ±0.5°C over the range of –10°C to +85°C. In addition, the DS18B20 can derive power
directly from the data line (“parasite power”), eliminating the need for an external power supply.
Each DS18B20 has a unique 64-bit serial code, which allows multiple DS18B20s to function on the same
1–wire bus; thus, it is simple to use one microprocessor to control many DS18B20s distributed over a
large area. Applications that can benefit from this feature include HVAC environmental controls,
temperature monitoring systems inside buildings, equipment or machinery, and process monitoring and
control systems.
DS18B20
Programmable Resolution
1-Wire
®
Digital Thermomete
r
www.dalsemi.com
8-pin 150-mil SOIC
(DS18B20Z)
TO-92
(
DS18B20
)
1
(
BOTTOM VIEW
)
2 3
DALLAS
18B20
1
GND
DQ
V
DD
2 3
N
C
NC
NC
NC
GND
DQ
V
DD
N
C
6
8
7
5
3
1
2
4
DALLAS
18B20
Seitenansicht 0
1 2 3 4 5 6 ... 19 20

Inhaltsverzeichnis

Seite 1 - Digital Thermomete

1 of 20 043001 FEATURES • Unique 1-wire interface requires only one port pin for communication • Each device has a unique 64-bit serial co

Seite 2 - OVERVIEW

DS18B20 10 of 20 SKIP ROM [CCh] The master can use this command to address all devices on the bus simultaneously without sending out any ROM code in

Seite 3

DS18B20 11 of 20 is issued the master must enable a strong pullup on the 1-wire bus for at least 10 ms as described in the POWERING THE DS18B20 sect

Seite 4 - POWERING THE DS18B20

DS18B20 12 of 20 ROM COMMANDS FLOW CHART Figure 11 CCh SKIP ROM COMMAND MASTER TX RESET

Seite 5

DS18B20 13 of 20 DS18B20 FUNCTION COMMANDS FLOW CHART Figure 12 MASTER TX FUNCTION COMMAND YN 44h CONVERT TEMPERATURE ? PARASITE POWER ? N Y DS18B

Seite 6 - DS18B20 MEMORY MAP cáÖìêÉ=T

DS18B20 14 of 20 1-WIRE SIGNALING The DS18B20 uses a strict 1-wire communication protocol to insure data integrity. Several signal types are defined

Seite 7 - CRC GENERATION

DS18B20 15 of 20 The DS18B20 samples the 1-wire bus during a window that lasts from 15 µs to 60 µs after the master initiates the write time slot.

Seite 8 - XOR XOR

DS18B20 16 of 20 Therefore, the master must release the bus and then sample the bus state within 15 µs from the start of the slot. Figure 15 illustr

Seite 9 - ROM COMMANDS

DS18B20 17 of 20 DS18B20 OPERATION EXAMPLE 1 In this example there are multiple DS18B20s on the bus and they are using parasite power. The bus mast

Seite 10 - DS18B20 FUNCTION COMMANDS

DS18B20 18 of 20 ABSOLUTE MAXIMUM RATINGS* Voltage on any pin relative to ground –0.5V to +6.0V Operating temperature –55°C to +125°C Storage temp

Seite 11 - 11 of 20

DS18B20 19 of 20 AC ELECTRICAL CHARACTERISTICS: NV MEMORY (-55°C to +100°C; VDD=3.0V to 5.5V) PARAMETER SYMBOL CONDITION MIN TYP MAX UNITS NV Wri

Seite 12 - 12 of 20

DS18B20 2 of 20 DETAILED PIN DESCRIPTIONS Table 1 8-PIN SOIC* TO-92 SYMBOL DESCRIPTION 5 1 GND Ground. 4 2 DQ Data Input/Output pin. Open-drain

Seite 13 - 13 of 20

DS18B20 20 of 20 TIMING DIAGRAMS Figure 18

Seite 14 - READ/WRITE TIME SLOTS

DS18B20 3 of 20 OPERATION – MEASURING TEMPERATURE The core functionality of the DS18B20 is its direct-to-digital temperature sensor. The resolution

Seite 15 - Samples

DS18B20 4 of 20 OPERATION – ALARM SIGNALING After the DS18B20 performs a temperature conversion, the temperature value is compared to the user-defin

Seite 16 - RELATED APPLICATION NOTES

DS18B20 5 of 20 The use of parasite power is not recommended for temperatures above 100°C since the DS18B20 may not be able to sustain communication

Seite 17 - DS18B20 OPERATION EXAMPLE 2

DS18B20 6 of 20 MEMORY The DS18B20’s memory is organized as shown in Figure 7. The memory consists of an SRAM scratchpad with nonvolatile EEPROM st

Seite 18 - =3.0V to 5.5V)

DS18B20 7 of 20 CONFIGURATION REGISTER Byte 4 of the scratchpad memory contains the configuration register, which is organized as illustrated in Fig

Seite 19 - 19 of 20

DS18B20 8 of 20 check is available in Application Note 27 entitled “Understanding and Using Cyclic Redundancy Checks with Dallas Semiconductor Touch

Seite 20 - TIMING DIAGRAMS Figure 18

DS18B20 9 of 20 TRANSACTION SEQUENCE The transaction sequence for accessing the DS18B20 is as follows: Step 1. Initialization Step 2. ROM Command

Kommentare zu diesen Handbüchern

Keine Kommentare