News for hackers. Stuff that matters.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by noonespecial on Saturday February 07, 2015 @09:55PM (#9016251)
Are you sure that's not induced current from the power spike required to operate the flash or the spark-gap inside the xenon tube?

You've got the gear set up... would you mind terribly repeating the experiment but blocking the light with cardboard or something?

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by tdicola on Saturday February 07, 2015 @11:02PM (#9016373)
Alright I put the Pi 2 in a cardboard box and held the flash at the same spot (but the box obscures the light). It keeps running just fine and doesn't have the nasty spike. Definitely is something light related.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by noonespecial on Sunday February 08, 2015 @12:02AM (#9016467)
Thanks! Well done. Photoelectric it is. Now I wonder what color its most susceptible to...
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by tomkinstinch on Sunday February 08, 2015 @09:52AM (#9017361)
The responsivity of silicon (and other semiconductors) by wavelength is pretty well characterized[1]. Any data sheet for a silicon photodiode will include a similar plot, and as photodiodes are just diodes (granted, operated in reverse bias), regular diodes will have a similar response if light can get past the part package. Photodiode junction doping and geometry are optimized to make them useful as optical devices, but they're still VERY close to regular silicon diodes.

This property of diodes can be used in a fun way: LEDs emit light, but they can also be used as photodiodes[2]. It's easy with a microcontroller pin that can act as both a digital output and analog input. LEDs are of course not optimized for this use (small sensor area, the package may absorb useful light particularly in the UV, phosphor if present may get in the way), but they can be used as photodetectors. There's even an Arduino sketch[3].

1. http://image.slidesharecdn.com/lect12-photodiodedetectors-13...

2. http://www.merl.com/publications/docs/TR2003-35.pdf

3. http://playground.arduino.cc/Learning/LEDSensor

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by jakobegger on Sunday February 08, 2015 @06:10AM (#9016955)
Since the effect seems to be caused by a silicon component that isn't properly shielded from light, anything with a photon energy higher than the bandgap should do. The bandgap of silicon is 1.1eV, which means the effect should start in near-infrared.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by psgbg on Sunday February 08, 2015 @06:41AM (#9017000)
What about glass, then that should work, right?
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by jakobegger on Sunday February 08, 2015 @06:59AM (#9017036)
Not sure I understand you correctly.

The problem should happen with near-infrared, visible, and UV-light. Glass is transparent in the visible range, and depending on type, also in IR / UV, so glass won't work as a shield.

The easiest, reliable way to shield would be wrapping in aluminum foil (also helps against RF-interference).

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by psgbg on Sunday February 08, 2015 @08:31AM (#9017204)
Yeah you are right. I was assuming that the chips would block visible light but I forgot about UV.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by tacojuan on Sunday February 08, 2015 @03:41AM (#9016775)
So this would be easily rectified by using a case for the pi?
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by Sanddancer on Sunday February 08, 2015 @04:54AM (#9016865)
A case would fix it, but a cheaper fix would be to just put a dab of nail polish or other lacquer on chip U16, which seems to be the culprit.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by AlyssaRowan on Sunday February 08, 2015 @09:42AM (#9017335)
Handy tip! Which - just tested - seems to work for me, at least with a couple of coats of black nail polish, and double-checked with a high-end Canon flash and a random green laser pointer. (Of course your mileage, and nail polish, may vary.)

I should change the hostname to nemi. ;)

There's another 'shiny' chip on the board too, next to the HDMI port, U8 I think, but it doesn't seem to give a damn what you do to that.

Compared to having to resolder all the Ethernet ports by hand, or USB power issues, this is a pretty minor errata! I presume the factory will pop a blob of epoxy on it for future runs, if they can't get this chip with a package on it.

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by DonHopkins on Sunday February 08, 2015 @10:36AM (#9017490)
Don't you get on the NSA's subversive person list for buying black nail polish?
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by AlyssaRowan on Sunday February 08, 2015 @01:23PM (#9017992)
If it were that easy, all the cool kids would be doing it. <g>
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by e12e on Sunday February 08, 2015 @09:30AM (#9017303)
I'm not familiar with the photoelectric effect - would this be susceptible to a laser (and if so, how weak a laser? A laser pointer?)?
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by Natanael_L on Sunday February 08, 2015 @11:55AM (#9017700)
Somebody else said a laser pointer works, but I can't confirm myself yet as I don't yet have a pi 2
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by jayrhynas on Saturday February 07, 2015 @10:13PM (#9016288)
The most recent post [1] seems to indicate that covering one of the chips with blu-tac prevents the freeze

[1] http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=99042...

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by bluehex on Saturday February 07, 2015 @11:43PM (#9016434)
I'm thinking of trying a more permanent fix with some Sugru[1] when my Pi 2 arrives. Their about says it's insulating and okay for electric repairs under 24 volts.

[1] http://sugru.com/about

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by bluehex on Tuesday February 10, 2015 @11:01AM (#9027958)
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by analog31 on Saturday February 07, 2015 @10:57PM (#9016364)
Not knowing what the IC is, one thought is that the blu-tac could be blocking light, or providing a wee bit of extra capacitance to tame a wicked electrical signal.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by robkix on Saturday February 07, 2015 @10:00PM (#9016262)
If I understand correctly the Speedlite is battery powered, so as such shouldn't cause any voltage spike on mains.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by nitrogen on Saturday February 07, 2015 @10:08PM (#9016276)
It's not a mains spike, but an EM discharge caused by the rapid voltage and current changes in the flash, that the parent comment is considering (IIUC).
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by noonespecial on Saturday February 07, 2015 @10:14PM (#9016290)
Yes thankyou. This is what I'm getting at. The momentary power flow in a xenon flash is very large. A great big capacitor charges up and then discharges very rapidly to create the bright flash of light. There is also a high voltage exciter coil that fires to kick the xenon tube into conduction at the beginning of the flash cycle. Both of these could be very disruptive to nearby digital electronics.

I thought the original poster would be in a very good spot to help us determine if the effect if photoelectric or the result of EM because he's got everything set up. All he has to do is repeat the experiment while blocking the light from hitting the Pi.

Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by karlshea on Saturday February 07, 2015 @11:30PM (#9016419)
From the original thread it does appear to be a photoelectric effect, since blocking a specific chip on the board causes it to survive the flash.
Re:A Xenon flash will cause the Raspberry Pi 2 to freeze by tdicola on Saturday February 07, 2015 @10:26PM (#9016312)
I'll put it in a box and try in a little bit, sorry have to do a few things first. I'm 99% sure it's light dependent though, I had to aim the flash at the board and keep it somewhat close to get it to lock up (like 6" away or so).