These are chat archives for esp8266/Arduino

25th
Nov 2018
Thorsten von Eicken
@tve
Nov 25 2018 15:24
I did some tests around using the esp8266 in several low-power modes to see whether it's feasible to keep a device connected & responsive while running on battery for a week to a month. It ended up being a pretty deep dive into all the details of wifi and I wrote everything up in a rather long series of blog posts: https://blog.voneicken.com/projects/low-power-wifi/
If you're not already familiar with how much power deep-sleep uses and how long it takes to wake-up, or how automatic light-sleep behaves you might find something interesting... If you spot something incorrect, I'd love to hear!
Develo
@devyte
Nov 25 2018 18:44
@tve I suggest also studying the RDA5981 aka HLK-50. From what I can see, it's a more serious competitor to the ESP than the RTL8710
Develo
@devyte
Nov 25 2018 19:04
@tve Also, your writeups would make a good entry into our repo's wiki
Thorsten von Eicken
@tve
Nov 25 2018 20:17
thanks for the HLK-50 tip, I'll have to take a look :-)
I have to admit I'm not really up for copying the stuff into the Wiki... Wouldn't it be better to have links?
Develo
@devyte
Nov 25 2018 21:34
The problem with links is what happens x years down the line. In other words, links to external sites can get broken. In contrast, having the contents in the wiki assures that it will be available as long as the code is.
BTW, I don't usually make this suggestion. In fact, I think it's the first time ever. The reason why I think this particular topic would make a good entry is the ridiculous number of issues opened on the subject, alongside the incredible amount of confusion on how it's supposed to work and behave and timings and current etc. Since you wrote it all up, it only makes sense to me that you should be not just the author, but also the committer of the whole thing in the repo. In other words, you would be the author of the official guide on the subject for future users.
Thorsten von Eicken
@tve
Nov 25 2018 21:34
OK, lemme think about it :-)
Those RDA5981 boards are dirt cheap! I hope there's some arduino lib available somewhere, else I'll have to roll-up my sleeves and dive into MBED, ugh.
Develo
@devyte
Nov 25 2018 21:40
no
that's the generic esp8266 wiki, which is unrelated to our Arduino
Thorsten von Eicken
@tve
Nov 25 2018 21:41
now I see that there's also one page there, but it's really not obvious
is that where you meant?
Develo
@devyte
Nov 25 2018 21:45
correct. We don't really have wiki entries of our own. That's because our documentation isn't in the wiki section of the repo. Of course, you could convert your articles for integration into our docs, but I think in this particular case, given your blog origin, it would be better as a first entry in our own wiki than in our docs. Also, it's a guide, or rather a report of the experiments you did, and not really documentation of the core.
so I suspect it would be much easier to convert your articles to wiki entries than to .rst or .mk files.
Thorsten von Eicken
@tve
Nov 25 2018 21:47
the blog posts are written in markdown (hugo)
Develo
@devyte
Nov 25 2018 21:53
ok, so maybe I'm wrong and it would be easier to integrate into our docs :laughing:
wait, that's not quite right. Our internal doc files are markdown, but the formal documentation for the core is in .rst for export to readthedocs.org
Thorsten von Eicken
@tve
Nov 25 2018 22:43
NP, I think the wiki is more appropriate than the docs, this is really not docs material