ESP8266 warming, heat radiation
Moderators: grovkillen, Stuntteam, TD-er
ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
Maybe it's the DS18b20 itself !?
If the time between the measurements is to low, the DS18b20 warms up 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.
Re: ESP8266 warming, heat radiation
I mentioned DS18B20 only as an example.
This is an image with an S8 connection to Wemos D1mini. I'm testing sleep mode.
I think it will help.
This is an image with an S8 connection to Wemos D1mini. I'm testing sleep mode.
I think it will help.
Re: ESP8266 warming, heat radiation
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)
It looks like the heat does come from the voltage regulator, but I'm not sure. (would make sense though)
Re: ESP8266 warming, heat radiation
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.
It's photographed too much from a short distance.
That big heat is the processor, the small right the bottom stabilizer.
Re: ESP8266 warming, heat radiation
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)
But 51C is quite hot.
Had not expected it to become so warm. (20C above ambient temp)
Re: ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
Nice to see the antenna is the coolest place on the board.
Re: ESP8266 warming, heat radiation
Not
thermo image and real image are shifted
The cool place is the metal cover ESP12
thermo image and real image are shifted
The cool place is the metal cover ESP12
Re: ESP8266 warming, heat radiation
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.
Re: ESP8266 warming, heat radiation
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.
Re: ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
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
See for an example the wiki documentation: https://www.letscontrolit.com/wiki/inde ... =SleepMode
Re: ESP8266 warming, heat radiation
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
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
Re: ESP8266 warming, heat radiation
Instead...
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.
better use...on WiFi#Connected do
If [Switch#State]=0
publish,%sysname%/status,"Start"
Code: Select all
on MQTT#Connected do
If [Switch#State]=0
publish,%sysname%/status,"Start"
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.
Re: ESP8266 warming, heat radiation
I do not use MQTT
is MQTT internal?
I am sending Generic UDP
is MQTT internal?
I am sending Generic UDP
Re: ESP8266 warming, heat radiation
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
Info: https://espeasy.readthedocs.io/en/lates ... mmand.html
Re: ESP8266 warming, heat radiation
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
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
Re: ESP8266 warming, heat radiation
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.
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.
Thus it needs to have an MQTT controller configured.
This will only fire if you set a timer.I need to set a timer or just use:
On Rules # Timer = 1 Do
deepsleep, 60
EndOn
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.
Re: ESP8266 warming, heat radiation
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.
Simply omit the publish-commands or replace them with "LogEntry, 'text in the log'" in your rule example.
Re: ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
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.
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.
Re: ESP8266 warming, heat radiation
GPIO16 to GNDI have to make a back door in the rules.
Re: ESP8266 warming, heat radiation
The first sleep after a power cycle will allow you to change settings within 30 seconds.
Re: ESP8266 warming, heat radiation
@TD-er: Even the one in rules?
Re: ESP8266 warming, heat radiation
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.
I think so, as in the end they do call the same function.
But I do have to check the code for this.
Re: ESP8266 warming, heat radiation
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.
so fall asleep after 4 seconds
Even after a reset,
even after power up.
I think there must be the condition on GPIO16.
Re: ESP8266 warming, heat radiation
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.
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.
Who is online
Users browsing this forum: No registered users and 139 guests