i want to test if a plug is in a plug socket. I tought about the following:
check if there is a connection. However there is 230v on the socket. If i bring this voltage into the arduino it will be burned
current transformer. I saw people how measured the current flow with a current transformer. However if there is something plugged in but the device doesn't draw current, it would not recognize it.
a light sensor. This is the only option so far. The problem however is that i need to isolate everything from light. Also i dont think that is a smart way to do that.
So what would you do? Thank you!