• -43%

DS18B20 hőmérséklet-érzékelő modul

DS18B20 hőmérséklet-érzékelő modul

78 Ft 43% megtakarítás
136 Ft
Nincs adó
Warm prompt: Dear buyer, Our cheapest transportation services Economic category logistics (SunYou Economic Air Mail ,China Post Ordinary Small Packet Plus ) can be traced only befor it arrive your country,please choose Standard category logistics if you want a full tracking info.
 
 
18B20 Temperature Sensor Module
 
Description:
The product is produced by the United States DALLAS DS18B20 digital temperature sensor can be networking chip packaging is made with abrasion resistant touch, small size, easy to use, packaged in various forms, for a variety of small spaces digital temperature measurement and control equipment. Technical performance Description:
 
The unique single-wire interface mode, DS18B20 in connection with the microprocessor requires only one port lines can be realized with the DS18B20 microprocessor-way communication; temperature range: -55 ~ 125 , the inherent temperature resolution 0.5 ; supports multi-point network functions, multiple DS18B20 can be paralleled in only three lines, maximum shunt 8, if an excessive number of causes supply voltage is too low, resulting in unstable signal transmission, multi-point measurement temperature; working power: 3 ~ 5V/DC; in use does not require any external components; measurement results 9 to 12 way serial digital transmission; PVC cable Grommet or German ball terminal box, easy connection to other electrical equipment connections.
 
Applications:
 
This product is suitable for freezer, silos, storage tanks, telecommunications room, power room, cable trunking and other temperature measurement and control; bearing, cylinder, textile machinery, air-conditioning, industrial equipment and other small space temperature measurement and control; automotive air conditioning , refrigerator, freezer, and other low-temperature oven; heating / cooling pipe heat metering, central air conditioning household heat metering and industrial temperature measurement and control.
 
#include
 
/* DS18S20 Temperature chip i/o
 
*/
 
OneWire ds(10); // on pin 10
 
void setup(void) {
// initialize inputs/outputs
// start serial port
Serial.begin(9600);
}
 
 
 
void loop(void) {
byte i;
byte present = 0;
byte data[12];
byte addr[8];
int Temp;
if ( !ds.search(addr)) {
//Serial.print("No more addresses.\n");
ds.reset_search();
return;
}
 
Serial.print("R="); //R=28 Not sure what this is
for( i = 0; i < 8; i ) {
Serial.print(addr[i], HEX);
Serial.print(" ");
}
 
if ( OneWire::crc8( addr, 7) != addr[7]) {
Serial.print("CRC is not valid!\n");
return;
}
 
if ( addr[0] != 0x28) {
Serial.print("Device is not a DS18S20 family device.\n");
return;
}
 
ds.reset();
ds.select(addr);
ds.write(0x44,1); // start conversion, with parasite power on at the end
 
delay(1000); // maybe 750ms is enough, maybe not
// we might do a ds.depower() here, but the reset will take care of it.
 
present = ds.reset();
ds.select(addr);
ds.write(0xBE); // Read Scratchpad
 
Serial.print("P=");
Serial.print(present,HEX);
Serial.print(" ");
for ( i = 0; i < 9; i ) { // we need 9 bytes
data[i] = ds.read();
Serial.print(data[i], HEX);
Serial.print(" ");
}
Temp=(data[1]<<8) data[0];//take the two bytes from the response relating to temperature
 
Temp=Temp>>4;//divide by 16 to get pure celcius readout
 
//next line is Fahrenheit conversion
Temp=Temp*1.8 32; // comment this line out to get celcius
 
Serial.print("T=");//output the temperature to serial port
Serial.print(Temp);
Serial.print(" ");
 
 
Serial.print(" CRC=");
Serial.print( OneWire::crc8( data, 8), HEX);
Serial.println();
}
 
Package Included:
1 x 18B20 Temperature Sensor Module
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Mennyiség

 

Biztonsági feltételek

 

Szállításii feltételek

 

Visszaküldési feltételek

DS18B20 hőmérséklet-érzékelő modul
DS18B20 Temperature Sensor Module
Warm prompt: Dear buyer, Our cheapest transportation services Economic category logistics (SunYou Economic Air Mail ,China Post Ordinary Small Packet Plus ) can be traced only befor it arrive your country,please choose Standard category logistics if you want a full tracking info.
 
 
18B20 Temperature Sensor Module
 
Description:
The product is produced by the United States DALLAS DS18B20 digital temperature sensor can be networking chip packaging is made with abrasion resistant touch, small size, easy to use, packaged in various forms, for a variety of small spaces digital temperature measurement and control equipment. Technical performance Description:
 
The unique single-wire interface mode, DS18B20 in connection with the microprocessor requires only one port lines can be realized with the DS18B20 microprocessor-way communication; temperature range: -55 ~ 125 , the inherent temperature resolution 0.5 ; supports multi-point network functions, multiple DS18B20 can be paralleled in only three lines, maximum shunt 8, if an excessive number of causes supply voltage is too low, resulting in unstable signal transmission, multi-point measurement temperature; working power: 3 ~ 5V/DC; in use does not require any external components; measurement results 9 to 12 way serial digital transmission; PVC cable Grommet or German ball terminal box, easy connection to other electrical equipment connections.
 
Applications:
 
This product is suitable for freezer, silos, storage tanks, telecommunications room, power room, cable trunking and other temperature measurement and control; bearing, cylinder, textile machinery, air-conditioning, industrial equipment and other small space temperature measurement and control; automotive air conditioning , refrigerator, freezer, and other low-temperature oven; heating / cooling pipe heat metering, central air conditioning household heat metering and industrial temperature measurement and control.
 
#include
 
/* DS18S20 Temperature chip i/o
 
*/
 
OneWire ds(10); // on pin 10
 
void setup(void) {
// initialize inputs/outputs
// start serial port
Serial.begin(9600);
}
 
 
 
void loop(void) {
byte i;
byte present = 0;
byte data[12];
byte addr[8];
int Temp;
if ( !ds.search(addr)) {
//Serial.print("No more addresses.\n");
ds.reset_search();
return;
}
 
Serial.print("R="); //R=28 Not sure what this is
for( i = 0; i < 8; i ) {
Serial.print(addr[i], HEX);
Serial.print(" ");
}
 
if ( OneWire::crc8( addr, 7) != addr[7]) {
Serial.print("CRC is not valid!\n");
return;
}
 
if ( addr[0] != 0x28) {
Serial.print("Device is not a DS18S20 family device.\n");
return;
}
 
ds.reset();
ds.select(addr);
ds.write(0x44,1); // start conversion, with parasite power on at the end
 
delay(1000); // maybe 750ms is enough, maybe not
// we might do a ds.depower() here, but the reset will take care of it.
 
present = ds.reset();
ds.select(addr);
ds.write(0xBE); // Read Scratchpad
 
Serial.print("P=");
Serial.print(present,HEX);
Serial.print(" ");
for ( i = 0; i < 9; i ) { // we need 9 bytes
data[i] = ds.read();
Serial.print(data[i], HEX);
Serial.print(" ");
}
Temp=(data[1]<<8) data[0];//take the two bytes from the response relating to temperature
 
Temp=Temp>>4;//divide by 16 to get pure celcius readout
 
//next line is Fahrenheit conversion
Temp=Temp*1.8 32; // comment this line out to get celcius
 
Serial.print("T=");//output the temperature to serial port
Serial.print(Temp);
Serial.print(" ");
 
 
Serial.print(" CRC=");
Serial.print( OneWire::crc8( data, 8), HEX);
Serial.println();
}
 
Package Included:
1 x 18B20 Temperature Sensor Module
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32269166831 - simplerob
32269166831

Hasonló kategóriák mint 16 :

Reviews

Write your review

DS18B20 hőmérséklet-érzékelő modul

Warm prompt: Dear buyer, Our cheapest transportation services Economic category logistics (SunYou Economic Air Mail ,China Post Ordinary Small Packet Plus ) can be traced only befor it arrive your country,please choose Standard category logistics if you want a full tracking info.
 
 
18B20 Temperature Sensor Module
 
Description:
The product is produced by the United States DALLAS DS18B20 digital temperature sensor can be networking chip packaging is made with abrasion resistant touch, small size, easy to use, packaged in various forms, for a variety of small spaces digital temperature measurement and control equipment. Technical performance Description:
 
The unique single-wire interface mode, DS18B20 in connection with the microprocessor requires only one port lines can be realized with the DS18B20 microprocessor-way communication; temperature range: -55 ~ 125 , the inherent temperature resolution 0.5 ; supports multi-point network functions, multiple DS18B20 can be paralleled in only three lines, maximum shunt 8, if an excessive number of causes supply voltage is too low, resulting in unstable signal transmission, multi-point measurement temperature; working power: 3 ~ 5V/DC; in use does not require any external components; measurement results 9 to 12 way serial digital transmission; PVC cable Grommet or German ball terminal box, easy connection to other electrical equipment connections.
 
Applications:
 
This product is suitable for freezer, silos, storage tanks, telecommunications room, power room, cable trunking and other temperature measurement and control; bearing, cylinder, textile machinery, air-conditioning, industrial equipment and other small space temperature measurement and control; automotive air conditioning , refrigerator, freezer, and other low-temperature oven; heating / cooling pipe heat metering, central air conditioning household heat metering and industrial temperature measurement and control.
 
#include
 
/* DS18S20 Temperature chip i/o
 
*/
 
OneWire ds(10); // on pin 10
 
void setup(void) {
// initialize inputs/outputs
// start serial port
Serial.begin(9600);
}
 
 
 
void loop(void) {
byte i;
byte present = 0;
byte data[12];
byte addr[8];
int Temp;
if ( !ds.search(addr)) {
//Serial.print("No more addresses.\n");
ds.reset_search();
return;
}
 
Serial.print("R="); //R=28 Not sure what this is
for( i = 0; i < 8; i ) {
Serial.print(addr[i], HEX);
Serial.print(" ");
}
 
if ( OneWire::crc8( addr, 7) != addr[7]) {
Serial.print("CRC is not valid!\n");
return;
}
 
if ( addr[0] != 0x28) {
Serial.print("Device is not a DS18S20 family device.\n");
return;
}
 
ds.reset();
ds.select(addr);
ds.write(0x44,1); // start conversion, with parasite power on at the end
 
delay(1000); // maybe 750ms is enough, maybe not
// we might do a ds.depower() here, but the reset will take care of it.
 
present = ds.reset();
ds.select(addr);
ds.write(0xBE); // Read Scratchpad
 
Serial.print("P=");
Serial.print(present,HEX);
Serial.print(" ");
for ( i = 0; i < 9; i ) { // we need 9 bytes
data[i] = ds.read();
Serial.print(data[i], HEX);
Serial.print(" ");
}
Temp=(data[1]<<8) data[0];//take the two bytes from the response relating to temperature
 
Temp=Temp>>4;//divide by 16 to get pure celcius readout
 
//next line is Fahrenheit conversion
Temp=Temp*1.8 32; // comment this line out to get celcius
 
Serial.print("T=");//output the temperature to serial port
Serial.print(Temp);
Serial.print(" ");
 
 
Serial.print(" CRC=");
Serial.print( OneWire::crc8( data, 8), HEX);
Serial.println();
}
 
Package Included:
1 x 18B20 Temperature Sensor Module
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Write your review