# Camera v1.3 not detected

**URL:** <https://openflexure.discourse.group/t/camera-v1-3-not-detected/462>\
**Category:** Request Help\
**Created:** [22 March 2021 11:17 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462 "2021-03-22T11:17:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muralig1984](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Muralig1984](https://openflexure.discourse.group/u/Muralig1984)\
**Post date:** [22 March 2021 11:17 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/1 "2021-03-22T11:17:34Z")

</div>

I have been testing the microscope mostly with the Rasp cam V2,however a day before I tried to switch to the older one i.e. v1.3 cam. Its not detecting and am seeing network error. When I tried to capture pic in terminal, it was successful.

---

<div class="post-metadata">

**Author:** ![r.w.bowman](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/r.w.bowman/32/15_2.png) [@r.w.bowman](https://openflexure.discourse.group/u/r.w.bowman)\
**Post date:** [24 March 2021 09:37 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/2 "2021-03-24T09:37:47Z")

</div>

Hi @Muralig1984 that’s probably a problem with our camera control code assuming you have a v2; unfortunately we don’t have any old camera modules set up to test with, we’ve entirely switched to v2 as v1.3 has reached its end-of-life although they are often still available from resellers, often very cheaply.

If you are able to debug where in the Python code it is failing (e.g. connecting to your microscope via SSH and using the output of `ofm serve`, or looking in `ofm log`) it might be possible to fix - but as we can’t test the fix, I should really just be reccomending everyone uses the better-supported v2 camera. The documentation might not be clear on that point - if you can point me at anywhere we suggest a v1.3 is still OK, I should probably just update the documentation to say it’s no longer supported.

---

<div class="post-metadata">

**Author:** ![samuelmcdermott](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/samuelmcdermott/32/112_2.png) [@samuelmcdermott](https://openflexure.discourse.group/u/samuelmcdermott)\
**Post date:** [24 March 2021 09:56 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/3 "2021-03-24T09:56:36Z")

</div>

Yes, at the moment the [OFM instructions](https://build.openflexure.org/openflexure-microscope/v6.1.5/docs/#/parts/electronics/raspberry_pi_camera) recommend to use v2 but also say that v1 still works so I’ve added [an issue](https://gitlab.com/openflexure/openflexure-microscope/-/issues/208) to clarify that we only support v2.

Delta Stage docs only specify the v2.

---

<div class="post-metadata">

**Author:** ![r.w.bowman](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/r.w.bowman/32/15_2.png) [@r.w.bowman](https://openflexure.discourse.group/u/r.w.bowman)\
**Post date:** [24 March 2021 21:40 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/4 "2021-03-24T21:40:03Z")

</div>

Thanks @samuelmcdermott I’m hoping to do a microscope patch release with documentation fixes and will add that in.

---

<div class="post-metadata">

**Author:** ![ffesti](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@ffesti](https://openflexure.discourse.group/u/ffesti)\
**Post date:** [24 September 2023 09:13 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/5 "2023-09-24T09:13:40Z")

</div>

Pi Cams v1.3 are currently available for very cheap. May be it is worth adding the parameters to the software to support them properly. That would allow having multiple optics to swap quickly without being too expensive. I have not looked into what that would entail, though.

---

<div class="post-metadata">

**Author:** ![WilliamW](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/williamw/32/106_2.png) [@WilliamW](https://openflexure.discourse.group/u/WilliamW)\
**Post date:** [24 September 2023 15:47 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/6 "2023-09-24T15:47:57Z")

</div>

Unfortunately adding other cameras requires a big change in the back end of the software. However there does need to be a big change in the camera implementation to catch up with the most recent version of the Raspberry Pi operating system. This is not yet done, but it should allow it to support more cameras ([New autofocus camera modules! - Raspberry Pi Camera Module 3](https://openflexure.discourse.group/t/new-autofocus-camera-modules-raspberry-pi-camera-module-3/1125)).

---

<div class="post-metadata">

**Author:** ![ffesti](https://avatars.discourse-cdn.com/v4/letter/f/eada6e/32.png) [@ffesti](https://openflexure.discourse.group/u/ffesti)\
**Post date:** [25 September 2023 09:43 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/7 "2023-09-25T09:43:14Z")

</div>

The Pi Cam 1.3 might actually be a good stepping stone for reworking the software infrastructure as it is cheap and works with the existing hardware. Any other camera would also need a new optics module designed in OpenSCAD.

---

<div class="post-metadata">

**Author:** ![r.w.bowman](https://yyz2.discourse-cdn.com/free1/user_avatar/openflexure.discourse.group/r.w.bowman/32/15_2.png) [@r.w.bowman](https://openflexure.discourse.group/u/r.w.bowman)\
**Post date:** [27 September 2023 15:05 UTC](https://openflexure.discourse.group/t/camera-v1-3-not-detected/462/8 "2023-09-27T15:05:06Z")

</div>

I’ve got a minimal working example of what I hope will become v3 of the software - and I can confirm the camera code currently works with Raspberry Pi camera module v2 or the HQ one, which are the two I have in my lab. I’m actually not sure I have a v1 to test against, but there’s some code here:

> **[GitHub - rwb27/labthings-picamera2: A LabThings-FastAPI Thing for working...](https://github.com/rwb27/labthings-picamera2)**
>
> A LabThings-FastAPI Thing for working with picamera2 - GitHub - rwb27/labthings-picamera2: A LabThings-FastAPI Thing for working with picamera2

Unfortunately I have not yet added instructions on how to run it, so if you’d be keen to do some testing, shout and I’ll try to add them… it’s very much work in progress though, so please treat it gently!
