A Xenon flash will cause the Raspberry Pi 2 to freeze
raspberrypi.org
raspberrypi.org
edit: Wow yeah, here's a look at the 3.3V power line when you flash the board, it drops almost down to 0V and then wildly fluctuates for about 100 nanoseconds: http://imgur.com/hG86pRy
edit 2: Another interesting measurement, with the board _totally unplugged_ and flashing it you can see a big voltage spike on the 3.3V rail. Up to 6-7 volts or so for a few nanoseconds: http://imgur.com/td262QK
I guess not only can you learn about electronics but also Einstein's photoelectric effect with the Pi 2!
You've got the gear set up... would you mind terribly repeating the experiment but blocking the light with cardboard or something?
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.
[1] http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=99042...
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).
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...
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.
I have seen that happen plenty of times, but I have never seen a light flash disrupt a power rail like that.
I'm not saying it couldn't happen, just playing the odds...
At last, a use for all those write-protect stickers we collected for floppies...
V ~ E_0 - Ω
where hf is the energy per photon and Ω is the work function of the target. If Ω > E_0, no voltage is produced. This provided the basis for Einstein's demonstration that energy is proportional to frequency (E_0 = hf), and won him the Nobel prize.
What does this have to do with xenon? Xenon lamps produce not only visible light, but also ultraviolet light, in fact, xenon lamps extend further into the UV than natural sunlight:
http://en.wikipedia.org/wiki/Xenon_arc_lamp#mediaviewer/File...
LEDs by contrast produce almost no UV light:
http://en.wikipedia.org/wiki/Light-emitting_diode#mediaviewe...
With this data we can determine that the work function of silicon (in the Raspberry Pi 2) is somewhere in the range of hc/(400 nm) < Ω < hc/(250 nm) or 3.1 eV < Ω < 5 eV. Using data from
http://journals.aps.org/pr/abstract/10.1103/PhysRev.127.150
http://www.sciencedirect.com/science/article/pii/00223697599...
we see that the work function of silicon is around 4.7-4.9 eV, which agrees well with our observations.
draws a little box
To interfere with the electronics, the wavelength only has to as large as the band gap in silicon (as someone else has noted, around 1.1 eV). This means that IR light (and all visible light) can cause the interference too.
A strong enough light source will lift a lot of electrons from the valence band across the band gap into the conduction band, effectively turning a transistor into a conductor for the duration of the flash. Since the sensitive part seems to be related to the power supply, it's quite plausible that this leads to the voltage fluctuations on the power rail.
Another legendary debacle triggered by light hit at a highly publicized affair thrown by IBM, ironic considering that IBM is the master of the seamless image. D. E. Rosenheim, who helped develop the IBM 701, the first mass-produced modern commercial computer, recalled the famous faux pas, which occurred when the company held a dedication ceremony for the 701’s installation at its New York headquarters. Top-level executives, the engineering team, and a gang of reporters crowded the ceremony room
“Things went pretty well at the dedication,” said Rosenheim, “until the photographers started taking pictures of the hardware. As soon as the flash bulbs went off, the whole system came down. Following a few tense moments on the part of the engineering crew, we realized with some consternation that the light from the flash bulbs was erasing the information in the CRT memory. Suffice it to say that shortly thereafter the doors to the CRT storage frame were made opaque to the offending wavelengths.”
Those who do not know their history are doomed to repeat it.
Note for the kids: Yes, that's right, it says CRT memory. That's the same Cathode Ray Tube as found in non-flat-panel TVs and monitors, except we're using it as a high speed storage device.
Ironically, the wikipedia page for Selectron tubes actually has more useful information on Williams tubes than it's article does... http://en.wikipedia.org/wiki/Selectron_tube
But as soon as the demo for the press started, the machine crashed. The management was upset. Later, the reason was found to be some old EPROM chips that are erased using UV light, and the photographers' cameras had strong flashes that went through the tapes covering the "window" on the chip. This caused the program memory to be corrupted when a photograph was taken.
Any experienced engineer will have a Spark Generator (Car Ignition coil, spark gap and short Dipole) to test to see if his latest project misbehaves when confronted with Impulse Interference.
As an EMC Investigator I would always carry a spark generator to demonstrate to newby engineers why EMC Compliance is so important.
I've seen a spark from 50ft away crash or reset a microprocessor system. Just the static discharge from walking on carpet is often enough.
The fix is simple: apparently, you just have to cover U16, which controls the power supply.
Try some laser pointers, especially towards the blue end of the spectrum where the photons have more energy. You may be able to trigger this effect by pointing at a specific IC.
For example almost every single CPU and GPU nowadays uses some fcbga packaging (flip chip on ceramic/pcb carrier), but they are all hidden under heatsinks and often additional heat spreaders.
http://www.maximintegrated.com/en/app-notes/index.mvp/id/400...
[1] https://github.com/anisse/nyanology [2] https://www.enlightenment.org/p.php?p=about/terminology&l=en
If there's anything in this world noisier than a spark gap, I don't know what it is.
I think the first radio transmitters were spark gaps.
The energy flies thru the air, and is coupled onto the power line.
The power supply doesn't cope well with the oscillations, and hiccups.
I see the notes about U16 being photosensitive, but if it is a black epoxy like most IC's, I'm not buying that light gets into it.
It's possible that blue tack shields the EMP a bit.
edit :
The word light is commonly used as shorthand for variously the whole EM band, the near visible EM band and just the visible EM band.
If you are talking about the speed of light, it includes radio and gamma.
Discussing the colour of light on the other hand and you are referencing the visual system.
As soon as you start talking about visible light however, you are widening the definition of light again to include IR and UV and more, otherwise you would not need to clarify with the word visible.
edit 2 - darkmighty. I am not talking about the xenon bulb producing an RF EMP from the lamp flashing circuit, I am merely continuing the terminology used elsewhere in this thread, that a flash of visible light is also quite clearly a form of electromagnetic pulse.
edit 3 - foobarbecue. Radio as it gets shorter becomes microwave, then IR, then red, through green, past blue, goes to UV, then xrays, then gamma.
The EMP is generated by the lamp/flashing circuit, which is essentially acting like a small (but not atomic) dipole antenna excited by a pulse. Therefore it has a distinctive cut-off frequency, probably in the 10s of Mhz range but I'm not sure exactly (something like this: [1]). This pulse is picked up by wires that act as antenna, and you get RF interference.
The Xenon flash has also a distinct spectrum, but it's essentially contained in the visible light range (in a log-frequency spectral density plot) [2], which is what you want with a lamp! This emission is absorbed by the semiconductor material by exciting bandgaps: displacing electrons causing voltage spikes.
[1] http://www.rfcafe.com/references/electrical/ew-radar-handboo...
[2] http://www.ushio.co.jp/images/en/products/list/lamp/lamp_07_...
You should probably just admit your error here -- it's light, not radio waves, causing the effect. Sure, they're part of a common spectrum, but your statement "radio waves are light" is obviously false. It's a bit like saying "red is blue".
Edit: I misread the above, lotsofmangos was talking about wavelengths coming from the radio site of the spectrum rather than light, so he didn't get it backwards. The rest of this post stands.
As to saying that radio is light, if calculating the propagation speed of a radio wave, you don't talk about its speed of radio, you talk about its speed of light. In many technical contexts, light is one of the default terms.
Also, there would be no need for the term 'visible light' if light could not be used to describe electromagnetic radiation outside the visible spectrum. Infra-red and ultra-violet are commonly thought of as light and you can even create lensing optics for radio waves and for x-rays.
Sparks produce a broadband radio signal, that decays strongly with increasing frequency. Very little is present in the Megahertz region, which is why lightening doesn't interfere with FM radio that much.
Radio frequencies below the gigahertz or high megahertz region will not interfere with the Pi as the wavelength of these is too long to effectively couple into the short circuit board traces.
Xenon flash tubes are not that noisy in terms of unwanted RF. Apart from anything else, you wouldn't be allowed to sell such radiating circuits in consumer equipment.
A xenon flash puts out an enormous amount of blackbody light (high in IR and NIR) in a very short time frame (as short as 100 ns). Plastics are not very IR blocking by themselves. Silicon has a band gap of 1.1 eV. Any photons above this energy will be absorbed across the gap, and interfere with the circuitry. Firing a xenon flash close to something will result in an instantaneous light flux many hundreds of times larger than direct sunlight. So the circuit might be designed to be resistant to any ambient lighting situations, but not to being flashed.
As a commentator mentioned below, U16 is a switched mode power supply circuit. It's analogue, and switching quite fast. It doesn't take much for it to be disrupted & mess up a few cycles, possibly even then triggering some protection circuitry on the inputs of chips down the line.
Blue tack, being an insulator, will be almost totally transparent to radio frequencies.
Cardboard (and I'll wager the blue tack also) has negligible EM shielding effect, so I'd say that's pretty conclusive that it's a photoelectric problem.
https://blog.adafruit.com/wp-content/uploads/2015/02/Pi_II_t...
U16 appears to be in a WLCSP package (and others have noted that it is "shiny", which would also agree with the typical appearance of one), and WLCSPs do not have much of a package - they're essentially bare die that have had solder bumps attached to their top surface, and are mounted upside-down ("flip-chip" style) onto the PCB. It won't take much light intensity to cause photoelectric effects on a WLCSP.
More info here: https://ez.analog.com/docs/DOC-2357
btw: anyone tried to light-freeze other devices (banana, orange, cubie, etc) ?
Don't have a B+ to hand, sorry. It might?
For instance, black PVC electrician's tape is entirely transparent to near-infrared, I use this to cover Xenon flashbulbs & still have an infrared-sensitive trigger fire from them.
edit - ars, I'm out of replies, but thanks for that. I think you are probably right.
The real question is how the light manages to get through the epoxy casing.
Most dyes (also aromatic organics) are not active (i.e. transparent) in the near-IR.
https://www.cs.uaf.edu/2007/fall/cs441/support/dram_sensor_1...
A laser (no EMP!) shone on that chip will also crash the Pi.
It seems like it's still the case with Raspberry Pi 2.
There is work being done to write an open source driver for the GPU, with the blessing of the RPi Foundation and BSD-licensed code provided by Broadcom[1]. But I don't know if that will include the bootstrapping code, or how far along it is. Given that it is BSD licensed, it may not meet everyone's definition of "Free", but at least there is a good chance of having fully documented, source-available drivers in the future.
[1] http://www.raspberrypi.org/a-birthday-present-from-broadcom/
3-clause BSD (what's common these days) meets pretty much everyone's definition of Free:
https://www.gnu.org/licenses/license-list.html#GPLCompatible...
(The following licenses qualify as free software licenses, and are compatible with the GNU GPL.)
There are open source licenses that RMS considers non-free, but the modern (3 clause) BSD license isn't one of them.
In light of Heartbleed and Shellshock, I propose calling this the Photon Torpedo vulnerability.
I see what you did there!
You could probably find devices that are disturbed by loud sounds and physical shock, because ceramic capacitors are microphonic.
In simple terms, whenever something possessing charge moves it generates an electromagnetic wave associated with the motion and at right angles to it. Visible light is generated by motions of electrons at an atomic scale, radio frequency is motion of electrons at the scale of antennas, but they both generate electromagnetic waves quantized as photons.
edit - darkmighty. Electromagnetic radiation at radio frequencies is popularly known as light in contexts such as speed, but not in contexts such as colour.
A photon striking a semiconductor will probably displace an electron if given an adequate bandgap, creating a voltage spike (which is nonlinear -- i.e. the problem isn't a propagating terahertz wave obviously). An incident radio wave will cause voltage spikes through coherent induction in the wires (i.e. they act as an usual antenna).
Even if there is no fundamental reason to believe that quantum theory would make a distinction between "microwave photons" and "optical photons", this demonstration puts this equivalence across a huge frequency range on a firm experimental footing. Moreover, the lower frequency of the microwave photons enabled a more complete characterization of the effect than has been able so far with optical photons, opening up new possibilities to characterize radiation sources. Finally, the new experiment highlights how quantum optical effects can be exploited in experiments with microwave sources, which may lead to practical applications of "microwave optics".
Or to look on the upside, the Pi now comes with a free photodetector.
Makes me sad because I'm imagining a Raspberry Pi 2.1 release in the near future now...
And if it is light sensitivity then it should be tested with a bright continuous light