|
| 1 | +.. _st_b_cams_omv_mb1683: |
| 2 | + |
| 3 | +ST B-CAMS-OMV-MB1683 |
| 4 | +#################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The camera module bundle (B-CAMS-OMV) provides extension connectors |
| 10 | +for the MB1379 STMicroelectronics camera module daughterboard or |
| 11 | +third-party modules like OpenMV and Waveshare modules. It can be used |
| 12 | +with the STM32 boards featuring a 1 x 30 pin ZIF connector for the |
| 13 | +connection of multiple cameras to implement computer vision on STM32 |
| 14 | +microcontrollers easily. |
| 15 | + |
| 16 | +The camera module bundle is compatible with all STM32 Discovery kits and |
| 17 | +Evaluation boards featuring a ZIF connector, such as the STM32H747I-DISCO, |
| 18 | +STM32H7B3I-DK, and 32L4R9IDISCOVERY Discovery kits. |
| 19 | + |
| 20 | +.. figure:: st_b_cams_omv.webp |
| 21 | + :width: 600px |
| 22 | + :align: center |
| 23 | + :alt: B-CAMS-OMV-MB1683 |
| 24 | + |
| 25 | + B-CAMS-OMV MB1683 Image (Credit: STMicroelectronics.) |
| 26 | + |
| 27 | +The camera signals go into the shield from one of the supported input |
| 28 | +connectors (CN1, CN2, CN4), and out of the shield towards Zephyr through |
| 29 | +the output 30-pin ZIF connector CN5. |
| 30 | + |
| 31 | +Refer to the `User manual`_ for the pinout of CN1 and CN2. |
| 32 | + |
| 33 | +Waveshare camera board connector CN4 (camera input) |
| 34 | +*************************************************** |
| 35 | + |
| 36 | ++------------+-----------------+------------+--------------+ |
| 37 | +| Pin number | Description | Pin number | Description | |
| 38 | ++============+=================+============+==============+ |
| 39 | +| 1 | GND | 2 | VCAM | |
| 40 | ++------------+-----------------+------------+--------------+ |
| 41 | +| 3 | I2C_SDA | 4 | I2C_SCL | |
| 42 | ++------------+-----------------+------------+--------------+ |
| 43 | +| 5 | DCMI_HSYNC | 6 | DCMI_VSYNC | |
| 44 | ++------------+-----------------+------------+--------------+ |
| 45 | +| 7 | Camera_CLK | 8 | DCMI_PIXCLK | |
| 46 | ++------------+-----------------+------------+--------------+ |
| 47 | +| 9 | DCMI_D6 | 10 | DCMI_D7 | |
| 48 | ++------------+-----------------+------------+--------------+ |
| 49 | +| 11 | DCMI_D4 | 12 | DCMI_D5 | |
| 50 | ++------------+-----------------+------------+--------------+ |
| 51 | +| 13 | DCMI_D2 | 14 | DCMI_D3 | |
| 52 | ++------------+-----------------+------------+--------------+ |
| 53 | +| 15 | DCMI_D0 | 16 | DCMI_D1 | |
| 54 | ++------------+-----------------+------------+--------------+ |
| 55 | +| 17 | PWR_EN / LED1 | 18 | RESET# | |
| 56 | ++------------+-----------------+------------+--------------+ |
| 57 | + |
| 58 | +ZIF connector CN5 (camera output) |
| 59 | +********************************* |
| 60 | + |
| 61 | ++------------+-----------------+ |
| 62 | +| Pin number | Description | |
| 63 | ++============+=================+ |
| 64 | +| 1 | 3V3 | |
| 65 | ++------------+-----------------+ |
| 66 | +| 2 | GND | |
| 67 | ++------------+-----------------+ |
| 68 | +| 3 | I2C_SCL | |
| 69 | ++------------+-----------------+ |
| 70 | +| 4 | I2C_SDA | |
| 71 | ++------------+-----------------+ |
| 72 | +| 5 | RESET# | |
| 73 | ++------------+-----------------+ |
| 74 | +| 6 | PWR_EN / LED1 | |
| 75 | ++------------+-----------------+ |
| 76 | +| 7 | SHUTTER | |
| 77 | ++------------+-----------------+ |
| 78 | +| 8 | GND | |
| 79 | ++------------+-----------------+ |
| 80 | +| 9 | PULLDOWN / LED2 | |
| 81 | ++------------+-----------------+ |
| 82 | +| 10 | Camera_CLK | |
| 83 | ++------------+-----------------+ |
| 84 | +| 11 | 3V3 | |
| 85 | ++------------+-----------------+ |
| 86 | +| 12 | DCMI_VSYNC | |
| 87 | ++------------+-----------------+ |
| 88 | +| 13 | 5V (RSU) | |
| 89 | ++------------+-----------------+ |
| 90 | +| 14 | DCMI_HSYNC | |
| 91 | ++------------+-----------------+ |
| 92 | +| 15 | GND | |
| 93 | ++------------+-----------------+ |
| 94 | +| 16 | DCMI_PIXCK | |
| 95 | ++------------+-----------------+ |
| 96 | +| 17 | GND | |
| 97 | ++------------+-----------------+ |
| 98 | +| 18 | SPI_MISO | |
| 99 | ++------------+-----------------+ |
| 100 | +| 19 | SPI_CS | |
| 101 | ++------------+-----------------+ |
| 102 | +| 20 | DCMI_D7 | |
| 103 | ++------------+-----------------+ |
| 104 | +| 21 | DCMI_D6 | |
| 105 | ++------------+-----------------+ |
| 106 | +| 22 | DCMI_D5 | |
| 107 | ++------------+-----------------+ |
| 108 | +| 23 | DCMI_D4 | |
| 109 | ++------------+-----------------+ |
| 110 | +| 24 | DCMI_D3 | |
| 111 | ++------------+-----------------+ |
| 112 | +| 25 | DCMI_D2 | |
| 113 | ++------------+-----------------+ |
| 114 | +| 26 | DCMI_D1 | |
| 115 | ++------------+-----------------+ |
| 116 | +| 27 | DCMI_D0 | |
| 117 | ++------------+-----------------+ |
| 118 | +| 28 | SPI_MOSI | |
| 119 | ++------------+-----------------+ |
| 120 | +| 29 | SPI_CLK | |
| 121 | ++------------+-----------------+ |
| 122 | +| 30 | GND | |
| 123 | ++------------+-----------------+ |
| 124 | + |
| 125 | +Requirements |
| 126 | +************ |
| 127 | + |
| 128 | +The camera module bundle is compatible with all STM32 Discovery kits and |
| 129 | +Evaluation boards featuring a ZIF connector, such as the STM32H747I-DISCO, |
| 130 | +STM32H7B3I-DK, and 32L4R9IDISCOVERY Discovery kits. |
| 131 | + |
| 132 | +Usage |
| 133 | +***** |
| 134 | + |
| 135 | +The shield can be used in any application by setting ``SHIELD`` to |
| 136 | +``_st_b_cams_omv_mb1683`` and adding the necessary device tree properties. |
| 137 | + |
| 138 | +Set ``--shield "st_b_cams_omv_mb1683"`` when you invoke ``west build``. For example: |
| 139 | + |
| 140 | +.. zephyr-app-commands:: |
| 141 | + :zephyr-app: samples/drivers/video/capture_to_lvgl |
| 142 | + :board: stm32h7b3i_dk |
| 143 | + :shield: st_b_cams_omv_mb1683 |
| 144 | + :goals: build |
| 145 | + |
| 146 | +References |
| 147 | +********** |
| 148 | + |
| 149 | +- `Product page <https://www.st.com/en/evaluation-tools/b-cams-omv.html>`_ |
| 150 | + |
| 151 | +- `Databrief <https://www.st.com/resource/en/data_brief/b-cams-omv.pdf>`_ |
| 152 | + |
| 153 | +- `User manual <https://www.st.com/resource/en/user_manual/um2779-camera-module-bundle-for-stm32-boards-stmicroelectronics.pdf>`_ |
0 commit comments