รายละเอียด
รุ่นนี้เป็นแบบกันน้ำได้ พร้อมสายต่อใช้งาน
สาย ยาว 1 เมตร
เซนเซอร์ตรวจจับอุณหภูมิ DS1820 เป็น IC แบบดิจิตอล สามารถวัดอุณภูมิในช่วง -55°C ถึง 125°C มีความคลาดเคลื่อนต่ำสุด ±0.5°C เมื่อใช้งานอยู่ที่ -10°C ถึง 85°C ใช้สายเพียงเส้นเดียวในการส่งข้อมูล และราคาถูกเหมาะกับการใข้งาน
ข้อมูลเพิ่มเติม datasheet ds1820
วีดีโอตัวอย่างการต่อใช้งาน IC DSB1820 เพื่อปรยุกต์ใช้งาน
สำหรับ Source Code ตัวอย่างมีอยู่ใน Sample Code ของ โปรแกรม Arduino อยู่แล้วครับ
ตัวอย่างโค๊ด
-
#include <OneWire.h> -
#include <DallasTemperature.h>
-
-
// Define the pin connected to the DS18B20 sensor
-
#define ONE_WIRE_BUS 2
-
-
// Setup a oneWire instance to communicate with any OneWire devices
-
OneWire oneWire(ONE_WIRE_BUS);
-
-
// Pass the oneWire reference to DallasTemperature library
-
DallasTemperature sensors(&oneWire);
-
-
void setup() {
-
// Start serial communication
-
Serial.begin(9600);
-
-
// Initialize the DS18B20 sensor
-
sensors.begin();
-
}
-
-
void loop() {
-
// Call sensors.requestTemperatures() to issue a global temperature
-
// request to all connected devices on the bus
-
sensors.requestTemperatures();
-
-
// Read the temperature from the DS18B20 sensor
-
float temperatureC = sensors.getTempCByIndex(0);
-
-
// Print the temperature to the serial monitor
-
Serial.print("Temperature: ");
-
Serial.print(temperatureC);
-
Serial.println("°C");
-
-
// Wait for a second before taking the next temperature reading
-
delay(1000);
-
}
-
ขาย DS18B20 ราคา 40.00 บาท ในไทย
40.00 บาท
- จำนวนสินค้า: 8
- รุ่น: DS18B20
- น้ำหนัก: 0.03kg
- SKU: 1319
Product Views: 10171
สินค้าที่เกี่ยวข้อง
เป็นโซลีนอยวาล์ว ใช้ไฟ 12VDC ขนาดท่อ 1/2 นิ้วหรือ ครึ่งนิ้ว
ใช้สำหรับควบคุมการเปิดปิดน้ำเช่นใช้ควบคุม ความชื้นในโรงพราะเห็ดแบบอัตโนมัติเป็นต้น
..
180.00 บาท
Linear Shaft Series:
Shaft Diameter:8mm
Shaft Length:600mm
Material: C45 or Gcr15..
180.00 บาท
Linear Shaft Series:
Shaft Diameter:8mm
Shaft Length:400mm
Material: C45 or Gcr15..
180.00 บาท
สเป็ก ของ Lead Screw พร้อม nut
จำนวนรุ่น: 3D502
Name: 8x400mm Lead Screw
Type: 8x400mm Lead Screw
Screw diameter: 8mm
..
250.00 บาท
BELT 6mm 2GT ( สายพาน 3d printer ) ราคา เมตรละ 60 บาท
สามารถสั่งความยาวได้ เช่นถ้าต้องการ ยาว 2 เมตร เราจะตัดให้ลูกค้ายาว 2 เมตร&..
40.00 บาท
PC4-M6 Pneumatic Straight Fitting Connector for 4mm OD tubing M6 6mm 3D Printer Printers..
20.00 บาท
Discriptionผลิตภัณฑ์:
รายละเอียด:
สี: สีดำ
Diamension: 20x10x6mm( ยาวxกว้างxสูง)
แรงดันไฟฟ้า: ac125v-250v 5a..
10.00 บาท
เทอร์มิสเตอร์สำหรับ 3D Printer
ค่าความต้านทาน 100K โมเดล NTC 3950
ใช้ได้ทั้ง ชุด Extrude และ Bed
ความยาวสาย 1 เมตร
มี Socket..
35.00 บาท