I'm not sure this is a hardware issue but I can't figure out what causes it if it's real and true data.
Every morning between 07.00-08.30 the readings from my ds18b20 gets a little crazy. See graph below on the left side. The sensor is monitoring my vivarium. There's no other equipment coming on or off inside the tank during this time. No appliances or vents coming on or off. The only thing that happens is that the light on the tank is rising up to reach peak value two hours after the graph has stabilized. Lights are led strips controlled with pwm via a mosfet circuit. The reef-pi and circuitry are located below the tank, far from the sensor. The sensor is located quite close (7 inches?) to one of the led strips though.
The "event" starts with a quick drop in temperature reading at the same time as the lights get turned on (they are set to diurnal mode).
Could these weird readings be caused by some interference from the lights when they are at a very low value? The pwm signal I use is straight from the raspberry pi and is 25kHz.
Every morning between 07.00-08.30 the readings from my ds18b20 gets a little crazy. See graph below on the left side. The sensor is monitoring my vivarium. There's no other equipment coming on or off inside the tank during this time. No appliances or vents coming on or off. The only thing that happens is that the light on the tank is rising up to reach peak value two hours after the graph has stabilized. Lights are led strips controlled with pwm via a mosfet circuit. The reef-pi and circuitry are located below the tank, far from the sensor. The sensor is located quite close (7 inches?) to one of the led strips though.
The "event" starts with a quick drop in temperature reading at the same time as the lights get turned on (they are set to diurnal mode).
Could these weird readings be caused by some interference from the lights when they are at a very low value? The pwm signal I use is straight from the raspberry pi and is 25kHz.