My Sonoff TH16 Wireless Switch is Dead – Postmortem Analysis

Back in November 2016, I connected Sonoff TH16 WiFi switch to my water pump, and since then it worked fairly well, except for the occasional “offline error” in eWelink app, which was usually solved with a power cycle.

But in the last couple of days, I noticed the pump would not start at the set time, and I could not control it using the Android app either, even after turning on and off the power. So I took it out to have a look, and one component indeed burnt.

Sonoff-TH16-Dead
Click to Enlarge

ITEAD Studio released the schematics in the Wiki, and the dead component is connected to a GND as well as to a transistor, so it must be R2 4.64 Ohm resistor [Corrected from R3 resistor after checking board with multimeter].

Sonoff-TH16-Schematics
Click to Enlarge

But what may have caused this? Resistors burn because too high of a current flows through them. We often have micro power failures here, the type that lasts about one second, so there may have been a spike? But if we look closer, we can see the switch also served as some sort of electrocution chamber for ants and spiders…

Insect-destroys-Sonoff-SwitchOne ant decided to short C3 capacitor, located right next to our dead resistor on the PCB, and another seems to have shorted two pins of the transformer, not to mention all the many ants “connected” to U1 bridge. So I suspect this is the actual reason: my Sonoff switch was destroyed by an ant!

Solutions: use a waterproof case, or maybe more local solution with a DIY case made PVC pipe to make the casing insect-proof. [Update: Also see other solutions in the comments section].

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
21 Comments
oldest
newest
Phipli
Phipli
6 years ago

Is that Sonoff? I’d like to report a bug in your product…

buggy
buggy
6 years ago

sonoff a bugs

Lisa
Lisa
6 years ago

I had a similar problem with an amazingly difficult to access air conditioning unit – slugs squeezed through the hole for the condensation outlet almost directly into the power supply, where they sizzled until the fuse popped, taking out lumps of ground plane each time. I ended up using so much expanding foam and insulation tape to try and protect the board from them, and also put the fuse on a flying lead so I could replace it without spending a morning in a roasting conservatory dismantling the unit. Could you maybe fill the gaps in the case with an… Read more »

RobBrownNZ
RobBrownNZ
6 years ago

RTV silicones should be fine, I use them very regularly around electricity. Temperature and humidity will not be a problem. Just make sure that you get one that doesn’t conduct electricity (I’ve never used one, but some are advertised as thermally and/or electrically conductive).

Gerrit
Gerrit
6 years ago

Warning on that advice: Regular hardware store RTV silicone off gasses acetic acid. This will react with just about every metal on the PCB and can cause pretty dramatic corrosion (I’ve seen traces turned to powder). You need to use a platinum cure rtv silicone around electronics.

Theguyuk
Theguyuk
6 years ago

Fill holes with Blu tack?

Theguyuk
Theguyuk
6 years ago
Schmurtz
Schmurtz
6 years ago

😀 Awesome electronic death !

Sfinx
Sfinx
6 years ago

Electronics Varnishes & Lacquers will save such devices for ages. I had the Electrolux wash machine that was not lacqued from the factory (!) just because they want its electronics not to last too much. I think it is already working > 20 years just because of lacque sprayed over the board 😉

cmaglie
cmaglie
6 years ago

It was a BUG

JFT
JFT
6 years ago

Conformal coating was my first thought after reading this (well, shortly after the “sucks to be that ant” thought)

Jamez
Jamez
6 years ago

That’s exactly what it needs, a couple layers of conformal coating will seal the board to humidity and ants. (And likely get them closer to something UL wouldn’t laugh at.)

Laurynas Povilavicius
Laurynas Povilavicius
6 years ago

IP Code, (International Protection) will now stand for Insect-proof :))

IForOneWelcome...
IForOneWelcome...
6 years ago

Reminds me of a part from the classic 1970s sci-fi film ‘Phase IV’.

Myre
Myre
6 years ago

really nice “BUG” 😀 😀

Heartbreaker
Heartbreaker
6 years ago

I don’t thint that the burned resistor is R3. To me it looks as R2, the current sensing resistor. It was probably the ant shorting pin 1 and 2 on the trafo that caused the destructive failure. It probably also took both U1 and Q1 with it in the fall.

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...