OSError: [Errno 1] EPERM: ESP_FAIL M5Stack CoreS3 + Unit CamS3 displaying image on m5Stack
-
Hey,
I just starting my journey with M5stack, entering with very little knowledge about programming, I'm mostly supporting myself with AI language models who write scripts for me. I find it pretty interesting way to learn. At some point however I got stuck and I need your help.
I want simple thing - to display image from Unit CamS3 camera on M5Stack CoreS3 screen.
I tried already about 100 different scripts and all of them are ending with the same error:
OSError: [Errno 1] EPERM: ESP_FAILI use Thonny and M5Burner.
Any help really appreciated.
Thank you -
Hi, I have a S3 but I haven't focused on the Camera aspect yet as I am trying to get another project done with what little free time I have. There usually are examples in UIFLOW that you can download but I didn't see any right away.
I did find a PDF files that does have some basic samples using UIFLOW which brings me to my next point...being an educator there are limits on what one can use/learn AI for. I would encourage you to use UIFLOW first for proof of concept and then begin reverse engineer the micro python code that UIFLOW creates.
Good luck and when it works be sure to post the code here!
-
Hello @katastrofiko
may I suggest that you - as a beginner - try something simpler to start with? Displaying an image from Unit CamS3 camera on M5Stack CoreS3 screen is not exactly a simple thing.
However if you insist on doing that then I suggest you feed the error message into your AI and let AI fix it. Or try the next 100 scripts AI spits out. (Edison ultimately had success too.)
Personal side note: As a human being and software engineer I am glad that AI was not (yet) able to figure it out. That gives me hope for mankind.
Thanks
Felix -
Hi! Thanks to both of you for your answers.
I managed to get it working by using a different approach-via Wi-Fi. However, I’m still curious: why couldn't I connect via UART?
I suspect it might be related to the camera's firmware. It seems like the Unit CamS3 5MP Wi-Fi doesn't have default firmware to stream JPEG over UART. Is that correct? I’d love to understand why it works over Wi-Fi but fails over UART. I either managed to connect with camera (pin 17 and 18) but couldn't get any data back.
Any insights would be greatly appreciated!