-
Notifications
You must be signed in to change notification settings - Fork 7.3k
boards: shields: add suport for weact_ov2640_cam_module #77949
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
boards: shields: add suport for weact_ov2640_cam_module #77949
Conversation
I think we should define a binding for the connector (similar to Also, the I2C, DCMI (except BTW, should the shield be renamed to "ov2640_cam_module" for example? |
Thanks for your review, @JarmouniA! Since I'm not familiar with the connector binding approach, I'll take a look at it carefully. |
d73a2d8
to
76759c8
Compare
Hi, @JarmouniA.
I think it is done! Let me know if I got your suggestion right.
About the shield name, could it be "weact_ov2640_cam_module"? To make it less generic. |
Hi @CharlesDias, thanks for considering my suggestions.
Yeah, it looks good!
My point was that the connector should't be considered a WeAct one, it's used on a lot of boards from other vendors as well (like ESP32-CAM https://components101.com/sites/default/files/inline-images/ESP32-CAM-Schematics.png), so if we are going to make a compatible for it, it should not have WeAct in its name. Same thing for the camera module (https://components101.com/sites/default/files/components/ESP32-CAM-Camera-Module.jpg). |
Good observation, @JarmouniA. There is one point here to consider: even though the connector is similar, the position of the pins is different from the WeAct schematic https://github.com/WeActStudio/MiniSTM32H7xx/blob/master/HDK/STM32H7xx%20SchDoc%20V11.pdf. I believe this is a problem when creating a generic OV2640 shield version. What you think? |
Ah, good catch, didn't pay attention to this. In this case, would it make sense to have a generic compatible for the connector, then specific ones for each vendor, depending on the pins mapping, that include the common one? Or would it be simpler to just keep the current implementation? The same for the cam module. |
I think we would keep it simpler as in the current implementation. Is it ok for you? |
Yeah I agree. |
Thank you @JarmouniA for your valuable review! |
76759c8
to
d8c2dd2
Compare
Change the shield name to |
3a1d31f
to
222d51f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks in good condition to be merged.
The last little details that might have been missed will be a lot easier to fix once an alternative camera module is to be supported for this board, or once an alternative board tries to use that camera module.
Thank you for this integration!
boards/shields/weact_ov2640_cam_module/weact_ov2640_cam_module.overlay
Outdated
Show resolved
Hide resolved
boards/shields/weact_ov2640_cam_module/weact_ov2640_cam_module.overlay
Outdated
Show resolved
Hide resolved
00bf49e
to
8967d41
Compare
Hi, everyone. What you think about the use of |
8967d41
to
0e5f9b9
Compare
Change port label from |
The FPC can eventually be folded to rotate the camera by 180°, but then that can still be overridden by the user. |
@@ -0,0 +1,59 @@ | |||
/* | |||
* Copyright (c) Copyright (c) 2024 Charles Dias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
@@ -0,0 +1,44 @@ | |||
/* | |||
* Copyright (c) Copyright (c) 2024 Charles Dias |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
0e5f9b9
to
ada2cec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one small comment, looks good otherwise!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you put the change to this file in a different commit please?
Add support for WeAct Studio MiniSTM32H7xx OV2640 camera sensor. Signed-off-by: Charles Dias <[email protected]>
ada2cec
to
3988225
Compare
Add the Kconfig menu to the sample configuration. Update sample.yaml by adding the shield configuration. Signed-off-by: Charles Dias <[email protected]>
3988225
to
36bde7e
Compare
Add support for OV2640 camera sensor to use with WeAct Studio MiniSTM32H7xx boards.
PR dependency: