![Detecting and controlling mains voltages with a Raspberry Pi or Arduino | Experiments using a Raspberry Pi and solid state relays (SSRs) to sense the presence of mains electricity and switch loads Detecting and controlling mains voltages with a Raspberry Pi or Arduino | Experiments using a Raspberry Pi and solid state relays (SSRs) to sense the presence of mains electricity and switch loads](https://pdcastro.github.io/mains-io/assets/img/mains-io-drawing.png)
Detecting and controlling mains voltages with a Raspberry Pi or Arduino | Experiments using a Raspberry Pi and solid state relays (SSRs) to sense the presence of mains electricity and switch loads
![relay - Connecting pins of Raspberry Pi GPIO in series in order to turn up the voltage - Electrical Engineering Stack Exchange relay - Connecting pins of Raspberry Pi GPIO in series in order to turn up the voltage - Electrical Engineering Stack Exchange](https://i.stack.imgur.com/RPAhu.png)
relay - Connecting pins of Raspberry Pi GPIO in series in order to turn up the voltage - Electrical Engineering Stack Exchange
![Sense HAT for Raspberry Pi Current, Voltage, Power Consumption, Monitor with 12 Bit ADC, 40 Pin GPIO Expansion Header and I2C/SMBus Interface, Support Measurement Bi-directional Current: Amazon.de: Computer & Accessories Sense HAT for Raspberry Pi Current, Voltage, Power Consumption, Monitor with 12 Bit ADC, 40 Pin GPIO Expansion Header and I2C/SMBus Interface, Support Measurement Bi-directional Current: Amazon.de: Computer & Accessories](https://m.media-amazon.com/images/I/71miLmOKS3L._AC_UF894,1000_QL80_.jpg)