What is a power outlet relay?
A relay is basically an electromagnetic switch, and it allows me to control a large amount of high voltage power (10A at 120V) using a tiny amount of low voltage power (~5 mA at 3.3V).
How do you use a 4 channel relay?
Start by finding the “5V” pin on the Arduino and running a jumper wire over to the “VCC” pin on the breakout board. The VCC is the positive (power) input for the circuit. Next, run a wire from the “GND” (ground) pin on the Arduino to the “GND” pin on the Breakout Board. The breakout board now has power!
How do you connect a relay to a power outlet?
Connect the signal, Vcc, and ground wires to the relay: Strip the neutral and ground wires on the electrical cord so they have about 3/4 inch of exposed copper. We’ll connect these to the power outlet later. The hot wire only needs about 1/4 inch since it will be inserted into the C terminal of the relay:
How does an Arduino relay work on an outlet?
The negative (neutral) wire and the ground wire will be connected directly from the power cord to the outlet. The 5V relay will turn on the current to the outlet whenever it receives a 5V signal from the Arduino. The parts I used are listed below, but you can use other types.
How does a relay power switch circuit work?
This AC power switch circuit senses the presence of AC current in one outlet of a multi-outlet power strip and switches power to the remaining outlet (s). It utilizes a current transformer, single transistor amplifier, voltage doubler detector, robust relay and capacitor limited AC power source.
How to control a relay with a microcontroller?
First, I need to take care of the setup for controlling the relay with a microcontroller. The relay requires three pins from the microcontroller: Signal: 0V – 5V signal for whether the relay is active or not. Active high. Power: +5V power. Ground: 0V unregulated ground connection.