# Cannot "import sensor" for the camera "OV5640-MOD R3"

**URL:** <https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160>\
**Category:** OpenMV Boards\
**Created:** [January 25, 2024, 5:31pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160 "2024-01-25T17:31:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![blueasteroid](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@blueasteroid](https://forums.openmv.io/u/blueasteroid)\
**Post date:** [January 25, 2024, 5:31pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/1 "2024-01-25T17:31:17Z")

</div>

I was trying to connect an “OpenMV-H7 R1 (10/27/18)” to a camera module “OV5640-MOD R3”, but not successful. it showed “RuntimeError: Failed to detect the image sensor or image sensor is detached.”

 ![2024-01-24 (6)](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/d/d8d3f58dd6451b3bd36264d6df1fc44ba6fea475.png)  
(Note below: I tried other camera modules, they are all working fine. e.g. OV5640 R1, MT9M114.)  
What should I do to get it working?  
Thanks very much.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [January 25, 2024, 6:44pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/2 "2024-01-25T18:44:20Z")

</div>

That sensor is enabled in our latest firmware: [openmv/src/omv/boards/OPENMV4/omv\_boardconfig.h at master · openmv/openmv (github.com)](https://github.com/openmv/openmv/blob/master/src/omv/boards/OPENMV4/omv_boardconfig.h#L56)

So… it should work if the hardware is fine.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [January 25, 2024, 7:44pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/3 "2024-01-25T19:44:19Z")

</div>

I can verify the firmware works with the H7 base.

---

<div class="post-metadata">

**Author:** ![blueasteroid](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@blueasteroid](https://forums.openmv.io/u/blueasteroid)\
**Post date:** [January 25, 2024, 7:55pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/4 "2024-01-25T19:55:14Z")

</div>

Dear kwagyeman, thanks very much for the quick reply.

 ![1706212202623](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/7/77326e767eff1238d865de5eb169cffb353b2e5f.jpeg)  
I tried the “OV5640-AF R1”, which works fine.  
It’s only the “OV5640-MOD R3” module, which is not connecting.  
Is there a method to diagnose the sensor?  
(or is it a discontinued product? no more maintenance.)  
Cheers.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [January 25, 2024, 8:34pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/5 "2024-01-25T20:34:44Z")

</div>

No, both should work. They have the same camera chip. They are both supported.

I can confirm that the ones I have function.

I guess clean the connector? Check for messed up pins?

---

<div class="post-metadata">

**Author:** ![blueasteroid](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@blueasteroid](https://forums.openmv.io/u/blueasteroid)\
**Post date:** [January 26, 2024, 6:31pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/6 "2024-01-26T18:31:47Z")

</div>

Thanks for the confirmation.  
I cleaned the connector by IPA 70%, still no improvement.  
Not sure what else I can do to get some clue. (any PDF for the camera module schematics?)  
Or I might just guess the camera module has been damaged during student usage.  
Thanks very much for all the help.

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [January 26, 2024, 6:46pm UTC](https://forums.openmv.io/t/cannot-import-sensor-for-the-camera-ov5640-mod-r3/9160/7 "2024-01-26T18:46:24Z")

</div>

Schematics are here:

[openmv-boards/openmv4/sensors at master · openmv/openmv-boards (github.com)](https://github.com/openmv/openmv-boards/tree/master/openmv4/sensors)

We are in the process of converting our eagle designs into altium and generating 3d CAD for them along with online viewers on the product pages like we have for the RT1062.
