Ds18B20 Temperature Sensor
Rs. 64.00 Rs. 77.00
- Brand: https://www.maximintegrated.com/en/products/sensors/DS18B20.html
- Product Code: SEN-TEMP
- SKU -
- Availability: In Stock
- Price in reward points: 1
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
-Operating voltage | 3V to 5V |
-Temperature Range | -55°C to +125°C |
-Accuracy | ±0.5°C |
-Output Resolution | 9-bit to 12-bit (programmable) |
-Conversion time | 750ms at 12-bit |
-Programmable alarm options | |
-Available as To-92, SOP and even as a waterproof sensor | |
-Communicates using 1-Wire method | |
-Programmable Digital Temperature Sensor | |
-Unique 64-bit address enables multiplexing |
OVERVIEW:
-Unique 1-Wire® Interface Requires Only One Port Pin for Communication
-Reduce Component Count with Integrated Temperature Sensor and EEPROM
-Measures Temperatures from -55°C to +125°C (-67°F to +257°F)
-±0.5°C Accuracy from -10°C to +85°C
-Programmable Resolution from 9 Bits to 12 Bits
-No External Components Required
-Parasitic Power Mode Requires Only 2 Pins for Operation (DQ and GND)
-Simplifies Distributed Temperature-Sensing Applications with Multidrop Capability
-Each Device Has a Unique 64-Bit Serial Code Stored in On-Board ROM
-Flexible User-Definable Nonvolatile (NV) Alarm Settings with Alarm Search Command Identifies Devices with Temperatures Outside Programmed Limits
-Available in 8-Pin SO (150 mils), 8-Pin µSOP, and 3-Pin TO-92 Packages
PACKAGE INCLUDES:
1 PCS x Ds18B20 Temperature Sensor
https://www.maximintegrated.com/en/products/sensors/DS18B20.html?intcid=para
//SOURCE CODE TAKEN FROM BELOW LINK
//https://lastminuteengineers.com/ds18b20-arduino-tutorial/
#include <OneWire.h>
#include <DallasTemperature.h>
// Data wire is plugged into digital pin 2 on the Arduino
#define ONE_WIRE_BUS 2
// Setup a oneWire instance to communicate with any OneWire device
OneWire oneWire(ONE_WIRE_BUS);
// Pass oneWire reference to DallasTemperature library
DallasTemperature sensors(&oneWire);
void setup(void)
{
sensors.begin(); // Start up the library
Serial.begin(9600);
}
void loop(void)
{
// Send the command to get temperatures
sensors.requestTemperatures();
//print the temperature in Celsius
Serial.print("Temperature: ");
Serial.print(sensors.getTempCByIndex(0));
Serial.print((char)176);//shows degrees character
Serial.print("C | ");
//print the temperature in Fahrenheit
Serial.print((sensors.getTempCByIndex(0) * 9.0) / 5.0 + 32.0);
Serial.print((char)176);//shows degrees character
Serial.println("F");
delay(500);
}
15 days