1) The TPL5111 (with its DRV pin) turns on the ENABLE pin of the voltage regulator.
2) The ESP8266-01, powered by the regulator, does its thing and raises the TPL5111's DONE pin.
3) The TPL5111 turns off the ENABLE pin of the voltage regulator (and the ESP loses power.)
4) Repeat after an hour.
So, I have connected GPIO1 to the TPL5111's DONE pin. But it only works once (for me). GPIO1 should be LOW from power-on-reset and then, at the end of the data logging process, be (made) HIGH. But this does not seem to happen with my digitalWrite(1, x); instructions, no matter how I juggle the LOW's and HIGH's (I have a pinMode(1, OUTPUT); at the start.)
Can anyone help? I'm at my wits' end.
Nelari wrote:2) The ESP8266-01, powered by the regulator, does its thing and raises the TPL5111's DONE pin.
I don't have much measuring equipment, so I added a simple (RC) edge detector at the TPL5111's DONE pin. Judging from its behaviour, the ESP's GPIO1 pin goes HIGH immediately at power-on – even though there has not been time for the data-logging program to run, and there has been no digitalWrite to access the pin. The TPL5111 interprets this rising edge as the DONE signal, and turns off the ESP's power. So the ESP does get power, but loses it right away.
If this is what is going on, I would need a way to make sure the GPIO1 pin stays LOW during the ESP's power-on. Is there such a way?
Who is online
Users browsing this forum: No registered users and 1 guest
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!