DS18B20 issue
Moderators: grovkillen, Stuntteam, TD-er
DS18B20 issue
Hi I have problem with nodemcu v3 and ds18b20 with 4.7 resistor on esp easy mega. Esp not seeing device address but when i load sketch from arduino ide everything working fine. Ds18b20 working on raspberry address is visible so sensor is ok. I changed resistor to 2.7 same issue, 1.7 same issue not picking address. Nodemcu tested with different sensors like dht or bme all working so node is ok. DS18b20 tested with two different nodemcu v3 same issue. Did someone had this issue before.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
How much are you powering the ds18b20 sensor?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: DS18B20 issue
from phone charger 5v 2A
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
You need a level converter! You may have fried the gpio on the unit. They are expecting no more than 3.3V
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: DS18B20 issue
Ds18B20 connected to 3.3v pin on nodemcu so it's ok
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
Ok, so you're feeding the ds18b20 3.3V? I feel that we're playing the guessing game here. I know that the ds18b20 is compatible with 3.3V but I always use 5V together with level converter.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: DS18B20 issue
ok i understand your point but its working when i upload a simple sketch from arduino ide. I using espeasy because its excellent for beginner and very simple .
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
I see then it might be internal, are you able to test a different sensor?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: DS18B20 issue
yes i bought 2 from aliexpress and same issue with second sensor checked on raspberry with 3.3v pin and both working
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
And you got them working when you flash a small sketch? I mean you're referring to the Arduino IDE. If that is the case it may be an bug. What version are you running?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: DS18B20 issue
Please open a new issue on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: DS18B20 issue
Ok I will thanks for yours time and advices
Re: DS18B20 issue
As a reference point, I'm using mega-20180714 and DS18B20 is working fine.Esp not seeing device address but when i load sketch from arduino ide everything working fine.
The Device Address entry will initially be blank. It will be hidden, requires enabling. To enable the DS18B20 you must click-select the Device Address pulldown and choose the discovered address from the populated list. See photo:
If your address is missing then try the mega-20180714 release. If it works then the latest release has a bug.
- Thomas
Who is online
Users browsing this forum: No registered users and 1 guest