DS18B20 Temperature Sensor Module

SKU: J02-01 Category: Tag:

Apple Shopping Event

Hurry and get discounts on all Apple devices up to 20%

45,00 EGP

12 People watching this product now!

Payment Methods:

Description

<p>DS18B20 Temperature Sensor Module is a digital temperature sensor, and you can easily connect it to Arduino with only one 4.7-pound resistor, base 1 – Ground 2 – Output – Base 3 to the positive of the source, with resistance to base 2 Is connected. The connection of this sensor to the Arduino via the 1-wire protocol is established. Therefore, several sensors can be connected only through one common wire to Arduino. The output is digitally accurate to 12 bits. Therefore, the temperature can be measured with a precision of 0.0625 º C.</p> <div><strong>Applications:</strong></div> <div> </div> <div>DS18B20 Temperature Sensor is suitable for the cold storage, granaries, storage tanks, telecommunications room, electric power room, cable trough, and other temperature measurement and control areas; bearing, cylinder, textile machinery, air conditioning, and other small space industrial equipment temperature and control; , Refrigerator, freezer, and low-temperature drying oven, etc. heating/cooling pipe calorie measurement, central air conditioning household thermal energy measurement and industrial temperature measurement and control and Many more..</div> <hr /> <h4><strong>Features:</strong></h4> <p> </p> <ol> <li>Digital signal output</li> <li>18B20 Temperature Sensor Chip</li> <li>Resolution adjustment ranges from 9-12 bytes.</li> <li>Send data via a pin</li> <li>Temperature measurement ranges: -55°C to +125°C, be accurate to 0.5°C.</li> </ol> <hr /> <h4><strong>Package Includes:</strong></h4> <p>1 x DS18B20 Temperature Sensor Module</p>

🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
DS18B20 ModuleVCC/GND/DATA3.3-5V / GND / board data pin
📟
DS18B20 Temperature Sensor Module
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
DS18B20 Temperature Sensor Module - Arduino Uno
DS18B20 Temperature Sensor Module - Arduino Nano
DS18B20 Temperature Sensor Module - Arduino Mega
DS18B20 Temperature Sensor Module - ESP32
DS18B20 Temperature Sensor Module - ESP8266
DS18B20 Temperature Sensor Module - STM32
DS18B20 Temperature Sensor Module - Raspberry Pi Pico
📄 File: ds18b20_temperature_sensor_module_-_arduino_uno.inoArduino Uno
679 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin 2 on Arduino Uno. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS 2
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_arduino_nano.inoArduino Nano
680 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin 2 on Arduino Nano. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS 2
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_arduino_mega.inoArduino Mega
680 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin 2 on Arduino Mega. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS 2
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_esp32.inoESP32
673 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin 4 on ESP32. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS 4
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_esp8266.inoESP8266
677 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin D4 on ESP8266. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS D4
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_stm32.inoSTM32
677 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin PB4 on STM32. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS PB4
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
📄 File: ds18b20_temperature_sensor_module_-_raspberry_pi_pico.inoRaspberry Pi Pico
685 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// OneWire data pin 2 on Raspberry Pi Pico. Needs a 4.7k pull-up resistor between data and VCC.
6#include <OneWire.h>
7#include <DallasTemperature.h>
8
9#define ONE_WIRE_BUS 2
10OneWire oneWire(ONE_WIRE_BUS);
11DallasTemperature sensors(&oneWire);
12
13void setup() {
14 Serial.begin(115200);
15 sensors.begin();
16}
17
18void loop() {
19 sensors.requestTemperatures();
20 float tempC = sensors.getTempCByIndex(0);
21
22 if (tempC == DEVICE_DISCONNECTED_C) {
23 Serial.println("Error: DS18B20 not found - check wiring/pull-up resistor.");
24 } else {
25 Serial.print("Temperature: "); Serial.print(tempC); Serial.println(" C");
26 }
27
28 delay(1000);
29}
OneWire digital temperature sensor, breakout module (has its own pull-up resistor onboard on most versions - add an external one if readings are unstable).

Specification

Specification

WeightWeight10 g
Dimensions5 × 4 × 2 cm
Product TypeDigital Temperature Sensor Module
Main Sensor ICDS18B20
Operating Voltage3.0V ~ 5.5V DC
Temperature Measurement Range-55°C ~ +125°C
Accuracy±0.5°C (between -10°C and +85°C)
Communication Interface1-Wire Bus
On-board ComponentsPull-up Resistor, Power Indicator LED (Often included on module versions)
Pin ConfigurationVCC (Power), GND (Ground), DAT / DQ (Data)
Key FeaturesPlug-and-Play (No external resistor required), Multi-sensor bus capability, High precision digital output
ApplicationsAmbient Temperature Monitoring, HVAC Control Prototyping, Smart Home Systems, Environmental Data Logging

Customer Reviews