Alternatives or replacements for camera flex cable?
Are there alternatives that one can make for the camera module flex cable? Something like a rounded cable that is a bit more flexable? Also what would be the max distance the cable (flex or otherwise) could be?
Re: Alternatives or replacements for camera flex cable?
15cm as it is now. The devs say that you *may* get away with 30cm.
Re: Alternatives or replacements for camera flex cable?
The signals down the cable are extremely high speed so you get degradation if you go too far, messing up the quality.
I'm not aware of any round cables that would fit.
I'm not aware of any round cables that would fit.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
-
- Posts: 36
- Joined: Sat Mar 23, 2013 5:09 pm
Re: Alternatives or replacements for camera flex cable?
I have the same problem myself, I want to mount a camera behind the windscreen of my car, and the flatcable won't give me enough length. I was going to look for a longer flatcable first (as those are easy to tuck away in a car). Haven't looked yet though but they don't look like standard cables.
If I couldn't find a longer flatcable I was planning to solder it myself (voiding the warranty of course). I figured I should be ok with 30cm or maybe a little more. I was planning to remove the connector off the board of the camera, use a bit of flatcable to connect to the pi itself so I don't need to mess with that, and then go from the connector to a piece of round cable which I'd solder directly to the camera board.
Needless to say it's all tiny stuff so you need good soldering skills and there is a high risk of breaking something. From experience I know that flatcable is very tricky to solder to because it tends to melt the plastic very quickly so you need a soldering station with adjustable heat.
I was going to use shielded cable with thin cores (preferably solid cores as there is a high risk of stranded cores untangling and hitting the next pad). It seems to be 15-core cable. I know about the signal degradation but I was hoping it would be OK for my uses. There's usually a high margin to guarantee EMC compatibility and the supplied cable is not shielded so I was hoping to reach a bit further with shielded cable. But you are running way out of spec obviously so it may not work.
I'll let you know how I get on. Not sure yet though when I'll get the cams I ordered and when I have time. I wouldn't recommend to try it out before anyone else has done it if you don't have experience with fine soldering to SMD components (and you need to be prepared to cope with the loss of the camera board if you mess it up).
If I couldn't find a longer flatcable I was planning to solder it myself (voiding the warranty of course). I figured I should be ok with 30cm or maybe a little more. I was planning to remove the connector off the board of the camera, use a bit of flatcable to connect to the pi itself so I don't need to mess with that, and then go from the connector to a piece of round cable which I'd solder directly to the camera board.
Needless to say it's all tiny stuff so you need good soldering skills and there is a high risk of breaking something. From experience I know that flatcable is very tricky to solder to because it tends to melt the plastic very quickly so you need a soldering station with adjustable heat.
I was going to use shielded cable with thin cores (preferably solid cores as there is a high risk of stranded cores untangling and hitting the next pad). It seems to be 15-core cable. I know about the signal degradation but I was hoping it would be OK for my uses. There's usually a high margin to guarantee EMC compatibility and the supplied cable is not shielded so I was hoping to reach a bit further with shielded cable. But you are running way out of spec obviously so it may not work.
I'll let you know how I get on. Not sure yet though when I'll get the cams I ordered and when I have time. I wouldn't recommend to try it out before anyone else has done it if you don't have experience with fine soldering to SMD components (and you need to be prepared to cope with the loss of the camera board if you mess it up).
Re: Alternatives or replacements for camera flex cable?
Please report back with your results, even if it didn't work out. It'll be highly interesting to see how far away people manage to get the camera.GekkePrutser wrote:I have the same problem myself, I want to mount a camera behind the windscreen of my car, and the flatcable won't give me enough length. I was going to look for a longer flatcable first (as those are easy to tuck away in a car). Haven't looked yet though but they don't look like standard cables.
If I couldn't find a longer flatcable I was planning to solder it myself (voiding the warranty of course). I figured I should be ok with 30cm or maybe a little more. I was planning to remove the connector off the board of the camera, use a bit of flatcable to connect to the pi itself so I don't need to mess with that, and then go from the connector to a piece of round cable which I'd solder directly to the camera board.
Needless to say it's all tiny stuff so you need good soldering skills and there is a high risk of breaking something. From experience I know that flatcable is very tricky to solder to because it tends to melt the plastic very quickly so you need a soldering station with adjustable heat.
I was going to use shielded cable with thin cores (preferably solid cores as there is a high risk of stranded cores untangling and hitting the next pad). It seems to be 15-core cable. I know about the signal degradation but I was hoping it would be OK for my uses. There's usually a high margin to guarantee EMC compatibility and the supplied cable is not shielded so I was hoping to reach a bit further with shielded cable. But you are running way out of spec obviously so it may not work.
I'll let you know how I get on. Not sure yet though when I'll get the cams I ordered and when I have time. I wouldn't recommend to try it out before anyone else has done it if you don't have experience with fine soldering to SMD components (and you need to be prepared to cope with the loss of the camera board if you mess it up).
-
- Posts: 36
- Joined: Sat Mar 23, 2013 5:09 pm
Re: Alternatives or replacements for camera flex cable?
Will do!Maxion wrote:Please report back with your results, even if it didn't work out. It'll be highly interesting to see how far away people manage to get the camera.
By the way (and maybe this isn't the right place), is there any record of the pinout of the camera cable? It would be good to find out which wires are carrying actual high-speed data and which are just for grounding or power. Some may even be unused.
I'm just wondering because I'm thinking it might help to use cable with separate shielding for some individual wires, like the old SCART cables have for the video signal. It might help a bit to shield the ones carrying the data.
Re: Alternatives or replacements for camera flex cable?
http://www.raspberrypi.org/wp-content/u ... .2_027.pdfGekkePrutser wrote:
By the way (and maybe this isn't the right place), is there any record of the pinout of the camera cable? It would be good to find out which wires are carrying actual high-speed data and which are just for grounding or power. Some may even be unused.
Re: Alternatives or replacements for camera flex cable?
Looking at the above schematics, and the CSI specification, you can reasonably assume that we are dealing with FPD-Link for image data transmission coupled with I2C for control information. Typically used as a connection between a laptop LCD and the laptop GPU.
http://en.wikipedia.org/wiki/FPD-Link
http://www.mipi.org/specifications/came ... rface#CSI2
You can find info on FPD-Link stating that it is possible to have cables up to 5m in length, or even 10m with DC-Balancing.
The problem is skew, or making sure that the clock and data lines have exactly the same length. I can't find any information on the CSI implementation on the RPi, so it's impossible to say if the chipset involved has DC-Balancing, automatic deskewing. With a ribbon cable it's easy to get the same lengths of the data lines, but the data line pairs should be twisted for noise resistance for larger distances. Then if you go to twisted pair you get the skew problems. You can also find twisted ribbon cables, maybe those would do the trick.
To summarize: it seems theoretically possible to make a longer cable, but not without picking the right cable type, some effort and trial/error.
http://en.wikipedia.org/wiki/FPD-Link
http://www.mipi.org/specifications/came ... rface#CSI2
You can find info on FPD-Link stating that it is possible to have cables up to 5m in length, or even 10m with DC-Balancing.
The problem is skew, or making sure that the clock and data lines have exactly the same length. I can't find any information on the CSI implementation on the RPi, so it's impossible to say if the chipset involved has DC-Balancing, automatic deskewing. With a ribbon cable it's easy to get the same lengths of the data lines, but the data line pairs should be twisted for noise resistance for larger distances. Then if you go to twisted pair you get the skew problems. You can also find twisted ribbon cables, maybe those would do the trick.
To summarize: it seems theoretically possible to make a longer cable, but not without picking the right cable type, some effort and trial/error.
Fix instead of throwing away. Save the planet one gadget at a time.
Re: Alternatives or replacements for camera flex cable?
Hi all
I have a similar question cause i break the cable yesterday...
I tried to strip it before the damaged point but it doesn't seems to work anymore
Any means to buy / replace / construct one ?
(i leave in france)
Thanx for your answers
J./
I have a similar question cause i break the cable yesterday...
I tried to strip it before the damaged point but it doesn't seems to work anymore
Any means to buy / replace / construct one ?
(i leave in france)
Thanx for your answers
J./
- Gert van Loo
- Posts: 2487
- Joined: Tue Aug 02, 2011 7:27 am
Re: Alternatives or replacements for camera flex cable?
The cables can be bought from Toby UK.Any means to buy / replace / construct one ?
This is the web page:
http://www.toby.co.uk/content/catalogue ... xx-A-xx-xx
The type required is FFC1-15-B150105160MM
Re: Alternatives or replacements for camera flex cable?
My heroGert van Loo wrote:The cables can be bought from Toby UK.Any means to buy / replace / construct one ?
This is the web page:
http://www.toby.co.uk/content/catalogue ... xx-A-xx-xx
The type required is FFC1-15-B150105160MM

Many thx !
- alexandru.cucu
- Posts: 75
- Joined: Mon Sep 05, 2011 6:07 pm
Re: Alternatives or replacements for camera flex cable?
For the round cable issue... you could try cutting the insulation between the wires and bring them together.
You might want to buy some spare cables just in case your blade slips
Here is the method applied to IDE (P-ATA) cables:
http://www.instructables.com/id/Round-IDE-Cables/
You might want to buy some spare cables just in case your blade slips

Here is the method applied to IDE (P-ATA) cables:
http://www.instructables.com/id/Round-IDE-Cables/
https://launchpad.net/~alexandru.cucu
Re: Alternatives or replacements for camera flex cable?
I ordered a couple of different lengths from these guys = they came extrmely quickly!
Haven't tried them out yet.............
Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555
Re: Alternatives or replacements for camera flex cable?
There are 4 grounds but I think all are needed for signal integrity (high-speed logic). All pins are connected on the S5 connector, the only one which may possibly be unused is the clock signal to the camera; originally intended to come from the RPi SoC, but later a clock was added on the camera board for EMI reasons.GekkePrutser wrote: is there any record of the pinout of the camera cable? It would be good to find out which wires are carrying actual high-speed data and which are just for grounding or power. Some may even be unused.
Re: Alternatives or replacements for camera flex cable?
I think that ex-clock line is now attached to the GPIO for the LED.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
- Gert van Loo
- Posts: 2487
- Joined: Tue Aug 02, 2011 7:27 am
Re: Alternatives or replacements for camera flex cable?
Indeed it is.jamesh wrote:I think that ex-clock line is now attached to the GPIO for the LED.
Re: Alternatives or replacements for camera flex cable?
http://www.ebay.co.uk/itm/AlienSpec-CSI ... 1c2f3f76b5
I ordered Two cables from them. Arrived next day. I have used one of them because the cable on the camera from RS arrived damaged.
Works very well.
Leo
I ordered Two cables from them. Arrived next day. I have used one of them because the cable on the camera from RS arrived damaged.
Works very well.
Leo
-
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6721
- Joined: Wed Aug 17, 2011 7:41 pm
- Location: Cambridge
Re: Alternatives or replacements for camera flex cable?
Which length have you tried? Have we got confirmation of 30cm working?leol wrote:http://www.ebay.co.uk/itm/AlienSpec-CSI ... 1c2f3f76b5
I ordered Two cables from them. Arrived next day. I have used one of them because the cable on the camera from RS arrived damaged.
Works very well.
Leo
(You would assume the eBay seller has tested them, but nice to hear it confirmed).
Re: Alternatives or replacements for camera flex cable?
I have tried 10 cm and 30 cm. Both seem to work equally well. Of course you mileage may differ!
Leo
Leo
dom wrote:Which length have you tried? Have we got confirmation of 30cm working?leol wrote:http://www.ebay.co.uk/itm/AlienSpec-CSI ... 1c2f3f76b5
I ordered Two cables from them. Arrived next day. I have used one of them because the cable on the camera from RS arrived damaged.
Works very well.
Leo
(You would assume the eBay seller has tested them, but nice to hear it confirmed).
- Gert van Loo
- Posts: 2487
- Joined: Tue Aug 02, 2011 7:27 am
Re: Alternatives or replacements for camera flex cable?
Just a tip.
For the prototype cameras I could not get the right cable in time.
So I bought these: http://uk.farnell.com/jsp/search/produc ... tt=1908499
And then with some scissors cut off 1mm from each side.
(You don't have to cut off the whole lenght but you are welcome to try
)
This may leave a tiny slither of conductor but that does not matter
Basically the cable specifications are :
Type : FFC / FPC (Flat Flex)
Wires : 15
Pitch : 1mm
Contacts : Type B (This means you have the contacts at opposite sides of the cable. So one is at the top and the other at the bottom)
For the prototype cameras I could not get the right cable in time.
So I bought these: http://uk.farnell.com/jsp/search/produc ... tt=1908499
And then with some scissors cut off 1mm from each side.
(You don't have to cut off the whole lenght but you are welcome to try

This may leave a tiny slither of conductor but that does not matter
Basically the cable specifications are :
Type : FFC / FPC (Flat Flex)
Wires : 15
Pitch : 1mm
Contacts : Type B (This means you have the contacts at opposite sides of the cable. So one is at the top and the other at the bottom)
- Attachments
-
- flexcable.GIF (2.87 KiB) Viewed 108598 times
Re: Alternatives or replacements for camera flex cable?
Hello,
I would like to test whether >30 cm is possible. How can I connect two ribbon cables of the mentioned kind?
Thanks
I would like to test whether >30 cm is possible. How can I connect two ribbon cables of the mentioned kind?
Thanks
Re: Alternatives or replacements for camera flex cable?
We've tested about 4m. Works fine.
Pictures coming soon.

Pictures coming soon.
Check out our raspberry pi addons: https://www.bitwizard.nl/shop/
Re: Alternatives or replacements for camera flex cable?
Check out our raspberry pi addons: https://www.bitwizard.nl/shop/
Re: Alternatives or replacements for camera flex cable?
Woohoo!rew wrote:We've tested about 4m. Works fine.![]()
Pictures coming soon.

What type of cable did you use?