CATEGORIES

My Account

CATEGORIES
Your Cart

Temperature Sensor DS18B20

Temperature Sensor DS18B20
Temperature Sensor DS18B20
Your orders placed before 17:00 PM on weekdays are shipped the same day. Free shipping over 150 RON.
5,06 ron
Ex Tax: 5,06 ron
Price in reward points: 110
  • Stock: In Stock
  • Model: A0301.DS18B20
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit
Our products are shipped from our warehouse in Romania
Shipping is free for purchases of 150 RON and above.
5% discount coupon for purchases over 500 RON
10% discount coupon for purchases over 1000 RON
Same day shipping until 16:30
No minimum order price limit

DS18B20 Digital Temperature Sensor

The DS18B20 is a high-precision digital temperature sensor that provides temperature readings ranging from 9 to 12-bit (configurable) via a 1-Wire interface.

Key Features of DS18B20 Sensor

  • Temperature Range: It operates within a temperature range of -55°C to +125°C.
  • Accuracy: It offers an accuracy of ±0.5°C for temperatures between -10°C and +85°C.
  • Resolution: The resolution is configurable from 9 to 12 bits, with 12 bits being the default setting.
  • Interface: It employs a 1-Wire interface, enabling multiple sensors to share the same data line.
  • Unique 64-Bit Serial Code: Each DS18B20 sensor has a unique 64-bit serial code, which allows for the identification and connection of multiple sensors on the same 1-Wire bus.
  • Power Supply: It can be powered either by an external power supply (3.0V to 5.5V) or parasitically from the data line.
  • Alarm Functionality: It has programmable alarm triggers for setting upper and lower temperature limits.

Applications of DS18B20 Sensor

  • Temperature Measurement: It's perfect for tracking temperatures in various applications, such as HVAC systems, environmental monitoring, and food processing.
  • Industrial Automation: It's utilized for precise temperature regulation in industrial operations.
  • Consumer Electronics: It's integrated into home automation systems for climate regulation.
  • Data Logging: It's suitable for temperature data logging applications.

Example Circuit


Here's an example of how to connect a DS18B20 sensor to an Arduino:

  • VDD: Connect to 3.3V or 5V (depending on your Arduino model).
  • GND: Connect to ground.
  • DQ (Data Line): Connect to a digital pin on the Arduino (e.g., D2) with a 4.7k ohm pull-up resistor between DQ and VDD.

Arduino Sample Code


To interface with the DS18B20 sensor, install the "OneWire" and "DallasTemperature" libraries in the Arduino IDE. Here's a sample code:


#include 
#include // Data wire is connected to Arduino pin 2
#define ONE_WIRE_BUS 2// Setup a oneWire instance to communicate with any OneWire devices
OneWire oneWire(ONE_WIRE_BUS);// Pass our oneWire reference to Dallas Temperature.
DallasTemperature sensors(&oneWire);void setup() {
  Serial.begin(9600);
  sensors.begin();
}void loop() {
  sensors.requestTemperatures(); // Send the command to get temperatures  // Print the temperature in Celsius
  Serial.print("Temperature: ");
  Serial.print(sensors.getTempCByIndex(0)); // We only have one sensor, so we use index 0
  Serial.println(" °C");  delay(1000); // Wait for a second before taking another reading
}
    

Explanation

  • Libraries: The OneWire and DallasTemperature libraries are included to facilitate communication with the DS18B20 sensor.
  • Pin Definition: The digital pin (D2) connected to the DS18B20 data line is defined.
  • Setup: Serial communication and the DallasTemperature library are initialized.
  • Loop: Temperature readings are requested from the sensor and the temperature in Celsius is printed to the Serial Monitor every second.
    This example illustrates how to interface the DS18B20 sensor with an Arduino for precise temperature measurement. Modify the code and wiring as necessary based on your specific setup and needs.
Your orders placed before 16:30 on weekdays are dispatched the same day.

Write a review

Note: HTML is not translated!
Rating
Bad Good

Category Products

DHT11 Digital Temperature Humidity SensorThe DHT11 is a cost-effective digital sensor that measures both temperature and humidity. It is widely used i..
5,06 ron
Ex Tax:5,06 ron
Add to Cart
Digital Temperature Humidity Sensor Module AM2301A
Out Of Stock
AM2301A Digital Temperature Humidity Sensor ModuleThe AM2301A, also referred to as DHT21, is a digital sensor designed for measuring temperature and h..
34,50 ron
Ex Tax:34,50 ron
Out Of Stock
Digital Temperature Humidity Sensor Module DHT21 AM2301
Out Of Stock
DHT21 AM2301 Digital Temperature Humidity Sensor ModuleThe DHT21, also known as AM2301, is a trusted digital sensor for measuring temperature and humi..
30,36 ron
Ex Tax:30,36 ron
Out Of Stock
Digital Temperature Humidity Sensor Module DHT22 AM2302
Out Of Stock
DHT22 AM2302: A High-Precision Digital Temperature and Humidity Sensor ModuleThe DHT22, alternatively known as the AM2302, is a highly precise digital..
28,52 ron
Ex Tax:28,52 ron
Out Of Stock
Electronic Scale Load Cell Weight Sensor - 1kg
Out Of Stock
1kg Load Cell Weight Sensor for Electronic ScalesOur 1kg Load Cell Weight Sensor is a top-notch, precision-based measuring instrument, specifically en..
12,56 ron
Ex Tax:12,56 ron
Out Of Stock
Hall Effect Sensor UGN3144
Out Of Stock
UGN3144 Hall Effect SensorThe UGN3144 Hall Effect Sensor stands as a premium, dependable, and long-lasting sensor, specifically engineered for magneti..
0,74 ron
Ex Tax:0,74 ron

WhatsApp Chat

Hi Guest! Please click one of our representatives Below To Chat On WhatsApp.