-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS18B20.ino causes compilation error in arduino IDE #294
Comments
The isConversionComplete method was added on May 2016. |
Original comment by Marco de Gier (Bitbucket: DiGierre, GitHub: Unknown): I see. It seems DallasTemperature is actually 3.7.7 on github but Arduino IDE (1.8.5 on W10) only goes as far as 3.7.6 and that one does not have isConversionComplete. I installed 3.7.7 and with that one it compiles ok. Advise to put this in the wiki instructions (unless this is something weird in my installation but the library updting seems to work ok) |
Yes, good idea. Will do it. |
Original comment by Andreas L. (Bitbucket: andreaslink, GitHub: andreaslink-de): I have the exact same behaviour as @bluexp and also having DallasTemperature v3.7.7 installed, but I use an DS18B20. I do not get any temperature value, I also replaced the DS18B20 already with another one, but same behaviour. So probably, it's worth creating a new thread? My version is directly from GIT-version showing 1.10.1 and I compiled with Arduino IDE on my own. |
@bluexp DHT and Dallas are different sensors. You should enable and use DHT settings in sensors.h |
@andreaslink-de Try enabling the DS18B20_PULLUP setting. |
Original comment by Andreas L. (Bitbucket: andreaslink, GitHub: andreaslink-de): Is it really necessary to activate the PullUp (BTW, where do I activate it?) as I have soldered a 4,7k between GPIO14 and 3,3V on my SonOff Basic. So I would assume, this would be Ok, too? Anyway, for the future I know now, I can save this and will activate internal PullUp (I have another one on an older espurna v 1.9.5 with resistor and same DS18B20 running since weeks). |
Original comment by Andreas L. (Bitbucket: andreaslink, GitHub: andreaslink-de): Ok, found PullUp in sensors.h, but doesn't this already mean, internal pullup is activated by default? Can't get it going anyway :-S. |
Original comment by Andreas L. (Bitbucket: andreaslink, GitHub: andreaslink-de): And just to complete this, this is my current botton setup in "config/arduino.h":
|
Hi |
Original comment by blue (Bitbucket: bluexp, GitHub: bluexp): I've already did that, here is my sensor config:
As I have pull up in my circuit I didn't set pull up in sensor.h |
These are the configuration settings for a DHT sensor, not a DALLAS one. You should enable DALLAS_SUPPORT. |
Any update on this? |
Original comment by Andreas L. (Bitbucket: andreaslink, GitHub: andreaslink-de): Sorry, pure X-Mas business at home, did not had any time to test the branch yet. |
Tested it with a DHT11 I had and it is a timing issue. Please check latest commit in dev branch and edit the new sensors.h file to enable DHT_SUPPORT and configure it:
|
Released with 1.11.2 |
Removing milestone: 1.11.2 (automated comment) |
Originally reported by: Marco de Gier (Bitbucket: DiGierre, GitHub: Unknown)
ds18b20 line 89 contains 'isConversionComplete'. This causes a compilation error in arduino IDE "class 'DallasTemperature' has no member named 'isConversionComplete'.
This happens with all available versions of DallasTemperature in the library manager (3.7.6, 3.7.5, 3.7.2). It also seems strange to me as I found that this seems an old issue from 2013 "isConversionComplete is not implemented" (milesburton/Arduino-Temperature-Control-Library#12)
I had the same issue in espurna 1.7.1 (it was the main reason for upgrading to the latest but no luck on this issue).
The workaround is to update/OTA the DS18b20 .bin from the espurna bitbucket. That works fine.
The text was updated successfully, but these errors were encountered: