Comments on: MicroPython: DS18B20 Temperature Sensor with ESP32 and ESP8266 https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 26 Nov 2024 19:25:15 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Henryk https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-986773 Tue, 26 Nov 2024 19:25:15 +0000 https://randomnerdtutorials.com/?p=86513#comment-986773 I programmed it according to the tutorial and code for multiple ds18b20 sensors. It works fine on esp32wroom32. I don’t know how to compare using if and else the read temperature values ​​from three ds18b20 sensors and drive the GPIO outputs with a high state. Please give me some advice.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-772948 Wed, 03 Aug 2022 15:46:41 +0000 https://randomnerdtutorials.com/?p=86513#comment-772948 In reply to Anatolii.

Hi.
Yes, you can use that board.
You need to solder the stack of pins that come with the board.
Then, you can use the GPIOs as in any regular board.
Regards,
Sara

]]>
By: Anatolii https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-772871 Wed, 03 Aug 2022 10:05:06 +0000 https://randomnerdtutorials.com/?p=86513#comment-772871 Hi.
I’m new in this topic. Can you help me?
Is it possible to connect this temperature sensor to device like this
aliexpress.com/item/32883116057.html?spm=a2g0o.order_list.0.0.26cf1802DLIjbV
LOLIN D32 Pro V2.0.0 – wifi & bluetooth board based ESP-32 esp32 Rev1 ESP32-WROVER 16MB 8MB 4MB FLASH PSRAM MicroPython
I can’t find any GPIO connector on this board 🙁

]]>
By: Henrik https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-764039 Tue, 21 Jun 2022 17:25:45 +0000 https://randomnerdtutorials.com/?p=86513#comment-764039 Hi.
If i want 14 ds18b20 on 14 pins, is that possible?

The reason is, that the controller is not accessible, and this would simplify changing sensors, when they brake.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-755016 Wed, 01 Jun 2022 20:55:11 +0000 https://randomnerdtutorials.com/?p=86513#comment-755016 In reply to Roy Hopkins.

Hi.
Yes. I think that is possible. You just need to creare multiple onewire instances with different names.
Regards,
Sara

]]>
By: Roy Hopkins https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-754563 Mon, 30 May 2022 10:38:31 +0000 https://randomnerdtutorials.com/?p=86513#comment-754563 How can I use more than onewire instance as I want each sensor on individual pins. The reason is if one sensor fails or is replaced then the address will be different and could mean the sensor readings my no longer match the sensors physical location.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-741433 Mon, 25 Apr 2022 20:59:33 +0000 https://randomnerdtutorials.com/?p=86513#comment-741433 In reply to Carlos Cerda.

Hi.
It doesn’t have a limit for the number of sensors.
However, as you add more sensors, the ESP32 might not be able to supply enough power to all sensors on the same GPIO.
Regards,
Sara

]]>
By: Carlos Cerda https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-741412 Mon, 25 Apr 2022 16:29:16 +0000 https://randomnerdtutorials.com/?p=86513#comment-741412 Hi. Thank you very much for your tutorials, they are amazing!

Your circuit and code works very well for me with three sensors but when I add a fourth sensor, the scan returns “Found DS devices: [ ]”
I have tried removing the first sensor and the system works fine againt, so this means that it is not a failure of the fourth sensor.

Does the library have any limitations regarding the number of sensors?
I’m using ds18b20 waterproof (5 meters) and ESP32 Lolin32

]]>
By: Shahriar Tanveer https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-740755 Sat, 23 Apr 2022 08:37:04 +0000 https://randomnerdtutorials.com/?p=86513#comment-740755 Dear Friend,
when I write the code in esp32 then everything worked perfectly. But when I use the same code in esp8266 node mcu then i got no data. it shows “Found DS devices: []”.
No data in the list.

]]>
By: Firepower https://randomnerdtutorials.com/micropython-ds18b20-esp32-esp8266/#comment-384581 Sat, 13 Jul 2019 14:37:12 +0000 https://randomnerdtutorials.com/?p=86513#comment-384581 A circuit diagram would be useful also, as your schematic is a component diagram.

]]>