User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Cheap repair replacement for v2 camera sensor, v2 board must be intact

Sat Jan 12, 2019 4:11 pm

Contrary to Raspberry v1 camera that saw cheap clones soon, v2 camera is secured by a crypto chip on the camera board, which (until now) successfully resulted in no v2 camera clones.

In case only v2 camera image sensor is broken or damaged (I replaced original v2 camera lens with an M12 mount lens, and some small dirt ended up on the blank image sensor), you could just buy a new imx219 camera module only for less than 12$ (with free shipping to Germany) instead of 25$ for complete v2 camera with board:
https://www.aliexpress.com/item/IMX219- ... 14495.html
Image


I wanted to test that out, and instead having to wait for 30-50 days, I ordered the same "IMX219 Camera Module for the official Raspberry Pi Camera Board V2" from ebay in my country for 17$. By that the imx219 sensor arrived within 4 days from order.

Today I did try the new imx219 sensor. First I used (as always) the 2m flat ribbon cable to connect the v2 camera module with my Pi 3B+. This never did show any issues sofar for me, but I know that 6by9 wrote several times in different threads that longer than 15cm flat ribbon cable is problematic.

First I did unscrew the M12 mount with lens from the v2 board, then unplugged the tiny connector, and finally clicked the new connector into the board. The difference to original imx219 sensor is that the new sensor has 6cm cable length between board and image sensor, while original has less than 1cm (the original connector is on top of new connector plugged into v2 board, I did tape onto the original camera sensor in order to avoid more dust inside):
Image


The preview of mode 7 raspistill -t 0 on HDMI monitor looked really bad, many artefacts I have never seen before. I did record still with this command:

Code: Select all

raspistill -md 7 -w 640 -h 480 -o tst.md7.2m.jpg
While the preview did not look nice, the camera worked in principle, but to my surprise an all black image got stored:
Image


So the question was: Bad imx219 sensor or bad 2m flat ribbon cable?

I replaced the 2m cable with the original 15cm one, and all issues are gone, with same capture command as above:
Image


Summary:
  • If you have a broken imx291 image sensor, but a good v2 camera board, you can get a working v2 camera for 12$ only
  • I did screw the M12 mount with lens again on my (only) v2 camera board.
    Now I can flip easily between M12 lens imx219 and original lens imx219!
    Image
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Mon Jan 14, 2019 3:22 pm

For taking images from 30cm above ground I switched back to M12 lens imx219 and used 2m cable again. No issues in preview, unlike before with other sensor. But same result when storing raspistill photo, all black image. It seems my 2m cable has reached end of life ...
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Sat Jan 19, 2019 12:15 pm

6by9 made interesting comment wrt this replacemenet camera sensor and EMC:
https://www.raspberrypi.org/forums/view ... 5#p1417265

There is another cheap replacement v2 sensor with short as original flexi that should not have EMC problems:
https://www.raspberrypi.org/forums/view ... 1#p1418701
Image
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Sat Jan 19, 2019 3:26 pm

Wow, while searching for an Arduino Pro mini programmer on my electronic part shelves I discovered a Raspberry v2 camera that I burned somehow in the past. Camera was not detected after boot with regular 15cm cable.

I removed the broken imx219 sensor completely, inserted the replacement sensor, did "vcgencmd get_camera" and the camera was detected! Now I have 2 working v2 cameras(!!), and 7 v1 cameras (I have opened the package around the broken imx219, now raw sensor is visible):
Image


Next I used my old v2 camera with M12 lens and 13cm aluminum between imx219 and lens as microscope as done before:
https://www.raspberrypi.org/forums/view ... 0#p1409956
Image


Here you see with 0.153µm/pixel resolution some contacts inside the package at bottom right. Top left you see the bottom right corner of the raw image sensor:
Image
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

camkadev
Posts: 13
Joined: Thu May 25, 2017 7:32 pm

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Tue Sep 24, 2019 8:37 pm

found another camera for replacement with long cable, but i don't know about compatibility with PCB.
i am interested to buy it but need someone help to specify compatibility
Image
Image
Image

camkadev
Posts: 13
Joined: Thu May 25, 2017 7:32 pm

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Wed Sep 25, 2019 6:54 am

found PCB schematic for V2 I examined the pinout of J2 and this means, unfortunately, that camera is not compatible

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Wed Sep 25, 2019 7:32 am

For 20$ price plus shipping that replacement camera does not make sense, you can buy a real Raspberry v2 camera (imx219 sensor) for slightly more. Got to https://www.raspberrypi.org/products/ select V2 or V2 NoIR and then click Buy to find out the price for your country.
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

camkadev
Posts: 13
Joined: Thu May 25, 2017 7:32 pm

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Wed Sep 25, 2019 7:15 pm

the reason why i am looking for cameras like this: i need long flexible cable to use it in my robot to take small size as possible and it is also should be fisheye

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Wed Sep 25, 2019 7:41 pm

camkadev wrote:
Wed Sep 25, 2019 7:15 pm
i need long flexible cable to use it in my robot to take small size as possible and it is also should be fisheye
I removed v2 NoIR builtin lens and added M12 mount. That way I can put in any M12 lens (I have 3.98°/20°/65°/75°/130°/150° lenses):
https://www.raspberrypi.org/forums/view ... 7#p1279957

You can use v2 camera with longer flex cables (30cm/1m/2m/3m), but only 15cm cable is guaranteed to work without issues.

Yesterday I used v2 Pi NoIR camera with 20° lens to capture infrared lighted scene, with 2m flex cable:
https://www.raspberrypi.org/forums/view ... 3&t=252642
Image
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

camkadev
Posts: 13
Joined: Thu May 25, 2017 7:32 pm

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Wed Sep 25, 2019 7:54 pm

camera board still is too big, i need less size to hide it in tower of robot
Image

User avatar
HermannSW
Posts: 3176
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Thu Sep 26, 2019 5:47 am

Your image does not show. There are v1 based Raspberry spycams which are small, but fisheye lens makes it big. This seems to be the smallest:
https://thepihut.com/products/zerocam-f ... ry-pi-zero
https://stamm-wilbrandt.de/en/Raspberry_camera.html
https://stamm-wilbrandt.de/en#raspcatbot
https://github.com/Hermann-SW/raspiraw
https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/working_with_FPGAs

camkadev
Posts: 13
Joined: Thu May 25, 2017 7:32 pm

Re: Cheap repair replacement for v2 camera sensor, v2 board must be intact

Thu Sep 26, 2019 8:48 am

the image is just my robot

the camera you linked have 15 GBP price that is similar to $20 in my currency (Russian Ruble)
here is not so expensive variant

Return to “Camera board”