I tried to use an Arduino implementation. Hours of digging through the source code later because half this stuff is undocumented I'm giving up, because the design choices are fundamentally stupid and broken. Why did I even try? Seriously. Sigh.
-
-
It's really sad, because I implemented my entire application in 200 lines of code using all these wonderful pre-existing libraries, and now I have to rewrite it (which will probably be 2000 lines) because I hit a fundamental showstopper with power management.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
would it be worth separating the sensor from the SoC?
-
Considered it, but yuck. It's so much neater all in one box.
End of conversation
New conversation -
-
-
when in doubt I just ignore all the library stuff and write the relevant registers directly, and _usually_ nothing minds
-
The chip is undocumented. You need to use ESP's blob libs. Which is still better than Arduino wrappers on top of ESP's blob libs.
End of conversation
New conversation -
-
-
had the same problem some time ago. Pooling in loop until wifi link, resets almost always. Only way to use is in AT modem mode with a second uC.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I use one for my MegaDrive WiFi cartridge with FreeRTOS based esp-open-rtos, and yep, power saving for that chip is completely broken. E.g., it keeps the RTC running during sleep, but clears its registers on wake...
#WATThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
This Tweet is unavailable.
-
The solution is "don't use Arduino".https://twitter.com/marcan42/status/1031907303497261063 …
End of conversation
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.