SolderedElectronics / Inkplate-Arduino-library

Inkplate family Arduino library. The easiest way to add e-paper to your project.
https://inkplate.readthedocs.io/en/latest/arduino.html
GNU Lesser General Public License v3.0
250 stars 78 forks source link

High Deep Sleep current draw for InkPlate10 #178

Closed K-J-Q closed 1 year ago

K-J-Q commented 1 year ago

Measured the current consumption of InkPlate10 using PPK2, and got 8mA in deep sleep.... for wake on touchpad example

ifadiga commented 1 year ago

Can you send a picture to us to know which Inkplate10 you have? We have old Inkplate10 (e-radionica) and Soldered Inkplate 10, and they have small differences in the hardware design. Because of that, we must know what you have that we can help you to find what is in the problem.

Maybe you can try to add this commented line in your code if you have old Inkplate10. image

ifadiga commented 1 year ago

Hi, You didn't attach a picture. Can you put it here on GitHub?

K-J-Q commented 1 year ago

503B8768-F853-4C2C-B0DE-8D5915A98E24

ifadiga commented 1 year ago

I measured the current on my device, and it is 23uA in sleep. How do you measure current? Did you use a battery or USB port?

If you measure with USB then the current will be higher because the USB is connected to a USB-UART converter, which needs 7-8mA when working.

You can connect 5V to a VIN pin if you have a power supply, or you can use a battery, then the board must have a current of about 23uA.

K-J-Q commented 1 year ago

I have measured with the battery power as an input.

What program did you run ?

ifadiga commented 1 year ago

Hi, I used the same example but added a line to isolate GPIO_12.

Can you measure current with this example?

K-J-Q commented 1 year ago

Got the desired output! thanks for your help. (mistake was connecting power to 3V3 pad instead of VIN)

image