/Paperclick

Primary LanguageCGNU General Public License v3.0GPL-3.0

Paperclick

Paperclick is a simple device which combines a Picoclick-C3T with the smallest EPaper display I found in the internet: a 1.02" 128x80 pixels EPD. The initial task was to create a simple activity tracker which updates the EPaper display with the current date and time once the display is pressed (actually it is not the display sensing the press, it's a button behind the display). The device gets the time from an NTP server over WiFi. Additionally the device can update an online service with the date/time the Paperclick was pressed.

Paperclick is based on the single core ESP32-C3 processor which is used in the Picoclick C3T as well. Furthermore it comes with an optimized battery monitoring which brings the complete device down to around 200nA current consumption in idle state. The latching circuit is optimized as well - it now doesn't use a GPIO of the MCU as a latch like it was done before, it uses the power supply of the embedded flash. Once the ESP32 enters deepsleep mode, that voltage supply will be pulled low to save a bit of power. This triggers the latch and the device will be disabled. And the best feature with this is that we don't have to struggle with the initial timings (boot speed up) like it was necessary with the Picoclick-C3T in its first version. The above mentioned power supply pin is immediately high once the MCU gets power (~3ms compared to minimal 60ms with using a GPIO). This makes it possible to use the Arduino framework without any restrictions!

Features

  • ESP32-C3 MCU with chip antenna
  • 1.02" 128x80 pixel Epaper display
  • Onboard battery charger
  • Optimized battery capacity estimation
  • Simple One-Button user interface (Two optional buttons available)
  • WS2812 user LED
  • LiPo battery charger with indicator LED

The Youtube video shows the assembly and soldering process, explains how the battery monitoring works and shows this little thing in action.

Battery monitoring

Till now I have estimated the battery capacity with a simple voltage divider between VBAT and GND and an analog input of the MCU to read the voltage. This will draw current all the time, even if the device is not activated.

I = V / R = 4V / (1MΩ + 250kΩ) = 3,2µA
I = V / R = 4V / (250kΩ + 250kΩ) = 8µA

In order to save these few µA of current, I searched for other solution which lead me to this article by Jean-Claude Wippler, where he additionally used a mosfet, a resistor and a capacitor to create something like a one-shot trigger for the voltage divider.

After some test with a Picoclick and my scope, that solution seems to be a very cool and interesting one. Paperclick is the first board where I tried this circuit, that's why there are so many measurement test points.

Power consumption

  • 82mA in average while WiFi connecting/transmitting and updating the ePaper display
  • 38mA in average with WiFi disabled and updating the ePaper display
  • 140nA in average in idle state

Assembled devive