I have a mains powered device. I take live and neutral before the device switch and this goes to a 12v transformer. This then goes to a 5v switching regulator that powers my Arduino and a sensor. The chassis of the device is grounded to the mains/house ground.
I was having trouble with a low amp voltage appearing on the chassis so I grounded the 12v transformer to the chassis, which solved the problem. All good so far.
Now when I attach the Arduino to my computer to debug the sensor code I get damage on the Arduino. Not necessarily immediately but turning off and on a few times seems to be enough to cause the damage. (This is my 3rd Arduino!) The damage seems to occur at the raw pin, or VCC if I use that pin.
Here is a rough sketch of what I'm doing. Any pointers would be appreciated.
I was having trouble with a low amp voltage appearing on the chassis so I grounded the 12v transformer to the chassis, which solved the problem. All good so far.
Now when I attach the Arduino to my computer to debug the sensor code I get damage on the Arduino. Not necessarily immediately but turning off and on a few times seems to be enough to cause the damage. (This is my 3rd Arduino!) The damage seems to occur at the raw pin, or VCC if I use that pin.
Here is a rough sketch of what I'm doing. Any pointers would be appreciated.
Attachments
-
147.7 KB Views: 12
Last edited: