frank26080115 / alpha-fairy

Wi-Fi Remote for Sony Cameras
https://eleccelerator.com/alpha-fairy-wireless-camera-remote/
MIT License
119 stars 10 forks source link

[Question] Would M5 StickC Plus2 be supported flawlessly? #35

Open sarkrui opened 8 months ago

sarkrui commented 8 months ago

image Hi Frank,

Thank you for developing this repository. I'm curious whether you have experimented with Plus2, an enhanced version of M5StickC Plus2, notably featuring an expanded battery and increased flash storage.

Following the steps outlined in INSTRUCTIONS.md, I successfully compiled and uploaded to Plus2 using PlatformIO. Despite this, the screen remains unlit and there's no response from the device. Could you advise on a suitable approach to begin troubleshooting this issue? I would assume the issue came from the new dependencies used in the Plus2 library, involving the M5Unified. Your assistance would be greatly appreciated.

Best regards, Sark

frank26080115 commented 8 months ago

I see that the LCD's pins have changed, original pins

#define TFT_MOSI 15
#define TFT_SCLK 13
#define TFT_CS   5   // Chip select line for TFT display on Shield
#define TFT_DC   23  // Data/command line for TFT on Shield
#define TFT_RST  18  // Reset line for TFT is handled by seesaw!

new pins

#define TFT_MOSI 15
#define TFT_SCLK 13
#define TFT_CS   5   // Chip select line for TFT display on Shield
#define TFT_DC   14  // Data/command line for TFT on Shield
#define TFT_RST  12  // Reset line for TFT is handled by seesaw!

can you try making this change inside https://github.com/frank26080115/alpha-fairy/blob/main/arduino_workspace/libraries/M5StickC-Plus/src/utility/In_eSPI_Setup.h and try again?

supritsinghlab commented 3 months ago

Did this work for you @sarkrui ? Coz I also have the StickC Plus2, and did the changes @frank26080115 you mentioned, the screen stays off. Could you check again once?

GregFroning commented 3 months ago

I'd also be interested in getting this going. Tried the above with no luck.

Attempted to start swapping to the M5Unified library but it looked like it was going to require quite a few changes. Might continue it later.

supritsinghlab commented 3 months ago

@frank26080115 is it possible for you to provide the micrpython version? It might be easier to port that to the new plus2.

clopoff commented 2 weeks ago

define TFT_MOSI 15

define TFT_SCLK 13

define TFT_CS 5 // Chip select line for TFT display on Shield

define TFT_DC 14 // Data/command line for TFT on Shield

define TFT_RST 12 // Reset line for TFT is handled by seesaw!

define TFT_BL 27

that works for me

supritsinghlab commented 2 weeks ago

@clopoff Thanks with the above, the display comes on now! However, it goes back to sleep quickly. Do you also see this behaviour? So it is still quite far away from its proper working.

clopoff commented 2 weeks ago

Yep. Buttons dont work correctly

frank26080115 commented 1 week ago

I purchased one, it's coming from M5Stack/China so it'll take a while.

I think I can put in an ugly piece of code to check if the device is a PICO-D4 or a PICO-V3 and act accordingly

so I'm puzzled, I don't see this product anywhere else, but plenty of the older versions on Amazons with Prime shipping. is the 2nd generation actually a popular product or is it dead? I have stuff being manufactured with the PICO-D4 still and it's not like there's a stock shortage, it's not EoL or anything.