logo elektroda
logo elektroda
X
logo elektroda

[Solved] Why does the ESP8266 WeMos D1 with DS18B20 stop working when built into the fi60?

wiesgaj 1947 9
Best answers LABEL_AI_GENERATED

How can I stop an ESP8266 WeMos D1 mini from heating a DS18B20 temperature sensor when the sensor is mounted in a switch box opening?

Yes, the ESP8266’s heat can affect the DS18B20 reading, especially if the sensor is not fully outside the enclosure or if heat travels through the wires, so the best fix is to move the entire DS18B20 farther away from the board and out of the box; the DS18B20 cable can be much longer than 10 cm, even metres long [#19123428][#19123643][#19132171][#19924735] If the sensor must stay near the enclosure, add ventilation openings at the bottom and top so convection pulls room air past the sensor instead of warm air from the electronics [#19123670] Another option is to calibrate a fixed offset if the heating is constant, since the device may always add about the same amount of heat [#19123723]
AI summary based on the discussion. May contain errors.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • Board heat appears to bias DS18B20 reading

    #1 19123393
    wiesgaj
    Level 15  
    Posts: 284
    Rate: 29
    Hello.
    I have assembled an ESP8266 WeMos D1 MINI as a thermometer with a DS18B20. The circuit works fine until I build it into the fi60 box under the switch. The DS in the hole of the switch housing on the 10cm wires, starts dragging the tem. by 3stC. If I take the board outside the temperature is correct. Is it possible for the circuit board temperature to migrate to the DS? The board in my hand seems warm. 5V power supply mounted elsewhere , not in the box.
    Question how to solve this problem?
  • ADVERTISEMENT
  • #2 19123428
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • #3 19123481
    wiesgaj
    Level 15  
    Posts: 284
    Rate: 29
    As far as possible. Just like . There is no other place. A hole in the wall and a box in the hole. Just out of curiosity , room controllers powered by 230v . In them temp sensors are mounted directly on the board and can . The power supply also heats.
    How is it solved there?
    The cable as long as possible, how much would be necessary?
  • ADVERTISEMENT
  • #4 19123643
    Anonymous
    Level 1  
  • ADVERTISEMENT
  • Use top and bottom vents to create convection cooling

    #5 19123670
    rb401
    Level 39  
    Posts: 3002
    Help: 750
    Rate: 984
    wiesgaj wrote:
    Question how to solve this problem?


    I sometimes see this approach when heat is given off inside the enclosure and the sensor is only supposed to measure what is outside.
    Two vents are made, one at the maximum at the bottom and one at the maximum at the top. Then the heat emitted in the housing causes convection, i.e. heated air goes out at the top and is sucked in at the bottom. The sensor is then placed in the vicinity of the bottom vent because it is blown by the ambient air sucked in.
  • #6 19123723
    krzbor
    Level 29  
    Posts: 1783
    Help: 42
    Rate: 1072
    The system gives off a constant amount of heat. This can therefore be taken into account in the measurement. It will probably not always be 3st, but correction factors can be determined for the temperature range of interest
  • #7 19123827
    wiesgaj
    Level 15  
    Posts: 284
    Rate: 29
    The sensor does not measure the temp. in the box. I wrote that a DS is exposed through the opening in the switch housing. It has a 10 cm. cable. The board is behind the switch. Despite the DS being exposed from the housing to the outside, it picks up the temp.
  • #8 19123912
    Anonymous
    Level 1  
  • #9 19132171
    Slawek K.
    Level 35  
    Posts: 3020
    Help: 259
    Rate: 1303
    Remember that the DS18B20 legs heat up through the wires and then the chip itself if it doesn't extend completely outside the case, unfortunately I have faced this too and come to this conclusion. To eliminate this, the whole chip (DS) needs to be outside. You can also try to apply the idea of colleague @rb401 .

    Greetings
  • #10 19924735
    wiesgaj
    Level 15  
    Posts: 284
    Rate: 29
    DS 18B20 cannot be near the circuit. The ESP8226 heats up and the temp. drift carries over the wires to the DS.

Topic summary

LABEL_AI_GENERATED
The discussion revolves around the issue of temperature readings from a DS18B20 sensor connected to an ESP8266 WeMos D1 MINI, which inaccurately increases by 3°C when housed in a fi60 box. Users suggest that the heat generated by the ESP8266 is affecting the sensor's readings, as the sensor is not adequately insulated from the warm air inside the enclosure. Recommendations include relocating the sensor outside the box, ensuring it is thermally insulated from the electronics, and considering the use of vents for air circulation. It is noted that the sensor's legs can also heat up through the wires, further contributing to the temperature drift. The consensus is that the DS18B20 should be positioned away from the heat source to obtain accurate temperature measurements.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT