Comments (8)
How are they wired? Are you using in parasitic mode? I would try adding a short delay between each reading. Also, you could check for -127 and if that's what you got, then read it again.
Here's a link to my function that I use to read 60 sensors: http://git.io/vt1x0
from arduino-temperature-control-library.
Thanks for answer , three wires , no parasitic mode , readings every 15 minutes and this is strange. Becouse when reading is good (every 15 minutes) for nine DS18B20 and I connect tenth DS18B20 the readings are changening every second or 2 seconds. If something is wrong this strange reading should be every 15 minures.Should I set readings for example every 8 minutes for three DS18B20 , every 7 minutes for another three DS18B20........ Becouse now Arduino tries to read all ten DS18B20 every 15 miuntes.
from arduino-temperature-control-library.
Does your code read all 10 at the same time? If so, I'd add a delay between each one; 100mS should be enough. I'm using 50 mS and that works pretty good.
from arduino-temperature-control-library.
Thanks, I will change the code and check.
from arduino-temperature-control-library.
More sensors implies the line is longer and you might need a smaller pull up resistor.
What value do you use now?
from arduino-temperature-control-library.
I have 4,7 k ohm.
from arduino-temperature-control-library.
Try a 3K3 or 2K2 when you have 10 sensors
from arduino-temperature-control-library.
I tried 2,2 k ohm and it works perfect. Thanks a lot !!!!!!!
from arduino-temperature-control-library.
Related Issues (20)
- DEVICE_DISCONNECTED_C as -255 exceeds int8_t storage HOT 11
- -127.00 cĀ° When start a fan HOT 16
- DS18S20 does not work on parasitic power. HOT 3
- Disconnected sensor messes up sensor indices HOT 4
- getAddress return the first address available even if not found the device HOT 2
- 18B20: blocking time to time HOT 16
- `getAddresses` additional to `getAddress(uint8_t* deviceAddress, uint8_t index)` HOT 1
- Bug: `DallasTemperature::readPowerSupply(const uint8_t* deviceAddress)` sends reset at end of command
- Update Licensing HOT 3
- bug: sensor (DS18S20) is considered disconnected when reporting the lowest temperature (-55 deg C) HOT 8
- bug: release should be created whenever merge to master happens HOT 3
- Feature request - add sensors.reset()
- warning: type 'struct DallasTemperature' violates the C++ One Definition Rule [-Wodr] HOT 4
- Additional documentation website cannot be reached
- Problem in 2.0.4 and ESP32-S3 HOT 1
- [DS18B20] Beware of batch 2034C4 and batch 2213C4, non-standard times.
- ESP32-S2 not finding DS18B20 HOT 8
- Arduino nano esp32 not findiding DS18B20 HOT 2
- Is there a conflict with Toggle library? HOT 5
- Location for MAX31825 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-temperature-control-library.