M5GFX icon indicating copy to clipboard operation
M5GFX copied to clipboard

power button on m5paperS3, how to use as home button?

Open rudiratlos opened this issue 9 months ago • 1 comments

has someone experiance, how can I use the power button from my m5paperS3 as homebutton. e.g. short press, use a home for my on screen menue long press (e.g. 3seconds), power m5paperS3 off.

any ideas, whould be highly appreciated.

I know, I have posted a lot of questions, but I'm really puzzled, because the migration from M5EPD to m5unified is really dire. best regards

rudiratlos avatar Mar 17 '25 16:03 rudiratlos

Hello @rudiratlos

short answer: you can\t.

long answer: M5PaperS3 uses a separate MCU (U1 - PMS150G) to power on / off. And the power button is exclusively connected (SW_PWR) to this MCU. So I don't see a way to use it for anything else. See schematic here.

Thanks Felix

felmue avatar Mar 21 '25 14:03 felmue

I think this is probably not possible.

lovyan03 avatar Apr 17 '25 05:04 lovyan03

As mentioned earlier by @felmue the Button is exclusively connected to a separate 8-bit MCU (Padauk PMS150G). This MCU is not otherwise connected to the ESP32-S3 chip. There would be - in THEORY - a way to achieve this, but it would involve steps that would have really imbalanced cost-benefits. You would need to get a spare PMS150G, since those MCUs are One Time Programmed. You would need to download and get familiar with the toolchain of the chip and would probably need an impayable programmer. You also need to write the whole firmware from scratch. At last, you'd need to open the PaperS3, unsolder the old PMS150G and resolder it to the board and beg god you made everything correctly.

What leads me to @felmue's TLDR: You can't.

aponert avatar Apr 29 '25 11:04 aponert