This spring I got the idea to use a framed edp (e-ink paper-ish display) with a wifi connection to show the hourly electricity price and consumption. The electricity prices here in Europe have gone up quite a bit, so it's nice to pay attention to when during the day they are the lowest.
The next step was connecting to the wifi. I've used the esp8266 wifi module soldered to an espruino pico using the shim. Getting it to connect was really easy, it worked on the first attempt. But then getting it to connect again an hour later didn't work. After a lot of work I ended up rewriting the wifi module so that it doesn't connect to wifi as part of the setup call. I also changed some parts to use promises.
The final problem was getting the deep sleep to work. I want this to run on batteries for as long as possible so it should deep sleep between refreshes (every hour). It should also disable the wifi and the e-paper controller.
That's a short summary of where I am now. The problem I have is that the battery is drained very quickly, IMO. Three AA batteries in series are drained in about 12 days. It fetches the image to show every hour, so about 300 times before it dies.
The batteries are not completely drained, the combined voltage is way above 3.3v, so I suspect there is too much peak current being drawn. Any tips on how to improve this?
That looks amazing! Sorry for the delay replying, I missed this post initially.
Your code is at https://github.com/mariusGundersen/edp-frame ?
So you actually stream the data over wifi into the e-ink display, so you don't have to worry about RAM usage? That's really neat.
I guess we've talked a bit about the power consumption at https://forum.espruino.com/conversations/380201/ so hopefully there are some ways to get it lower.
I really want to do something similar (especially as we have solar now), but the $50+ price of the bare displays seems a bit much for me when it seems you can root a second hand kindle (although it's not color, and that does add a lot).
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem