[Minikit]>>DS18B20 module test
-
Buy:
aliexpress
Download the library "MHDS18B20" from MH-ET LIVE GitHub.
https://github.com/MHEtLive/ESP32-MINI-KIT/tree/master/Shield librariesPut it into your arduino library.
And open the sketch in arduino IDE>>ESP32 examples.
Upload and Run!
-
@cellie All right! These files is necessary for the "one--wire Bus" devices.
-
This is not working for me.
Installed the MHDS18B20 library and got this error compiling:blabla... "/tmp/arduino_build_837499/sketch/MHDS18B20.ino.cpp" -o "/tmp/arduino_build_837499/preproc/ctags_target_for_gcc_minus_e.cpp" In file included from /home/cellie/Arduino/hardware/espressif/esp32/libraries/MHDS18B20/example/MHDS18B20/MHDS18B20.ino:1:0: /home/cellie/Arduino/hardware/espressif/esp32/libraries/MHDS18B20/MHDS18B20.h:9:21: fatal error: OneWire.h: No such file or directory #include <OneWire.h> ^ compilation terminated. Using library MHDS18B20 in folder: /home/cellie/Arduino/hardware/espressif/esp32/libraries/MHDS18B20 (legacy) exit status 1 Error compiling for board ESP32 Dev Module.
-
@cellie said in [Minikit]>>DS18B20 module test:
Fixed it by installing http://www.pjrc.com/teensy/td_libs_OneWire.html