Hi,
and thanks for your reply.
I have a 5V supply for each sensor and all the data Linies are connected to pin 3 of my arduino.
Low pass filtering sounds like a good idea, i will add some caps close to the DS18b20.
I would really like to improve my source code towards those read errors.
-> easy to detect and it should not be that big of a problem to reset the bus.
I am currently playing around with reseting 1-wire and driving the 5V sensor supply via I/Os to be able to deactivate it.
if (SensorErrorCount > 10) // ongoing bus error
{
oneWire.reset(); // reset 1-wire using lib function
digitalWrite(SENSORSUPPLY, LOW); // disable sensor supply
// log
LogGLDC("rst 1W");
Serial.println("Reset 1 Wire bus");
delay(5000);
digitalWrite(SENSORSUPPLY, HIGH); // enable sensor supply
SensorErrorCount = 0; // reset count
}
br,
meis