DS18B20 / DS1822 Καλώδιο ανίχνευσης θερμοκρασίας

Ο DS18B20/ DS1822 είναι ένας ευρέως χρησιμοποιούμενος ψηφιακός αισθητήρας θερμοκρασίας. Η έξοδος του είναι ψηφιακό σήμα, που έχει τα χαρακτηριστικά του μικρού μεγέθους, χαμηλό κόστος υλικού, ισχυρή ικανότητα κατά των παρεμβολών και υψηλή ακρίβεια. The DS18B20 digital temperature sensor is easy to wire and can be used in a variety of situations after being packaged, όπως τύπου σωλήνα, τύπος με σπείρωμα, τύπος προσρόφησης μαγνήτη, and stainless steel packaging type. Υπάρχουν διάφορα μοντέλα, συμπεριλαμβανομένου του LTM8877, LTM8874 και ούτω καθεξής. As a digital temperature sensor, the DS18B20 does not require any external components when measuring temperature. It can directly output the measured temperature value of 9~12 bits (including sign bit). The temperature measurement range is -55~+125℃. The measurement accuracy is ±0.5℃ in the range of -10~+85℃, and the output measurement resolution is adjustable, up to 0.0625℃. Supporting "single-wire bus" τεχνολογία, only one general-purpose I/O port is required to complete communication with the microcontroller. The on-site temperature is directly transmitted digitally via a "single-wire bus", which greatly improves the system's anti-interference capability.

DS18B20, DS1822 "One-line bus" digital temperature sensor Same as DS1820. DS18B20 also supports "λεωφορείο μιας γραμμής" διασυνδέομαι, and the measurement temperature range is -55°C~+125°C, and the accuracy is ±0.5°C in the range of -10~+85°C. The accuracy of the DS1822 is ±2°C. The on-site temperature is directly transmitted digitally via the "λεωφορείο μιας γραμμής", which greatly improves the system's anti-interference capability. Suitable for on-site temperature measurement in harsh environments, such as environmental control, equipment or process control, temperature measurement consumer electronics, και τα λοιπά. The new product supports a voltage range of 3V~5.5V, making system design more flexible and convenient. And the new generation of products is cheaper and smaller. Features of DS18B20 and DS1822 DS18B20 can be programmed with a resolution of 9~12 bits and an accuracy of ±0.5°C. Optional smaller package, wider voltage range. The resolution setting and the user-set alarm temperature are stored in EEPROM and are still saved after power off. The performance of DS18B20 is the best among the new generation products! The price-performance ratio is also excellent! The DS1822 is software compatible with the DS18B20 and is a simplified version of the DS18B20. The EEPROM that stores user-defined alarm temperature and resolution parameters is omitted, and the accuracy is reduced to ±2°C. It is suitable for applications with low performance requirements and strict cost control. It is an economical product. Following the early products of the "One Line Bus", the DS1820 opens up a new concept in temperature sensor technology. DS18B20 and DS1822 provide more choices in voltage, characteristics and packaging, allowing us to build an economical temperature measurement system that suits us.

Internal structure of ds18b20 temperature probe
The internal structure of DS18B20 mainly consists of four parts:
64-bit φωτολιθογραφία ROM, αισθητήρας θερμοκρασίας, non-volatile temperature alarm trigger TH and TL, configuration register.
The pin arrangement of DS18B20 is as follows
Το DQ είναι το τερματικό εισόδου/εξόδου ψηφιακού σήματος; Το GND είναι η γείωση ισχύος; VDD is the external power supply input terminal (γειωμένο στη λειτουργία παρασιτικής καλωδίωσης ισχύος).
The 64-bit serial number in the photo etched ROM is photo etched before leaving the factory. Μπορεί να θεωρηθεί ως ο σειριακός κωδικός διεύθυνσης του DS18B20. Η διάταξη της ROM φωτολιθογραφίας 64 bit είναι: το πρώτο 8 κομμάτια (28H) είναι ο αριθμός τύπου προϊόντος, the next 48 bit είναι ο σειριακός αριθμός του ίδιου του DS18B20, and the last 8 bits are the previous 56-bit cyclic redundancy check code (CRC=X8 +X5+X4+1). The purpose of the photolithography ROM is to make each DS18B20 different, ώστε να μπορούν να συνδεθούν πολλαπλά DS18B20 σε έναν δίαυλο.
Ο αισθητήρας θερμοκρασίας στο DS18B20 μπορεί να ολοκληρώσει τη μέτρηση της θερμοκρασίας. Πάρτε για παράδειγμα τη μετατροπή 12 bit: it is provided in the form of a 16-bit sign-extended two's complement reading, εκφράζεται με τη μορφή 0,0625°C/LSB, όπου S είναι το bit πρόσημου.
Αυτά είναι τα δεδομένα 12 bit που λαμβάνονται μετά από μετατροπή 12 bit, το οποίο είναι αποθηκευμένο σε δύο 8-bit RAM του 18B20. Το πρώτο 5 bits in binary are sign bits if the measured temperature is greater than 0. These 5 bits είναι 0. Απλώς πολλαπλασιάστε τη μετρούμενη τιμή επί 0.0625 για να πάρετε την πραγματική θερμοκρασία. Εάν η θερμοκρασία είναι μικρότερη από 0, αυτοί 5 bits είναι 1, και η μετρούμενη τιμή πρέπει να αντιστραφεί, συν 1, και μετά πολλαπλασιάζεται επί 0.0625 για να πάρετε την πραγματική θερμοκρασία.
Για παράδειγμα, η ψηφιακή έξοδος +125℃ είναι 07D0H, η ψηφιακή έξοδος +25,0625℃ είναι 0191H, η ψηφιακή έξοδος -25,0625℃ είναι FE6FH, και η ψηφιακή έξοδος -55℃ είναι FC90H.

External digital temperature sensor

External digital temperature sensor

DS18B20 Temperature Sensor with USB Connector

DS18B20 Temperature Sensor with USB Connector

DS18B20 Αισθητήρας θερμοκρασίας Αδιάβροχη καλωδίωση

DS18B20 Αισθητήρας θερμοκρασίας Αδιάβροχη καλωδίωση

DS18B20 temperature sensor memory
The internal memory of the DS18B20 temperature sensor includes a high-speed scratchpad RAM and a non-volatile electrically erasable E2RAM, which stores high-temperature and low-temperature triggers TH, TL και δομικά μητρώα.
The temporary storage memory contains 8 consecutive bytes, the first two bytes are the measured temperature information. The content of the first byte is the lower eight bits of the temperature. The second byte is the high eight bits of the temperature. The third and fourth bytes are volatile copies of TH and TL, and the fifth byte is a volatile copy of the architectural register. The contents of these three bytes are refreshed at each power-on reset. The sixth, seventh, and eighth bytes are used for internal calculations. Το ένατο byte είναι το byte ελέγχου πλεονασμού.
The meaning of each bit of this byte is as follows:
TM R1 R0 1 1 1 1 1
Τα κάτω πέντε bit είναι πάντα 1. TM is the test mode bit, που χρησιμοποιείται για να ρυθμίσετε εάν το DS18B20 βρίσκεται σε λειτουργία λειτουργίας ή δοκιμαστική λειτουργία. Αυτό το bit έχει οριστεί σε 0 όταν το DS18B20 φεύγει από το εργοστάσιο, και οι χρήστες δεν πρέπει να το αλλάξουν. Τα R1 και R0 χρησιμοποιούνται για τον καθορισμό της ανάλυσης, όπως φαίνεται στον παρακάτω πίνακα: (Το DS18B20 έχει ρυθμιστεί σε 12 bits κατά την αποστολή από το εργοστάσιο)
Resolution setting table:
R1 R0 Resolution Temperature Maximum Conversion Time
0 0 9 bits 93.75ms
0 1 10 bits 187.5ms
1 0 11 bits 375ms
1 1 12 bits 750ms
Σύμφωνα με το πρωτόκολλο επικοινωνίας του DS18B20, the host must go through three steps to control DS18B20 to complete the temperature conversion: Το DS18B20 πρέπει να μηδενίζεται πριν από κάθε ανάγνωση και εγγραφή, and a ROM command is sent after the reset is successful. Τελικά, the RAM command is sent so that the DS18B20 can be operated as scheduled. Η επαναφορά απαιτεί από την κύρια CPU να τραβήξει τη γραμμή δεδομένων προς τα κάτω 500 μικροδευτερόλεπτα και μετά αφήστε το. After receiving the signal, DS18B20 waits for about 16 να 60 μικροδευτερόλεπτα, και μετά εκπέμπει χαμηλό παλμό 60 να 240 μικροδευτερόλεπτα. Η κύρια CPU λαμβάνει αυτό το σήμα για να υποδείξει την επιτυχή επαναφορά.

Επικοινωνήστε μαζί μας

Αναμονή για το email σας, θα σας απαντήσουμε εντός 12 ώρες με πολύτιμες πληροφορίες που χρειαζόσουν.

ΣΧΕΤΙΚΑ ΠΡΟΪΟΝΤΑ

Ζητήστε μια προσφορά

Συμπληρώστε τη φόρμα αιτήματος προσφοράς και θα απαντήσουμε στο μήνυμά σας το συντομότερο δυνατό!