Learn how to control GPIO to Relay.
In this workshop, we will learn how to use Raspberry Pi GPIO control the LED, and 110V electrical appliances.
Raspberry Pi 3B + SanDisk 32G microSD + 2017-11-29-raspbian-jessie.img
Install required package and Python module
$ sudo apt-get update
$ sudo apt-get -y install python-pip python-dev x11vnc python3-dev
See Smart Relay