logo elektroda
logo elektroda
X
logo elektroda

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

wiesgaj 1413 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19123393
    wiesgaj
    Level 15  
    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
    khoam
    Level 42  
    wiesgaj wrote:
    It is possible for the board tem. to migrate to the DS?
    .
    Yes, heating up the ESP8266 can cause the DS to overestimate temperature readings.

    wiesgaj wrote:
    Question how to solve this problem?

    Place the DS as far away from the ESP as possible.
  • #3 19123481
    wiesgaj
    Level 15  
    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
    khoam
    Level 42  
    The sensor is supposed to measure the air temperature in the room, not in the can. The easiest way is to place it outside the covered box so that it is at least somewhat thermally insulated from the heating electronics inside the box. The length of the cable in the case of the DS18B20 does not matter much - it could be counted in metres.
  • #5 19123670
    rb401
    Level 39  
    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.
  • ADVERTISEMENT
  • #6 19123723
    krzbor
    Level 27  
    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
  • ADVERTISEMENT
  • #7 19123827
    wiesgaj
    Level 15  
    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
    khoam
    Level 42  
    wiesgaj wrote:
    The sensor does not measure the temp. in the box. I wrote that a DS is exposed through a hole in the switch housing.
    .
    It looks like warm air is escaping from inside the can through this hole. If you could throw up some overview photos, something concrete could be advised.
  • #9 19132171
    Slawek K.
    Level 35  
    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  
    DS 18B20 cannot be near the circuit. The ESP8226 heats up and the temp. drift carries over the wires to the DS.

Topic summary

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.
Summary generated by the language model.
ADVERTISEMENT