Paper S3 questions
-
I know the PaperS3 is really new but just wondering if anyone has figured out the following:
-
Github for the factory demo - I cannot find it.
-
Any way to get the S3 to wakeup via touch (interrupt) or side button, when in a light sleep?
-
Side button can turn off the S3 but not turn it back on (when not plugged into a power source), hence it cannot be used to "reset" the S3 (it only works when the S3 gets power via the USB).
If anyone has figured out the above, that would be very helpful.
otherwise it works relatively well
thanks
-
-
- The factory demo code is not provided by official
-
[Some corrections - see followup comments.]
I have not started reverse engineering the power states on my PaperS3 yet but as far as I can tell with the Arduino IDE, clicking the button once will power up the device and double clicking will power it off.
Pushing and holding the device will cause it to re-run whatever boot stack is on it, which for a Arduino IDE-installed program in the same as powering it up.The device cannot be turned off when the USB is connected to a power souce.There is no way to control the LEDs so if you need to test if the device is running you can work something up with the screen, sound, and touch.
Being an e-ink device the objective is to leave the device off most of the time, and only wake it to update the screen every once in a while.
The feature I would like to see documented, if it exists, is a way to power the gyro off and on. The product page says, "Low power mode: DC 4.2V / 9.28µA (main power off, gyroscope in low power mode); Standby mode: DC 4.2V / 949.58µA (main power off, gyroscope on)" Which means the battery could last for weeks if you didn't need the gyro.
-
Hello @wsanders
the function of the M5PaperS3 power button is described here.
With USB connected I can power off my M5PaperS3 with a power button double-click. I am running a simple program periodically reading the battery voltage and printing it into the log. And the log stops when I double-click the power button.
Thanks
Felix -
@felmue You are correct. I put some code in my program to blink a filled circle on the display, e.g.
void loop(void) { display.startWrite(); if (color == 0) { display.fillCircle(500,910,20,TFT_WHITE); } else { display.fillCircle(500,910,20,TFT_BLACK); } display.endWrite(); color = (color + 1) % 2; sleep(3); }
If I double click the switch while the device is connected to USB it turns off. This is using the Arduino IDE. If the device is off and I press-and-hold the switch the device does not reboot or power on.
-
@wsanders said in Paper S3 questions:
Being an e-ink device the objective is to leave the device off most of the time, and only wake it to update the screen every once in a while.
Just curious if you (or anyone else has) actually got this working on a PaperS3 - meaning on battery only if you can go to light/deep sleep and it wakes up on a timer (it only wakes up on a timer for me when on power but not on battery for me).