- One mains line
The setup I have thought about to be able to do so is the following: I have connected three straight connections to the devices (110V) What I want to do is connect those lines on the GPIO so I can see when the electricity is "ON" (HIGH) or "OFF" (LOW/0)
I don't think that I can directly connect the mains into the GPIO as it might blow up.
My solution for that is to buy a 3.3v dc adapter, strip it and connect the connection through the dc adapter into the gpio.
I have found different DC adapters (different amps) and have no idea which one to buy....
My question is the following: Is it possible for me to connect the mains line (through a 3.3v dc adapter) directly on the GPIO port and how many amps can the adapter have as a max?