Hi all.
Normally, I work directly with MCUs like PICs etc, but I needed to whip something up that had wifi connectivity, and using an ESP8266 based product and the Arduino IDE seemed to be a good way to do that.
I bought some NodeMCU boards off Amazon, they seem to have a 12E on them.
I have a problem, however, where they just dont seem to "run by themselves". By this I mean:
* When I write code and upload via the Arduino IDE, they will boot and start operating every time
* If I take a board that has had code uploaded to it, and plug it in to a USB power adapter somewhere, it doesnt seem to run
I have an RTC hooked up via I2C which generates a once per minute interrupt which causes the ESP to send off a small amount of data which gets logged on a Raspberry Pi, but I dont see these logs coming in unless I am effectively running it in a development environment.
Does anyone know what is causing this? It kind of defeats the purpose of building something that can then be tucked away and forgotten about, if they are going to need constant attention.
I have sometimes randomly been able to get them to boot, but its very infrequent.
Thanks!