Electronic – What causes the mcu to blow up when hooking up with oscilloscope

groundingmainsmicrocontrolleroscilloscope

I was observing some timer signals yesterday, earlier in the morning I had my oscilloscope on another lab workbench where I would first make some changes, reflash the board and then take it to that workbench to observe, while providing power use a switchable microusb cord connected to a usb wall connector. Like the setup shown here :

Updates : I was probing a SMT LED.

Nothing went wrong
SuccessfulSetup

However, I was getting kinda lazy running back & forth so I thought maybe I could just have it connected to my PC so I can observe it right after flashing. So I hooked everything up, and then turned on the oscilloscope…and as soon as I pressed the power button, "zap" went my MCU, with a bit of smoke as well.

Setup shown here :
FailedSetup

After some googling, I think it was maybe something to do with the scenario shown in this video (which is also the reference for my drawing), can anyone kindly help me figure out what the actual cause is? Though I have lots of spare boards, I still wanted to know how I can prevent this while also learn what had happened. Thanks in advance!

Best Answer

You most likely have a ground issue on your board (non-continuous ground that is linked through the MCU) or somewhat connected the ground of the scope where it shouldn't be.

Your PC is most certainly grounded (sometimes, for laptops, it can be grounded in unintuitive ways through an external screen and through HDMI cables for example).

Your scope and computer are likely not connected to the same socket, you can be on a different line and thus have a voltage difference between the grounds which is probably caused by induced voltage.

This happened to me 2 weeks ago, as I found out that the ground between 2 adjacent sockets in my office had 100 V difference! My board was connected to my laptop (grounded through the screen) and a scope on another socket. Screen went black, it almost killed my laptop and my electronics, trying to understand when I finally went to measure the earth line on the sockets.