andrew.p.r
Posts: 5
Joined: Mon Nov 04, 2013 1:13 pm

Problems with camera board

Mon Nov 04, 2013 1:18 pm

Hi,

I've recently purchased a camera board for my pi i've run all the updates and updated the firmware using the commands below

Code: Select all

sudo apt-get update
sudo apt-get upgrade
sudo rpi-upgrade
I then rebooted and ran

Code: Select all

raspi-config
to enable the camera.

Then ran

Code: Select all

raspistill -v -o picture.jpg
this turned the red led on the camera board on and gave me the following output

Code: Select all

raspistill Camera App v1.3.4

Width 2592, Height 1944, quality 85, filename picture.jpg
Time delay 5000, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera stills port to encoder input port
Opening output file picture.jpg
Enabling encoder output port
Starting capture 0

no preview window has come up and the pi has stopped here.

Any hint or tips as to anything that I've done wrong??


Thanks

Andrew

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23686
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with camera board

Mon Nov 04, 2013 1:57 pm

Double check all the connections, including the one from the module to the camera PCB itself, that comes sometimes come undone.

What power supply are you using?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

andrew.p.r
Posts: 5
Joined: Mon Nov 04, 2013 1:13 pm

Re: Problems with camera board

Mon Nov 04, 2013 2:20 pm

I've checked all the connections and they all seem secure.

Currently using and iPhone power adaptor.


Thanks

Andrew

andrew.p.r
Posts: 5
Joined: Mon Nov 04, 2013 1:13 pm

Re: Problems with camera board

Mon Nov 04, 2013 3:22 pm

Just to say i've also tried this with an iPad power supply (2.1A @ 5V)


Andrew

gordon77
Posts: 4174
Joined: Sun Aug 05, 2012 3:12 pm

Re: Problems with camera board

Mon Nov 04, 2013 5:33 pm

Seeing you have done all the upgrades is it worth trying the latest version of raspistill?

$ cd
$ sudo apt-get install build-essential git cmake
$ git clone https://github.com/raspberrypi/userland.git
$ cd userland
$ git checkout master
$ ./buildme

andrew.p.r
Posts: 5
Joined: Mon Nov 04, 2013 1:13 pm

Re: Problems with camera board

Tue Nov 05, 2013 10:36 am

Thanks everyone.


Still no joy, think this maybe fault going to speak to my supplier about getting a replacement.

I know that it's not had a static discharge as i work in a computer repair shop and we have an ESD safe area.


Thanks

Andrew

User avatar
pluggy
Posts: 3635
Joined: Thu May 31, 2012 3:52 pm
Location: Barnoldswick, Lancashire,UK
Contact: Website

Re: Problems with camera board

Tue Nov 05, 2013 11:22 am

Check the voltage across the test points, the Power supply may be good, but the lead you're using may not be up to it, the camera board has a serious current dependency. It ups the power requirement quite significantly.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23686
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with camera board

Tue Nov 05, 2013 11:34 am

200-250mA.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: Problems with camera board

Tue Nov 05, 2013 11:48 am

That 200mA really seems to make a difference.
Before the camera, I could just throw any power source to Pi and it just worked. Never any problems. I even measured low voltages (like 4,5 V from the TP1/TP2), but system still worked reliably.
But after connecting the camera, it suddenly was more difficult and needed more quality on power. I really need to reach the 4,8V before it works properly.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23686
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with camera board

Tue Nov 05, 2013 12:35 pm

shuckle wrote:That 200mA really seems to make a difference.
Before the camera, I could just throw any power source to Pi and it just worked. Never any problems. I even measured low voltages (like 4,5 V from the TP1/TP2), but system still worked reliably.
But after connecting the camera, it suddenly was more difficult and needed more quality on power. I really need to reach the 4,8V before it works properly.
200mA is another 30% or so. It's nothing the Raspi can change - camera modules are simply very thirsty. When you think about it, there are 5Millions pixel points each with diodes, transistors, capacitors etc, then a bunch more to handle the data addressing. That's a lot of silicon, all of which uses power, and all the time the camera is on - no sneaky power management possible.

Reference....
The 6502 microprocessor has 3510 transistors
The AMD K5 Processor has 4.3M transistors
The ARMv7 has 500k transistors

The camera module has at least 5M transistors...
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

kaos
Posts: 108
Joined: Mon Mar 26, 2012 8:14 pm

Re: Problems with camera board

Tue Nov 05, 2013 12:54 pm

Not that I've had any power supply problems personally, but judging from the various posts in this forum, I suspect that this is not only a question of extra power required, but also that the camera module is more sensitive to low voltage than the Raspi itself. As Shuckle pointed out, the Raspi seems to chuck along quite happily on voltages as low as 4.5V, but the camera requires full TTL spec; 5V +/- 5%, or very close to it. I don't think there is anything to be done about that though; we just have to ensure that our power supplies (including cables) can deliver enough juice without voltage sag. Imo, 5V 1A should be considered a practical minimum for a Raspi + camera + a couple of low power peripherals (f.x. mouse and keyboard). In an ideal world, ensuring this should be as simple as reading the label on the power supply to check if it's up to spec, but unfortunately not all supplies live up to the promise of their labeling :( .

--
Regards, Kári.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23686
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with camera board

Tue Nov 05, 2013 2:58 pm

kaos wrote:Not that I've had any power supply problems personally, but judging from the various posts in this forum, I suspect that this is not only a question of extra power required, but also that the camera module is more sensitive to low voltage than the Raspi itself. As Shuckle pointed out, the Raspi seems to chuck along quite happily on voltages as low as 4.5V, but the camera requires full TTL spec; 5V +/- 5%, or very close to it. I don't think there is anything to be done about that though; we just have to ensure that our power supplies (including cables) can deliver enough juice without voltage sag. Imo, 5V 1A should be considered a practical minimum for a Raspi + camera + a couple of low power peripherals (f.x. mouse and keyboard). In an ideal world, ensuring this should be as simple as reading the label on the power supply to check if it's up to spec, but unfortunately not all supplies live up to the promise of their labeling :( .

--
Regards, Kári.
Not sure. It's certainly possible, but there are so many links in the chain that need adequate power it difficult to tell where the weak link may be.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

andrew.p.r
Posts: 5
Joined: Mon Nov 04, 2013 1:13 pm

Re: Problems with camera board

Mon Nov 11, 2013 12:13 pm

Just to wrap this up i've received a replacement board and this is now working.

Thanks to everyone that suggested fixes though.


Andrew

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23686
Joined: Sat Jul 30, 2011 7:41 pm

Re: Problems with camera board

Mon Nov 11, 2013 12:20 pm

Good news! Enjoy!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

Return to “Camera board”