Skip to content

FAQ hub / Power

Power frequently asked questions

Powering a circuit safely, switching a load with a relay and understanding voltage and current.

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.

Source: Circuit safety: switch a separate load with a relay

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.

Source: Circuit safety: switch a separate load with a relay

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.

Source: Circuit safety: switch a separate load with a relay

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.

Source: Circuit safety basics for Arduino beginners

Do I need a resistor for every LED?

Yes. Putting LEDs in parallel with a single shared resistor makes current sharing unpredictable.

Source: Circuit safety basics for Arduino beginners

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.

Source: Circuit safety basics for Arduino beginners

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.

  1. Find your symptom
    Open the question that matches what you see on your board or in your sketch.
  2. Read the short answer
    Each answer gives the most likely cause first, then the check that confirms it.
  3. 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.

Keep your progress in one place

Create a free account to save what you are working on and see your results.