FAQ hub / Power
Power frequently asked questions
Powering a circuit safely, switching a load with a relay and understanding voltage and current.
- 9real questions
- 3source guides
- 5related pages
Frequently asked questions
9 answers, each linked to the guide it comes from.
What is this circuit for?
A relay module lets a low-current control signal from the Arduino switch a larger load. The module input goes to a digital output, its logic supply to the 5 V rail and its ground to the common ground. The load circuit is powered by a completely separate 12 V supply: the positive lead goes to the common contact, the normally open contact goes to the load positive, and the load negative returns to the supply negative. In this way the control side and the load side stay galvanically separated and load current never flows through an Arduino pin. A green LED with a 220 ohm series resistor shows when the relay is triggered. Build the control side first, then the separate load side, and check that the contact is normally open before connecting power.
How does it work?
A relay contains an electromagnetic coil and a mechanical contact. The digital output of the Arduino energises the coil; the coil pulls the contact so the normally open terminal connects to the common terminal and the load circuit closes. The control side uses 5 V while the load side uses a separate 12 V supply, and the only link between them is the mechanical contact. Load current therefore never passes through the Arduino pins and the board is protected. Sharing ground between the relay logic and the Arduino GND is needed so the trigger signal is read correctly. The LED and its series resistor indicate that the trigger command has arrived.
What should I see at the end?
When the Arduino triggers the relay the separately powered load runs; when the command is removed it stops, and the green LED lights during triggering.
Is 5 V dangerous?
A 5 V DC circuit is generally low risk, but a short can still damage components and heat wires. The main hazards come from mains voltage, which does not belong on a breadboard.
Do I need a resistor for every LED?
Yes. Putting LEDs in parallel with a single shared resistor makes current sharing unpredictable.
Why add a flyback diode?
A coil produces a voltage spike when switched off. The diode gives that energy a safe path and protects the controlling pin.
What is this circuit for?
It uses an Arduino low-current output to trigger a relay that safely switches a separately powered load.
Source: Load Control with a Relay
How does the circuit work?
The digital output energises the relay coil, which closes the normally open contact and completes the load circuit. The load runs on a separate 12V supply, so only the mechanical contact is shared with the 5V control side.
Source: Load Control with a Relay
What is the expected result?
The load runs when the relay triggers and stops when it releases, the LED lights during triggering, and the two supplies stay separate.
Source: Load Control with a Relay
How to use these answers
Three short steps.
- Find your symptom
Open the question that matches what you see on your board or in your sketch. - Read the short answer
Each answer gives the most likely cause first, then the check that confirms it. - Open the full guide
Follow the source link under the answer for the complete circuit and code.
Related guides
Five real pages to continue from here.
-
Guide
Circuit safety: switch a separate load with a relay
Learn circuit safety with a relay: keep a low-current Arduino control side apart from a separately powered load and verify the normally open contact.
-
Guide
Circuit safety basics for Arduino beginners
Learn circuit safety: power off while wiring, LED current limiting, avoiding shorts, polarised parts, separate supplies and a pre-power checklist. Gui
-
Guide
Load Control with a Relay
Switch a separately powered motorised load safely with an Arduino and a relay module. Build the separation of control and load circuits. With tips.
-
Guide
Battery draining fast? Cut standby current
A battery that empties overnight is usually feeding always-on regulators, indicators or a radio. Measure and remove each load.
-
Guide
Breadboard short circuit? Find it safely
A hot regulator or a dead board means a short. Power off, learn the row layout and use continuity mode to locate it.
Keep your progress in one place
Create a free account to save what you are working on and see your results.