Digital (1-wire communication bus) temperature sensor.
Also called: 18B20 one-wire, KY001.
Found in kits: 20 sensors, 37 sensors, 45 sensors.
Voltage: 3.0V to 5.0V
Temperature range: -55 to 125°C (±.5C) -67 to 257°F
The DS18B20 is in a TO-92 package.
Size: 20mm X 15mm
There are a number of different sources for these modules. Not every module that looks similar to the ones here behaves exactly the same. Check the specific module that you have for differences in function, voltage levels, pinout, and inactive/active states. Some modules have been found to have incorrectly labeled pins and even poorly soldered components.
Uses Dallas/Maxim One-Wire communication. The communication bus wire has a 4.7kohm resistor pulled high. 9-12 bits of temperature resolution. The DS18B20 has a unique serial number. One Wire devices can be chained.
Typical/common pinout. Always check the pinout for the module that you have.
Test setup with CGMICROKIT1
To demonstrate how this works, a test setup that uses the CircuitGizmos CGMICROKIT1 (credit to Robert Severson) will be used. The CGMICROKIT1 has a microcontroller that connects to a PC via a USB/serial interface and runs an easy-to-understand yet powerful interpreted BASIC language (credit to Geoff Graham).
But this isn’t your 1980’s BASIC. This is a fantastic implementation of BASIC. No line numbers, made for easy understanding, and advanced microcontroller features.
This setup combines a CGMICROKIT1 with a single solderless breadboard, a USB/serial interface to the PC, and a suitable power supply for a convenient test bed for proving out small circuitry and experimenting with these 37+ sensors.
On the PC a program called MMEDIT (credit to Jim Hiley) helps to make development easier by providing a platform for editing and downloading the code used for these examples. This development environment is simple, powerful, and flexible. Alternate interfaces on the PC are any serial terminal application, including GFXterm. GFXterm (credit to Robert Rozee)
For more information about this test setup please see the information about the setup here: http://circuitgizmos.com/documentation/hardware-datasheets/cgmicrokit1-technical-information/cgmicrokit1-test-setup/
The hardware for the test setup is mounted on a small wooden base. The tested devices are added to this test setup with jumper wires.
If you have any additional information on this sensor/device or have comments, please leave a reply below.
Image already added