https://tech.iprock.com/archives/10010
Link: Raspberry Pi – Driving a Relay using GPIO