Debugging crashes

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Debugging crashes

#1 Post by riker1 » 02 Mar 2018, 13:12

Hi

just want to understand debugging options ....

while having a temp sensor attachted to the ESP01s it worked fine.

Now I placed it into a box and mounted it, - no easy access - it crashes and I have to unplug the power to reboot.

Syslog is not showing a problem
last entry: Unit: 174 : WD : Uptime 35 ConnectFailures 0 FreeMem 24848

Load is not high:
Load: 22% (LC=25738)

any hints for this approach?

Thanks T

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

Re: Debugging crashes

#2 Post by TD-er » 02 Mar 2018, 23:04

Power supply? Placed in some box where WiFi reception is poor?
The pins used by the temp sensor have no pull-up resistors active and acts as some kind of antenna?

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: Debugging crashes

#3 Post by riker1 » 03 Mar 2018, 07:50

Hi TD-er,
thanks for the hints,
checked them.

power is providing 400 mA, should be sufficient.
I can not get a value out from system info : Input VCC...

after reboot it reconnects to wifi perfect
it is close to the router.

signal is always around:
Wifi RSSI: -66 dB

Resistor is used for temp sensor ds18b20

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Debugging crashes

#4 Post by Domosapiens » 03 Mar 2018, 11:06

power is providing 400 mA, should be sufficient.
I doubt. During WiFi activity the ESP is power hungry.

The Wiki:
USB power supply
If you want to use a USB charger as a power supply, make sure it has a CE marking and delivers enough current. 1 Ampere is the least.
https://www.letscontrolit.com/wiki/inde ... wer_supply
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

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

Re: Debugging crashes

#5 Post by TD-er » 03 Mar 2018, 19:15

You could add some elco over the 3V3 line to shave off the peak current.

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: Debugging crashes

#6 Post by riker1 » 19 Mar 2018, 09:47

Thanks TD,

looks it is a heat problem of the buck converter.
getting to warm in the box

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests