I found this strange behavior an I would like to share it with you.
I’ve few Electron running since the beginning of the year and I spent lot of time to redesign the PCB with some EM protection, TPL5010 watchdog and so on…
I tested the new board for a while just with the Electron without any enclosure and it works without any problem.
Yesterday with one of them after mounted into the plastic box (quite big like 150x110x70 mm) after connecting the battery it pulse white, then flash green then it blink cyan but after the first blink it start blinking white / D7 blue, like a multiple reset for few seconds, then repeat.
I tried another stock antenna and it was the same, then I tried another non stock antenna (same brand but different model, a super-wide range antenna) and the problem disappear.
The problem disappear also with the Electron out of the PCB but inside the box.
I found that the problem disappear if I completely remove the antenna (I think there is so much coverage that it connects without antenna as well).
Then I tried an external antenna, same problem. Now I put some aluminum foil next to the antenna wire and connector (not the Electron connector, the connector where you mount the antenna) and it works since last night without any problem.
Is it possible that the cellular signal may interference with the TPL5010 causing multiple resets?
Do you have a pull-down on the DONE line of the TPL5010?
I use a 10K pull-down on the TPL5000 because when the Electron first boots the GPIO that tickles the watchdog will be in INPUT (high-Z) mode, and the DONE line will float. This caused my watchdog to behave unpredictably.
As a side question, how does the TPL5010 save more power than going into deepsleep with a timer as in (System.sleep(SLEEP_MODE_DEEP, 7) which wakes every 7 seconds on its own?
I’m using the TPL5010 as watchdog with 1hour 30 min time trigger. Normally the Electron power up for 2 minutes every 10 during the day and every hour during the night, everything with System.sleep and it works.
I did another test, I’ve disabled the Particle.connection() code, now the Electron works till an http.get request I have in place as backup when there is no connection to the cloud.
To me seem something related to the data transmission itself. What could it be?