Raspberry Pi Mains

This is a module that I created which allows any device with a plug to be controlled by a microcontroller. The sockets are wired up to a relay. Each socket (top and bottom) can be controlled independently.

Parts Used

  • 1 Raspberry Pi
  • 1 2 Channel 5V Relay
  • 12 Gage Wire
  • 1 Wall Socket

Project Photos