Sensor DS18B20 adalah digital thermometer. Di atas adalah gambar sensor DS18B20, jenis biasa dan waterproof. DS18B20 boleh mengesan suhu dari -55°C hingga 125°C. Sensor DS18B20 menggunakan 1-wire.
Interface sensor DS18B20 dengan Arduino boleh rujuk Arduino Lesson: Sensor DS18B20. Interface sensor DS18B20 dengan ESP32, boleh rujuk ESP32 Lesson: Sensor DS18B20.
Berikut adalah demo menggunakan DS18B20.
Video DS18B20
Video DS18B20 Waterproof
PIC Source Code
Sertai Telegram Group bagi dapatkan source code
7 responses to “PIC Lesson: Sensor DS18B20”
Where si the lesson?
Where can I download all source code for this project?
where is #include “LibraryHardware.h”, #include “LibraryUniversalDisplay.h”, #include “LibrarySensor.h” etc..
NAD, I made my own library. You need to pay for that.
How much is the cost of the library ? Please email me
Thanks
Sojesh
The library is MYR100.
Olá boa tarde. Gostaria de saber se você tem um código em ‘c’ feito no MPLab utilizando o PIC18F4550 para usar esse sensor de temperatura, (DS18B20), medindo a temperatura e mostrando num LCD 20×4?
This code can use with PIC18F4550 and LCD 20X4.