News for hackers. Stuff that matters.
Re:iPhones are allergic to helium by blattimwind on Tuesday October 30, 2018 @04:27PM (#18340986)
> So what else could it be? Well, at the heart of every electronic device is a clock. Traditionally, these are quartz oscillators, crystals that vibrate at a specific predictable frequency—generally 32 kHz.

Watch crystals run at 32[.768] kHz because you can divide with a binary counter by 2^16 and get 1 pps to drive the Lavet stepper driving the seconds hand.

Watch crystals are also commonly used by MCUs for their RTC (real time, very low power clock), but never used to produce the main clock of a SoC or something like that. Mostly because that'd need an insanely high multiplication through a PLL (higher frequency multiplication ~ higher phase noise). Base clock crystals are typically 20-50 MHz.

Quartz crystals used to be hermetically sealed.

Re:iPhones are allergic to helium by DrStalker on Tuesday October 30, 2018 @11:49PM (#18343198)
> Quartz crystals used to be hermetically sealed.

Are they sealed against helium though? It can get through a lot of materials that more common gases can't.

Re:iPhones are allergic to helium by blattimwind on Wednesday October 31, 2018 @11:24AM (#18346444)
Traditional crystals come in what's referred to as a "hermetic metal can", i.e. a metal box soldered closed with leads going through glass seals. I don't know if that's good enough for Helium.

The sealing is mostly because of humidity. I wouldn't expect quartz crytals to be overly sensitive to some gas, since they're basically tuning forks; the crystal physically vibrates in a resonance mode caused by and inducing an electric current across the crystal.

Re:iPhones are allergic to helium by Triesault on Wednesday October 31, 2018 @02:29AM (#18343719)
Hermetically sealed by definition is airtight, i.e. "excludes the passage of air, oxygen, or other gases". [1] With that said, the diffusion rate depends on both the properties of both the seal and the gas.

[1] https://en.wikipedia.org/wiki/Hermetic_seal

Re:iPhones are allergic to helium by khafra on Wednesday October 31, 2018 @06:54AM (#18344644)
Sometimes, definitions aren't the most mechanically sound constructs available.
Re:iPhones are allergic to helium by garmaine on Wednesday October 31, 2018 @02:46AM (#18343760)
Very few air seals protect against helium, the smallest gas. Most materials, even metals, are like sponges to helium. It'll seep through slowly.
Re:iPhones are allergic to helium by Wingman4l7 on Wednesday October 31, 2018 @03:19AM (#18343861)
I was about to correct you and say that hydrogen is the smallest, but apparently, hydrogen's atomic radius is actually a bit bigger. Helium's radius is smaller due to the larger charge of the nucleus making for a tighter electron cloud.
Re:iPhones are allergic to helium by manojlds on Wednesday October 31, 2018 @09:22AM (#18345403)
I too had the same thought, and then thought maybe hydrogen molecule is being considered. Read up to see that hydrogen atom has bigger radius. TIL.
Re:iPhones are allergic to helium by jankotek on Wednesday October 31, 2018 @05:26AM (#18344266)
Hydrogen creates molecules H2.
Re:iPhones are allergic to helium by Florin_Andrei on Wednesday October 31, 2018 @03:10PM (#18348444)
Yup. Larger atomic radius due to less nuclear charge, and it's only stable in molecular form - H2.
Re:iPhones are allergic to helium by danburbridge on Wednesday October 31, 2018 @07:50AM (#18344883)
Helium can cause problems with the metals containing fusion reactors - He bubbles can get inside the metal structure and weaken it considerably:

"The sun makes energy by fusing hydrogen atoms, each with one proton, into helium atoms, which contain two protons. Helium is the byproduct of this reaction. Although it does not threaten the environment, it wreaks havoc upon the materials needed to make a fusion reactor.

"Helium is an element that we don't usually think of as being harmful," said Dr. Michael Demkowicz, associate professor in the Department of Materials Science and Engineering. "It is not toxic and not a greenhouse gas, which is one reason why fusion power is so attractive."

However, if you force helium inside of a solid material, it bubbles out, much like carbon dioxide bubbles in carbonated water.

"Literally, you get these helium bubbles inside of the metal that stay there forever because the metal is solid," Demkowicz said. "As you accumulate more and more helium, the bubbles start to link up and destroy the entire material.""

https://phys.org/news/2017-11-fusion-energy.html

Re:iPhones are allergic to helium by hanniabu on Wednesday October 31, 2018 @03:14AM (#18343844)
Case in point, helium filled balloons that deflate over a couple days.
Re:iPhones are allergic to helium by jammi on Wednesday October 31, 2018 @05:42AM (#18344342)
That’s just because rubber balloons are extremely porous, especially when stretched. They don’t hold other gases well either.
Re:iPhones are allergic to helium by ricardobeat on Wednesday October 31, 2018 @06:04AM (#18344427)
Helium balloons are commonly made out of Mylar instead of rubber, and can keep inflated for weeks.
Re:iPhones are allergic to helium by Cthulhu_ on Wednesday October 31, 2018 @07:03AM (#18344680)
The type intended for keeping around / in a shop for longer time are, but the children's party type often are inflated on the spot.
Re:iPhones are allergic to helium by lb1lf on Wednesday October 31, 2018 @09:41AM (#18345574)
Completely irrelevant, yet amusing: At a former employer, we had access to what can only be described as unlimited supplies of hydrogen.

This led - in addition to lots and lots of eardrum-splitting workshop pranks - the occasional kids' party balloons being inflated with hydrogen. (As it was free, which He definitely isn't. HS&E be damned.)

A then colleague of mine claimed they'd cracked a window and caused instant panic at his son's birthday party when a bright spark decided to put a balloon to a lit candle to show the other kids it'd pop.

I doubt the cracked window (given a standard party balloon is pretty small - and a cracked window would likely mean lots of -ahem- eardrum deficiency in the assembled crowd) - but I can imagine it got the kids' attention all right when the balloon more or less exploded.

(We did crack a couple of windows in the workshop, though - you'd be amazed at the bang a litter bag filled with a hyd/ox mixture can produce if set alight.)

Re:iPhones are allergic to helium by hazeii on Wednesday October 31, 2018 @01:21PM (#18347570)
Hydrogen alone just makes a soft pop; as you say, for a bang it needs to be mixed with oxygen prior to ignition.

>you'd be amazed at the bang a litter bag filled with a hyd/ox mixture can produce if set alight.

Try a large garbage bag with oxyacetylene mix (do not try this at home).

Re:iPhones are allergic to helium by lb1lf on Wednesday October 31, 2018 @04:18PM (#18348949)
I guess - never having tried the party balloon trick myself - that such a small amount of hydrogen will mix well enough with the surrounding air as the balloon pops to create a (modest, at least) bang as the mix ignites, but this is just conjecture.

Maybe I'll have to do some empi research one of these days - we do have a few bottles of oxygen and acetylene in the workshop at my current employer.

Hey ho, time for an engineer to pay our welders a visit.

Re:iPhones are allergic to helium by hanniabu on Thursday November 01, 2018 @12:49AM (#18351527)
Safety first!
Re:iPhones are allergic to helium by Florin_Andrei on Wednesday October 31, 2018 @03:15PM (#18348482)
Re:iPhones are allergic to helium by yetihehe on Wednesday October 31, 2018 @05:21AM (#18344238)
Air filled balloons also deflate over a couple days.
Re:iPhones are allergic to helium by namibj on Wednesday October 31, 2018 @05:26AM (#18344267)
Compare with aluminium coated foil. They don't deflate that fast.
Re:iPhones are allergic to helium by Keloo on Wednesday October 31, 2018 @06:29AM (#18344518)
Or intestines of cattle.

https://en.wikipedia.org/wiki/Zeppelin

Early Zeppelins used rubberised cotton for the gasbags, but most later craft used goldbeater's skin, made from the intestines of cattle

Re:iPhones are allergic to helium by zik on Wednesday October 31, 2018 @03:17AM (#18343855)
I thought hydrogen was the smallest gas, not helium.
Re:iPhones are allergic to helium by chopin on Wednesday October 31, 2018 @03:41AM (#18343934)
Hydrogen normally comes as a molecule (H2), not an atom.
Re:iPhones are allergic to helium by garmaine on Wednesday October 31, 2018 @12:31PM (#18347118)
Correct, but also just as importantly the He atom has both a higher nuclear charge and a full valence shell, which pulls the electrons in more tightly. I’d have to look it up but I believe a single He is even smaller than atomic hydrogen or at least comparable.

Edit: looked it up and yes, helium is smaller than atomic hydrogen.

Re:iPhones are allergic to helium by Wingman4l7 on Wednesday October 31, 2018 @03:20AM (#18343867)
Depends on your definition of smaller, but apparently it's not clear-cut: https://www.quora.com/Which-element-is-bigger-an-atom-of-hyd...
Re:iPhones are allergic to helium by jhoechtl on Wednesday October 31, 2018 @08:41AM (#18345152)
Well, air is also compound of rare gases of which Helium is one.
Re:iPhones are allergic to helium by IshKebab on Tuesday October 30, 2018 @04:45PM (#18341138)
I agree it is unlikely to be the RTC clock at issue unless it runs a watchdog of done form. But given that they are using MEMS for the 32kHz clock it seems likely they are using it for other clocks too.
Re:iPhones are allergic to helium by blattimwind on Tuesday October 30, 2018 @05:01PM (#18341242)
> I agree it is unlikely to be the RTC clock at issue unless it runs a watchdog of done form.

Fairly standard technique to run the watchdog off the RTC clock, because that might still work if the main clock is wonky.

Re:iPhones are allergic to helium by analog31 on Tuesday October 30, 2018 @11:38PM (#18343156)
Indeed, and historically, a slower RTC clock was also preferred because it would draw a lot less current during sleep mode. And it allows the rest of the system to throttle the main system clock up and down for power savings.

I said "historically" because I don't know is if these are still important issues on a modern system relative to all of the other things that are probably using the main system clock during sleep mode, and the more generous battery.

Re:iPhones are allergic to helium by dbcurtis on Wednesday October 31, 2018 @12:48AM (#18343438)
Clock throttling is still a thing. Many ARM Cortex-Mx parts, when in deep sleep, draw less current than the self-discharge rate of a standard alkaline battery sitting on a store shelf waiting to be purchased. It is common to leave the RTC running, stash important data in the small RAM that is backed up by a super-cap, and go into a “wait for interrupt” deep sleep mode.
Re:iPhones are allergic to helium by hazeii on Wednesday October 31, 2018 @01:23PM (#18347592)
In the embedded world this is very standard; timed wake-up from sleep is driven by the 32.768KHz clock, the code then wakes up faster clocks/peripherals as required by the application.
Re:iPhones are allergic to helium by zik on Wednesday October 31, 2018 @03:19AM (#18343859)
Nit-pick - you mean to divide 32.768kHz by 2^15, not 2^16 to get 1 pps.
Re:iPhones are allergic to helium by tejuis on Wednesday October 31, 2018 @06:54AM (#18344645)
More nit-picking... according to wikipedia Lavet requires two states for one step, so 2^16 looks good based on this.
Re:iPhones are allergic to helium by tejuis on Wednesday October 31, 2018 @07:01AM (#18344671)
Damn... I mean 2^14 looks good. :)
Re:iPhones are allergic to helium by davrosthedalek on Wednesday October 31, 2018 @09:16AM (#18345368)
If you divide by 2^15, you have 1pps, but two states per second (high/low). That might be enough.
Re:iPhones are allergic to helium by tejuis on Wednesday October 31, 2018 @09:55AM (#18345680)
Well, division was to be made with a binary counter. They typically work with rising edge clock, and you get a smaller circuit if you have 14 bits compared to 15 bits. I agree that 2^15 can be made to work by using both edges of clock signal.