VladimirP1 / esp-gyrologger

GNU Lesser General Public License v2.1
78 stars 10 forks source link

M5StickC Plus 2 support #22

Open SeirenC opened 6 months ago

SeirenC commented 6 months ago

the M5StickC Plus version 2 gets stuck in a bootloop when display type is changed / unable to reconnect to the network. Requesting display support for the ST7789v2 135*240 TFT LCD (monochrome fill is fine, just as indicator that it is recording and if possible the file name for keeping track).

The version 2 from the M5StickC Plus also has a battery built in. This is currently not working and the device only works when plugged in. From M5-docs:

Power on: Wake up can be started by pressing "BUTTON C (GPIO35)" for more than 2 seconds, or IRQ signal triggered by RTC regularly. After triggering the wake up signal, the hold(GPIO4) pin needs to be set to a high level (1) in program initialization to maintain the power supply, otherwise the device will enter the shutdown state again. Power off: When no USB external power supply is available, press BUTTON C for more than 6 seconds. Or when there is no USB external power supply, set HOLD(GPIO4)=0 in the program operation, that is, to achieve power off. When the USB is connected, press the "BUTTON C" button for more than 6 seconds to turn off the screen and enter the hibernation state, but not power off.