ESP8266 warming, heat radiation

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

ESP8266 warming, heat radiation

#1 Post by Smotek7 » 11 Feb 2021, 13:32

Is it possible to reduce warming, heat radiation by setting ESPEasy?
For example, when I have a DS18B20 temperature sensor connected in a box on the wall. ESP warms him.
It sends only once in 60s via generic UDP.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#2 Post by TD-er » 11 Feb 2021, 13:41

You can reduce the heat produced by enabling "ECO mode" or use deep sleep.

An ESP typically uses 80 - 100 mA on average.
At 3.3V that's over 0.25 Watt.
At 5V it is 0.4 - 0.5 Watt.

With ECO mode enabled its average current consumption can get as low as 25 mA, but that is not constant.

In a confined space it will heat up its internals until you reach some equilibrium of heat dissipation with the environment.
Within a small temperature range and constant air flow and constant current usage, this could be considered a constant offset in temperature.
So you can also try to calibrate the offset and apply that in the formula field.

The best would be to place the temperature sensor outside of the enclosure of course.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#3 Post by Micha_he » 11 Feb 2021, 14:10

Maybe it's the DS18b20 itself !?
If the time between the measurements is to low, the DS18b20 warms up itself.
Last edited by Micha_he on 11 Feb 2021, 15:15, edited 1 time in total.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#4 Post by Smotek7 » 11 Feb 2021, 15:09

I mentioned DS18B20 only as an example.
This is an image with an S8 connection to Wemos D1mini.
FLIR0323.jpg
FLIR0323.jpg (140.91 KiB) Viewed 15530 times
I'm testing sleep mode.
I think it will help.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#5 Post by TD-er » 11 Feb 2021, 15:32

Do you have a normal photo too with the same orientation, so we can better see what components get warm?
It looks like the heat does come from the voltage regulator, but I'm not sure. (would make sense though)

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#6 Post by Smotek7 » 11 Feb 2021, 15:58

I have a picture, but it does not sit, thermo and real.
It's photographed too much from a short distance.
That big heat is the processor, the small right the bottom stabilizer.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#7 Post by TD-er » 11 Feb 2021, 16:52

OK, on the thermal image the chip that wasn't hot looked more like the ESP chip.
But 51C is quite hot.
Had not expected it to become so warm. (20C above ambient temp)

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#8 Post by Smotek7 » 11 Feb 2021, 17:11

Wemos D1 does not have a metal cover, so it heats up the processor.

Here is an example of NodeMcu Lolin ESP12E
I indicated a shift in the pictures.
The metal cover dissipated the heat from the procecore.
The warmest place is the stabilizer marked in red.
FLIR0324.JPG
FLIR0324.JPG (93.8 KiB) Viewed 15512 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#9 Post by TD-er » 11 Feb 2021, 17:16

Nice to see the antenna is the coolest place on the board.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#10 Post by Smotek7 » 11 Feb 2021, 18:03

Not
thermo image and real image are shifted
The cool place is the metal cover ESP12

chemmex
Normal user
Posts: 92
Joined: 15 Feb 2019, 16:18

Re: ESP8266 warming, heat radiation

#11 Post by chemmex » 12 Feb 2021, 07:41

According to 802.11n spec, ESP should dynamically adjust TX power based on RX level or RSSI, so we can expect possible heatup in case of poor reception. Just like with mobilephones.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#12 Post by TD-er » 12 Feb 2021, 08:23

chemmex wrote: 12 Feb 2021, 07:41 According to 802.11n spec, ESP should dynamically adjust TX power based on RX level or RSSI, so we can expect possible heatup in case of poor reception. Just like with mobilephones.
In the last test builds I made ESPEasy does this even more extensively.
Problem with variable power consumption is that you can't compensate for the heat with a fixed offset in temperature anymore.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#13 Post by Smotek7 » 12 Feb 2021, 09:54

I set
Sleep awake time: 60s
connected GPIO16 (D0) to GND
but the board does not sleep,
I test so that the website is still available,
it is also possible to ping.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#14 Post by TD-er » 12 Feb 2021, 10:21

You can also call to go to sleep from within the rules.

See for an example the wiki documentation: https://www.letscontrolit.com/wiki/inde ... =SleepMode

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#15 Post by Micha_he » 12 Feb 2021, 10:47

Smotek7 wrote: 12 Feb 2021, 09:54 connected GPIO16 (D0) to GND
but the board does not sleep,
It may be that I'm wrong. But I mean, the Deep-Sleep is temporary disabled, if you connect GPIO16 to GND.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#16 Post by Smotek7 » 12 Feb 2021, 10:54

Micha_he yes, I conected GPIO16 to RST.

TD-er
I don't control the rules much
I created rule:

on WiFi#Connected do
If [Switch#State]=0
publish,%sysname%/status,"Start"
timerSet,1,5
Else
publish,%sysname%/status,"Deepsleep Disabled"
EndIf
EndOn

On Rules#Timer=1 Do
deepsleep,60
EndOn

the system displays
62075 : Info : EVENT: System#Sleep
62087 : Info : SLEEP: Powering down to deepsleep...

and restarts immediately

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#17 Post by Micha_he » 12 Feb 2021, 11:01

Instead...
on WiFi#Connected do
If [Switch#State]=0
publish,%sysname%/status,"Start"
better use...

Code: Select all

on MQTT#Connected do
If [Switch#State]=0
publish,%sysname%/status,"Start"
when you publish to the MQTT server.

And, I mean, you must set the 'Sleep awake time' to 0 to disable it, when you use a rule to go into sleep-mode.
Last edited by Micha_he on 12 Feb 2021, 11:15, edited 1 time in total.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#18 Post by Smotek7 » 12 Feb 2021, 11:05

I do not use MQTT
is MQTT internal?
I am sending Generic UDP

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#19 Post by Micha_he » 12 Feb 2021, 11:18

But 'publish' is MQTT !? When you need a info in the log, you should use 'LogEntry'

Info: https://espeasy.readthedocs.io/en/lates ... mmand.html

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#20 Post by Smotek7 » 12 Feb 2021, 11:29

I get it
but set the controller to put the system to sleep
when i don't use MQTT?

Sorry for the stupid questions,
but the rules are new to me.

I need to set a timer or just use:
On Rules # Timer = 1 Do
deepsleep, 60
EndOn

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#21 Post by TD-er » 12 Feb 2021, 11:42

Publish is an internal command, but it does take the MQTT information from the first enabled MQTT controller.
Thus it needs to have an MQTT controller configured.
I need to set a timer or just use:
On Rules # Timer = 1 Do
deepsleep, 60
EndOn
This will only fire if you set a timer.
So you should set a timer too if you want to use the rules to set the node to sleep.
It is possible to use deep sleep without the rules, but then you probably need to let the unit run longer than needed to also cover the situations where getting a WiFi connection may take slightly longer than usual.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#22 Post by Micha_he » 12 Feb 2021, 11:43

You don't need MQTT for the usage of rules !

Simply omit the publish-commands or replace them with "LogEntry, 'text in the log'" in your rule example.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#23 Post by Smotek7 » 12 Feb 2021, 12:41

It already works for me.
My settings:

on System#Boot do
timerSet,1,4
endon


On Rules#Timer=1 Do
deepsleep,60
SendTo,%sysname%/status,"Disabled"
EndOn

The temperature dropped significantly.
Now the warmest place is the stabilizer 30 ° C.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#24 Post by Micha_he » 12 Feb 2021, 12:56

Smotek7 wrote: 12 Feb 2021, 12:41 SendTo,%sysname%/status,"Disabled"
'SendTo' sends only a command from one ESPEasy-unit, to another. Syntax: SendTo,<target-unit-nr>,<command>
In your usage it makes no sense! You can delete the line...

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#25 Post by Smotek7 » 12 Feb 2021, 13:41

I'd love to.
But I set 4 seconds :(
I can't deactivate sleep mod.
I have to make a back door in the rules.
I'll do it in the evening.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#26 Post by Micha_he » 12 Feb 2021, 14:02

I have to make a back door in the rules.
GPIO16 to GND ;-)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#27 Post by TD-er » 12 Feb 2021, 14:04

The first sleep after a power cycle will allow you to change settings within 30 seconds.

Micha_he
Normal user
Posts: 369
Joined: 07 Feb 2018, 19:14
Location: Helmstedt, Germany

Re: ESP8266 warming, heat radiation

#28 Post by Micha_he » 12 Feb 2021, 14:15

@TD-er: Even the one in rules?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: ESP8266 warming, heat radiation

#29 Post by TD-er » 12 Feb 2021, 14:21

Good question.
I think so, as in the end they do call the same function.
But I do have to check the code for this.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#30 Post by Smotek7 » 12 Feb 2021, 18:22

As I have a rule,
so fall asleep after 4 seconds
Even after a reset,
even after power up.
I think there must be the condition on GPIO16.

Smotek7
Normal user
Posts: 142
Joined: 01 Aug 2020, 16:18
Location: SK

Re: ESP8266 warming, heat radiation

#31 Post by Smotek7 » 12 Feb 2021, 20:40

Happy hand, deactivated the rule within 4 seconds.
I don't know how it should work, but my solution.
Linked GPIO16 to RST.
The rule
on System # Boot do
if [DR # State] = 1
LogEntry, "True"
timerSet, 1.10
else
LogEntry, "false"
EndOn

On Rules # Timer = 1 Do
deepsleep, 60
EndOn

I created a DR switch
I control whether to start the timer after the restart,
sleep or not sleep.

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests