How does my cellphone detect moisture in its USB port?

  • Thread starter Thread starter berkeman
  • Start date Start date
Click For Summary
SUMMARY

The moisture detection in USB-C ports of smartphones, such as the Google Pixel 6, is facilitated by an integrated moisture sensor that measures impedance between the pins. This feature is not inherent to generic USB-C ports but is an additional component in devices with waterproof ratings like IP68. Manufacturers like Samsung utilize these sensors to prevent water damage, confirming that moisture detection is a common feature across various brands. The discussion highlights the importance of these sensors in maintaining device integrity during exposure to moisture.

PREREQUISITES
  • Understanding of USB-C connector specifications
  • Knowledge of impedance measurement techniques
  • Familiarity with waterproof ratings, specifically IP68
  • Basic electronics principles related to moisture detection
NEXT STEPS
  • Research the design and functionality of moisture sensors in smartphones
  • Explore the implications of IP68 waterproof ratings on device performance
  • Learn about the differences between USB-C and previous USB connector types
  • Investigate the role of integrated microcontrollers in sensor applications
USEFUL FOR

Smartphone manufacturers, electronic engineers, and anyone interested in the technology behind moisture detection in mobile devices.

berkeman
Admin
Messages
69,333
Reaction score
24,644
I had a shift outdoors yesterday where it was raining off and on. I was mostly under EZ-Up tents, but was out in the rain a little and there was plenty of moisture blowing in the air from the foggy conditions.

Part-way through the day, after the rain had let up for a few minutes, I happened to see a notice on my Google Pixel 6 cellphone similar to this one:

1698081064518.png

https://candid.technology/liquid-or-debris-in-usb-port-pixel/

I'd never seen something like that before (and was happy that it was reporting that all was okay), but it got me wondering how the phone can detect when some moisture gets into the type-C USB port. Does it look at leakage current between the 5V and Ground pins, or some other characteristic between the other lines in the type-C connector? I've worked mostly with circuitry for type-A and micro-USB connectors, and not so much with type-C, so maybe this is a feature of type-C only?

1698081313064.png

https://medium.com/@leung.benson/usb-type-c-s-configuration-channel-31e08047677d

Thanks for any insights. :smile:
 
Engineering news on Phys.org
I think there's a moisture sensor in the port. Per Samsung:

Devices with a waterproof rating of IP68 and above (most of the Galaxy series) are equipped with a moisture detection sensor to prevent water damage to the device.

I assume the same is true for other brands.
 
  • Informative
Likes   Reactions: davenn and berkeman
Oh, that's an easy one.
Your phone is powered by the magic of electricity! It's a little known fact that water conducts electricity!

Follow me for more pro-tips.[EDIT: OK, Drakkith's answer may be more useful.]
 
  • Haha
Likes   Reactions: sophiecentaur
LOL goofball Dave. :smile:
 
  • Like
Likes   Reactions: Delta Prime
Drakkith said:
I think there's a moisture sensor in the port. Per Samsung:

Devices with a waterproof rating of IP68 and above (most of the Galaxy series) are equipped with a moisture detection sensor to prevent water damage to the device.

I assume the same is true for other brands.
Thanks Drak. Link?
 
Drakkith said:
Fantastic! Thanks Drak. So it's not a feature that is built-in with generic USB-C ports, but an additional detection device in the USB-C port of these devices. Cool stuff. :smile:
 
That is my understanding, yes.
 
  • Informative
Likes   Reactions: berkeman
It must be an impedance measurement between the pins, since it recovers quickly. Other sensors (magnetoresistive, etc.) take longer to recover. They are also an extra part to add into a tight space. An integrated microcontroller could do the impedance measurement.

Phones also have permanent sensors for warranty purposes, both visual and electronic.
https://appleinsider.com/articles/1...ove_water_sensors_for_detecting_iphone_damage
 
  • #11
berkeman said:
That patent seems more to be for water intrusion into the interior, rather than moisture entry into the USB connector, no?
yes, exactly. A one time thing.
You won't find anything from Apple about impedance measurement, it's as old as vacuum tubes.

Which reminds me of a marketing guy that wanted me to patent a different, but similar, thing for lasers. I laughed and told him I stole it from a guy, who stole it from another guy, who copied it from a book, etc...
 
  • Like
Likes   Reactions: berkeman
  • #12
berkeman said:
Fantastic! Thanks Drak. So it's not a feature that is built-in with generic USB-C ports, but an additional detection device in the USB-C port of these devices. Cool stuff. :smile:
It shows what they can do when they want to. BUTTTTTT how come they don't slow down the processor when my iPhone gets nearly hot enough to burn my leg?
 
  • #13
sophiecentaur said:
BUTTTTTT how come they don't slow down the processor when my iPhone gets nearly hot enough to burn my leg?
It's doing updates or something. There was a piece in the news in the last week or two...
 
  • Skeptical
Likes   Reactions: sophiecentaur
  • #15
Hmm. If I’m clever enough to take all the measures they describe then so is my iPhone. Power dissipation is as much related to clock speed as anything and the stupid machine could warn me about heavy use.
The annoying thing is that it feels like thermal runaway. No excuse imo.
 
  • #16
Especially if you keep it in your front pocket... Yeowie!
 
  • Haha
Likes   Reactions: sophiecentaur