5V Relay

Posted on Nov 8 2017 - 8:29pm by piddler

Basic tutorial of how to setup a 5V Relay with the Raspberry Pi.

PARTS:
RPI 3 – https://goo.gl/CdVNoH
4 Amp Power Adapter – https://goo.gl/js4Uc7
16GB Micro SD – https://goo.gl/FDqZal
120 pcs jumper cable: https://goo.gl/spWoaC
5 Volt Relays: https://goo.gl/6ZefEf
12 Volt Power Supply: https://goo.gl/z6242h
5.5×2.1mm Male+Female DC Power Socket: https://goo.gl/NJ9r3P

SCHEMATIC:

 

CODE: