Hi,
I'm sure many people have done E-ink clocks before, certainly ESP32-based wifi connected clocks seem to be a very common project. So I may have a go:
* If I can get a couple of black/white e-ink displays - they use no power when not changing, and can be updated in a couple of seconds (the colour ones look cooler but have a much slower refresh)
* I would like to make it completely solar powered with no battery. This means it won't be able to operate in darkness.
So questions
- Which ESP32 module do people use? I see there are rather a lot (AI-thinker and Espressif being the most common brands). The ESP32-WROOM-32D seems to be a popular one (other letters for variations) ? (I mean a castellated pins module that I can hand-solder easily, not the esp32-pico-d4 SOM which I used before and was a pain!)
- To program the esp32, we can use a serial/usb thing. Some models of ESP32 have built-in USB, but most don't. I know some people (Jeremy?) have built serial-usb chips into their project. I recently did a simple board with a WCH CH340C which worked very well (and very simple), but I haven't hooked up the RST / BOOT signals to a ESP32. Does anyone have an example of doing this? I know there is some circuit to control the reset/boot signals to allow the module to be programmed "hands free" from the computer without needing to hold down any buttons or short any jumper.
- On solar power - if I get a couple of 6V solar panels and put them in series - the panel should be able to put out maybe 100mA in full sunlight (maybe 50mA in a well lit room?) - any ideas for how to do this?
- Voltage regulation - the common two methods are linear regulator and switching regulator, but I notice that a lot of them (from the datasheet) have quite high quiescent current (e.g. up to 5mA) which is not ideal, as it could use up a lot of the power when the solar panels are not well lit. I am currently thinking of using a "low quiescent current" linear reg, for example the TI TPS709, which claims 1uA quiescent current. Is that a good idea?
- If I put about 16000 uF of capacitors on the output of the solar, according to my calculations it should be able to power the ESP32 for at least few seconds - long enough to connect to wifi, read the time and change the display - even if it happens to be in the dark during that period.
Obviously the firmware will have to be reasonably clever to avoid using too much power and draining the capacitors down- it will need to spend a lot of time in sleep modes.
I definitely need to do some experiments with solar panels and capacitors to see whether the back-of-fag-packet calculations I've done actually work with real components.
Mark