I have discovered that my PI2 is camera-shy !
Taking it's picture with a flash causes an instant power off !
I've done it three times now and same thing happens each time.
First two times I didn't realise what had happened as I wasn't looking at the screen at the time and only noticed a few minutes afterwards.
Third time I did it just to watch the screen.... Instant power off.....
Any ideas ?
PeterO
Why is the PI2 camera-shy ?
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
An entirely separate camera or on that is powered through the Pi ?
If its a separate camera, thats spooky.
If its a separate camera, thats spooky.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......
I must not tread on too many sacred cows......
Re: Why is the PI2 camera-shy ?
EMP from the capacitor discharge inducing a spike in the power cable?
Seems unlikely.
A lot of semiconductors are light-sensitive. Maybe the reverse-polarity diode on the power input? It would need to get through the opaque case but the casing of small surface-mount components can't be too thick.
Seems almost as unlikely though.
Edit: I was expecting batteries, but if it's connected to power, then it's a voltage spike. A sharp spike can get through anything; down the power line to mains and back up into the RaspPi is not unlikely. Even more so if it's connected closer of course.
Seems unlikely.
A lot of semiconductors are light-sensitive. Maybe the reverse-polarity diode on the power input? It would need to get through the opaque case but the casing of small surface-mount components can't be too thick.
Seems almost as unlikely though.
Edit: I was expecting batteries, but if it's connected to power, then it's a voltage spike. A sharp spike can get through anything; down the power line to mains and back up into the RaspPi is not unlikely. Even more so if it's connected closer of course.
Re: Why is the PI2 camera-shy ?
No electrical connection between camera (battery powered) and the PI. I would suspect it is an "photonic" effect of some sort on a poorly encased semiconductor. Something in the power circuits does sound likely.
PeterO
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
Neat trick. What model camera is it?
Re: Why is the PI2 camera-shy ?
I doubt that is important !ktb wrote:Neat trick. What model camera is it?
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
[quote="PeterO"][quote="ktb"]Neat trick. What model camera is it?[/quote]
I doubt that is important !
PeterO[/quote]
Fair enough. I was slightly interested in attempting to reproduce the problem and was wondering if my Canon 500D or Moto X would do the trick.
I doubt that is important !
PeterO[/quote]
Fair enough. I was slightly interested in attempting to reproduce the problem and was wondering if my Canon 500D or Moto X would do the trick.
Re: Why is the PI2 camera-shy ?
You could always try attenuating the flash with a thoughtfully placed finger to reduce its impact. Something I do when taking close ups to stop it washing out the picture.
Don't judge Linux by the Pi.......
I must not tread on too many sacred cows......
I must not tread on too many sacred cows......
Re: Why is the PI2 camera-shy ?
Power-off or just crash? What are the symptoms?
I'm probably teaching grandma to suck eggs but ...
How far away does the camera have to be to not affect the Pi?
Does it still do it in the next room? With the door closed?
How about with the Pi at the other end of the garden, but with the flash pointing at it?
How about powering it from batteries, disconnecting the monitor etc. then setting off the flash. Then plug the monitor and keyboard back in to see what happened.
I'm probably teaching grandma to suck eggs but ...
How far away does the camera have to be to not affect the Pi?
Does it still do it in the next room? With the door closed?
How about with the Pi at the other end of the garden, but with the flash pointing at it?
How about powering it from batteries, disconnecting the monitor etc. then setting off the flash. Then plug the monitor and keyboard back in to see what happened.
Re: Why is the PI2 camera-shy ?
To all intents and purposes it was OFF. Red light still showing, but no other signs of life. The screen went into standby so no video output.Burngate wrote:Power-off or just crash? What are the symptoms?
I suggest you get your own PI2 if you want to know the answers to all those questions....
I'm probably teaching grandma to suck eggs but ...
How far away does the camera have to be to not affect the Pi?
Does it still do it in the next room? With the door closed?
How about with the Pi at the other end of the garden, but with the flash pointing at it?
How about powering it from batteries, disconnecting the monitor etc. then setting off the flash. Then plug the monitor and keyboard back in to see what happened.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
I do, but I don't have the need for any more pictures of itjdb wrote:Do you have any blu-tac?
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
Ok - I've managed to reproduce the problem here, anyway.
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
- DougieLawson
- Posts: 42636
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: Why is the PI2 camera-shy ?
Is this an experiment we can all do? Or does it need some quaint camera/flashgun hardware?jdb wrote:Ok - I've managed to reproduce the problem here, anyway.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
Re: Why is the PI2 camera-shy ?
Confirmed here too.DougieLawson wrote:Is this an experiment we can all do? Or does it need some quaint camera/flashgun hardware?jdb wrote:Ok - I've managed to reproduce the problem here, anyway.
Took photo with flash using Samsung Note2 - Pi 2 remains ok
Took photo with Samsung K Zoom - Pi 2 crashes.
Oh, and its a freeze, not a crash-reboot at that point.
(display blanks, SSH and mouse/keyboard inoperative until power cycled)
Note the K Zoom has a Xenon flash, unlike most cameraphone's LED flash.
Android app - Raspi Card Imager - download and image SD cards - No PC required !
Re: Why is the PI2 camera-shy ?
Xenon flashes cause the issue.
I have a 1800 lumen LED bicycle headlight - on flash mode at ~3cm distance from the Pi, it doesn't cause a crash.
With a Canon Ixus 60 (handheld compact camera), its flash reliably locks up the Pi. You need to be closer than about 50cm to make it happen, though.
I have a 1800 lumen LED bicycle headlight - on flash mode at ~3cm distance from the Pi, it doesn't cause a crash.
With a Canon Ixus 60 (handheld compact camera), its flash reliably locks up the Pi. You need to be closer than about 50cm to make it happen, though.
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
Re: Why is the PI2 camera-shy ?
What if you cover the Flash with card?
Is it the light or em pulse?
Is it the light or em pulse?
Re: Why is the PI2 camera-shy ?
I recall way back easing the metal lid off the 2114 ram chips (1024 x 4 bit, 2 needed per KiB) on my Ohio Scientific Superboard 2 to peer inside to wonder at the ordered layout beneath. A desk lamp with tungsten filament bulb held above was enough to trigger errors. +30 years, now we need xenon flash.
Re: Why is the PI2 camera-shy ?
It's light-triggered.PiGraham wrote:What if you cover the Flash with card?
Is it the light or em pulse?
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
Re: Why is the PI2 camera-shy ?
Tried my other Pi
A/B/A+/B+ are all immune from the "XENON DEATH FLASH"
Going back to the Pi 2, I thought it might be the SoC (now it has no RAM on top - the ram is underneath on the Pi 2)
- bluetack over the SoC wasn't enough to save it crashing, nor was a few sheets of A4,

turning it upside down saved it though !
A/B/A+/B+ are all immune from the "XENON DEATH FLASH"
Going back to the Pi 2, I thought it might be the SoC (now it has no RAM on top - the ram is underneath on the Pi 2)
- bluetack over the SoC wasn't enough to save it crashing, nor was a few sheets of A4,

turning it upside down saved it though !
Android app - Raspi Card Imager - download and image SD cards - No PC required !
Re: Why is the PI2 camera-shy ?
So, not the SoC then. It must be something else on that side of the board. Should be simple to track down by masking off regions.mikerr wrote:Going back to the Pi 2, I thought it might be the SoC (now it has no RAM on top - the ram is underneath on the Pi 2)
- bluetack over the SoC wasn't enough to save it crashing, nor was a few sheets of A4,
If it had been the SoC, this could have been an actual situation where a heatsink might have served a useful purpose...
Re: Why is the PI2 camera-shy ?
Because the blu-tac blob isn't over the single photosensitive IC on the board.
It appears that U16, the SMPS chip, is the culprit.
It appears that U16, the SMPS chip, is the culprit.
Rockets are loud.
https://astro-pi.org
https://astro-pi.org
Re: Why is the PI2 camera-shy ?
Where is that so we can see if covering stops the XENON DEATH FLASHjdb wrote:Because the blu-tac blob isn't over the single photosensitive IC on the board.
It appears that U16, the SMPS chip, is the culprit.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Re: Why is the PI2 camera-shy ?
Yes, bit of bluetac on that chip and it survives the flash:

Looking at the board under strong light, both U8 and U16 are much more reflective than other chips,
but as you say covering U16 fixes the issue.

Looking at the board under strong light, both U8 and U16 are much more reflective than other chips,
but as you say covering U16 fixes the issue.
Android app - Raspi Card Imager - download and image SD cards - No PC required !

