-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M5Stack UnitCam S3 #104
Comments
I have got the Platform IO working for this but having issues building for the |
Hi cohen, Use the develop version. |
I did use the Develop version. ill look into the Camera config for the pins. |
Yes, good luck, the develop version is an attempt to get it also running on other platforms. This was required for the seeed_xiao_esp32s3 that uses the esp32s3. Not everything has been tested so help is very welcome. |
will do nice code by the way. |
so I use this Env it compiles and loads for my M5camS3 Unit, I can get the config page and log into my wifi, but as you say the Camera Config might be incorrect. I looked at the pins and the M5 docs https://docs.m5stack.com/en/unit/Unit-CamS3 but I really have no idea what to change on this:- |
Hiconstexpr camera_config_t m5stack_camera_settings = { |
Thanks. Just to confirm I am using the Env constexpr camera_config_t xiao_esp32s3_camera_settings = { |
I built using the default_envs = m5stack_esp32cam in the Platformio . ini |
Maybe board is off... I think this is a new version and needs to be added |
It's all one device. Board and camera together. If I understand your question.
I want to use it as home security camera. It's small.
…Sent from my iPhone
On 28 Jan 2024, at 22:55, Rene ***@***.***> wrote:
Maybe board is off... I think this is a new version and needs to be added
What do you use for the board?
—
Reply to this email directly, view it on GitHub<#104 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEECUMCY46BHCTN6ANJPQULYQY4DJAVCNFSM6AAAAABCN5U57OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGU3TAOBQHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Added it to the project, development branch, just uncomment in the platformio.ini the board... |
thanks ill try it out in the morning. |
No guarantees, but maybe your fiddling will make it work? |
Thanks for your help. I get a panic after loading. Rebooting... Core 1 register dump: Backtrace: 0x4204ab83:0x3fcebcf0 0x42043cc1:0x3fcebd40 0x42043812:0x3fcebd70 0x4201299d:0x3fcebdc0 0x42005a66:0x3fcebde0 0x42005ea8:0x3fcebee0 0x420160e2:0x3fcebf70 ELF end of error. the build output if it helps. Building in release mode Leaving... Environment Status Duration m5stack_unitcams3 SUCCESS 00:00:12.590
|
Could you add the exception decoder in the platformio.ini? |
will do. |
Its in the INI file already line 36 of the ini |
I get the following Build warning. from Problems screen 'return' with no value, in function returning non-void |
[env:m5stack_unitcams3] tried to set a debug level not sure where it prints out? |
Here is the latest Panic message with a little more detail. [ 235][I][main.cpp:232] initialize_camera(): Frame duration: 200 ms Rebooting... Core 1 register dump: Backtrace: 0x4204b673:0x3fcebce0 0x420447b1:0x3fcebd30 0x42044302:0x3fcebd60 0x420131dd:0x3fcebdb0 0x42005cda:0x3fcebdd0 0x4200628c:0x3fcebee0 0x42016b5e:0x3fcebf70 |
Panic with Verbose Debug on. Rebooting... Core 1 register dump: Backtrace: 0x4204d473:0x3fcebce0 0x420465b1:0x3fcebd30 0x42046102:0x3fcebd60 0x42014ef9:0x3fcebdb0 0x4200608e:0x3fcebdd0 0x420066f0:0x3fcebee0 0x4201891a:0x3fcebf70 |
@rzeldent I have tried a few things around MAIN - LINE 232, but to no effect. any ideas what is causing the Panic? |
Hi cohen, You need to add the line for the exception decoder. This will make the backtrace readable.. |
can you advise what to add and where? is that in ini file or somewhere else? |
Add the line:
in the platformio.ini file |
Its in the INI file already line 36 of the ini only thing did not do is. set build type to debug instead of release by adding build_type = debug to your platformio.ini (https://community.platformio.org/t/cannot-get-esp32-exception-decoder-to-work/37588) |
I think it only works if the other filters are not present... |
Tried to Build with Debug. this is what is see in the Monitor- I note the wrong config version note sure what that related too. Rebooting... Core 1 register dump: Backtrace: 0x42050193:0x3fcebb20 0x420492d1:0x3fcebb70 0x42048e22:0x3fcebba0 0x42017755:0x3fcebbf0 0x420093f6:0x3fcebc10 0x42009874:0x3fcebd10 0x4201b582:0x3fcebd90 |
Hi cohen, Updated the develop branch with new types: https://github.com/rzeldent/esp32cam-rtsp/tree/develop |
I'll give it a try later today. thanks for the hard work on this, it's a very helpful code. |
I ran the new version but using the Definition for "default_envs = esp32cam_m5stack_unitcams3" it has panic and reboot. |
the following file of ESP32CAM_M5STACK_UNITCAMS3, does not crash but the camera does not work. the Webpage is available via 192.168.4.1 with a camera error. { |
Here is my latest try as the Json file, it runs but the camera does not start. also included the camera Schematics. see the U2 MAPPINGS FOR THE Y CODES. I think the error is there. { |
Hi Cohen, Yes, I see some differences!. Will updated the board: diff --git a/boards/esp32cam_m5stack_unitcams3.json b/boards/esp32cam_m5stack_unitcams3.json
Found the definitions that were in the json somewhere and assumed they were right. However, the schematic is different. Thanks for your help and hope this works now! |
Thanks I’ll try it later. Is the Flash Size correct at 8 ? |
Unfortunately its still erroring and rebooting. ELF file SHA256: 947182b7746a3913 Rebooting... Core 1 register dump: Backtrace: 0x4204d3c2:0x3fcebc70 0x42046539:0x3fcebcc0 0x4204608a:0x3fcebcf0 0x42014b4d:0x3fcebd40 0x42005e96:0x3fcebd60 0x42006510:0x3fcebe70 0x42017922:0x3fcebee0 |
With the information I can find these seem to be the right mappings. Unfortunately I do not know exactly what the device is; and if these pins are correct. The sensor might also be different than the specs. |
I got the cam working!!
|
That's great news I'll give it a go. thanks for sharing. |
@sheedje well done, can confirm that got it. |
@sheedje thank you very mutch, good job. |
odd. I'm still getting panics with this config if I try to stream via web or rtsp.
this is my config
Am I doing something wrong? |
Updated the settings in develop: fe7195c Thanks guys! |
FYI ran
These warnings came up -- same as @cohen-sydney reported previously in this issue thread:
In case it's of use:
|
I enabled the warnings in the build flags (-Wall) to explicitly have all the warnings. |
Absolutely a good thing to do. FYI comments on the same warnings in the espressif / arduino-esp32 repo stated:
As shown above, I ran Is there another command I should be running to get the version of |
Hi I have not mastered Platform IO, any chance that there is an Arduino version??
I am trying to load this onto a M5Stack UnitCam S3 to stream to HomeKit via HomeBrigde FFMPEG.
thanks.
The text was updated successfully, but these errors were encountered: