Hi all - also trying to get a Waterproof 1-Wire DS18B20 Digital temperature sensor working with my Adafruit ESP32 Feather V2 w.FL Antenna - 8MB Flash + 2 MB PSRAM - STEMMA QT board. Starting to feel like this just is the wrong combination of parts.
I've tried several sketches and even some of the scans - I can't even get this thing to show up. Is there a definitive guide or is this just not a compatible pair?
Is there magic getting this temp sensor to appear?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- eciramella
- Posts: 49
- Joined: Mon May 01, 2023 10:13 am
- barshatriplee
- Posts: 200
- Joined: Wed Mar 22, 2023 10:11 am
Re: Is there magic getting this temp sensor to appear?
These two should be compatible. Exactly which adaruit library are you using and what problem are you facing?
- eciramella
- Posts: 49
- Joined: Mon May 01, 2023 10:13 am
Re: Is there magic getting this temp sensor to appear?
Thanks for responding - via the Arduino IDE, I tried:
- Dallas Temperature 3.9.0
- OneWire 2.3.7
At best, I get a reading in the thousands (+2000), at worst, I get a reading that doesn't change.
I've wired it in properly (red to the 3v, blue to grd, yellow to pin 14, resistor between the red and yellow), was pin 14 wrong?
- Dallas Temperature 3.9.0
- OneWire 2.3.7
At best, I get a reading in the thousands (+2000), at worst, I get a reading that doesn't change.
I've wired it in properly (red to the 3v, blue to grd, yellow to pin 14, resistor between the red and yellow), was pin 14 wrong?
- eciramella
- Posts: 49
- Joined: Mon May 01, 2023 10:13 am
Re: Is there magic getting this temp sensor to appear?
Using the built in "Tester" example (https://github.com/milesburton/Arduino- ... Tester.ino):
It's sitting in the open in my living room which my Nest says is 35 deg.
Code: Select all
08:00:15.163 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
08:00:15.163 -> configsip: 271414342, SPIWP:0xee
08:00:15.163 -> clk_drv:0Dallas Temperature IC Control Library Demo
08:00:15.361 -> Locating devices...Found 1 devices.
08:00:15.427 -> Parasite power is: OFF
08:00:15.427 -> Found device 0 with address: 288451830E0000D5
08:00:15.494 -> Setting resolution to 9
08:00:15.494 -> Resolution actually set to: 9
08:00:15.526 -> Requesting temperatures...DONE
08:00:35.560 -> Temperature for device: 0
08:00:35.560 -> Temp C: 85.00 Temp F: 185.00
08:00:35.560 -> Requesting temperatures...DONE
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: Is there magic getting this temp sensor to appear?
The output indicates that it is connected and communicating properly. But the temperature is way off. We can try replacing the sensor. Please contact [email protected] with your order information and a link to this thread.
- eciramella
- Posts: 49
- Joined: Mon May 01, 2023 10:13 am
Re: Is there magic getting this temp sensor to appear?
Will do - thanks. Here's to hoping that's all it is.adafruit_support_bill wrote: ↑Tue May 16, 2023 8:49 am The output indicates that it is connected and communicating properly. But the temperature is way off. We can try replacing the sensor. Please contact [email protected] with your order information and a link to this thread.
Was I ok in connecting this to pin 14 on the board?
- adafruit_support_bill
- Posts: 88088
- Joined: Sat Feb 07, 2009 10:11 am
Re: Is there magic getting this temp sensor to appear?
Yes. It should work on just about any GPIO pin. And the output of your test program indicates that it is communicating OK.
- eciramella
- Posts: 49
- Joined: Mon May 01, 2023 10:13 am
Re: Is there magic getting this temp sensor to appear?
Man - hate to think EVERYTHING I ordered is broken in some way - thanks for the tip. Guess I'm going to get a refund.adafruit_support_bill wrote: ↑Tue May 16, 2023 12:31 pm Yes. It should work on just about any GPIO pin. And the output of your test program indicates that it is communicating OK.
Wouldn't mind your 2 cents over here -> viewtopic.php?t=201446 starting to think that this feather is ALSO borked in some way.
Please be positive and constructive with your questions and comments.