Control your lights with Arduino and a Relay - Internet of Things

Control your lights with Arduino and a Relay


STORY

This tutorial is from BreakoutBros.com. See the full version here.

A relay is an electro-mechanical device that uses an electromagnetic field to close a switch. The benefit of a relay is that it is isolated from the circuit that is being switched. This provides a safer isolation for your circuit and makes the design of the circuit very simple. The one downfall of the relay is that they will wear out more quickly than other switching devices such a triacs or IGBTs. They are also generally more expensive for the comparable application using the other devices. We will go over how to properly bias and control it using an Arduino or your choice of an equivalent device. The Elegoo Uno R3 Starter Kit  has provided us with all the parts we will need to build this circuit.

       Demo & Code

Control your lights with Arduino and a Relay Control your lights with Arduino and a Relay Reviewed by XXX on สิงหาคม 23, 2560 Rating: 5

ไม่มีความคิดเห็น