Controlling a DC motor using a relay board is one of the most practical and beginner-friendly electronics projects. Whether you're building a robot, an automation system, or a DIY machine, understanding how a relay works with a motor will help you take your projects to the next level.
In this complete guide, we’ll break everything down step by step so even beginners can easily follow along.
What is a DC Motor?
A DC motor (Direct Current motor) is a device that converts electrical energy into mechanical motion. When powered, it rotates and can be used in applications like fans, wheels, pumps, and more.
What is a Relay Board?
A relay board is an electronic module that uses a relay (an electrically operated switch) to control high-power devices using low-power signals (like from Arduino or a microcontroller).
In simple terms:
- Low voltage (5V) controls
- High voltage (motor power) switches ON/OFF safely
Components Required
To control a DC motor using a relay board, you’ll need:
- DC motor
- Relay board (1-channel or more)
- Power supply (battery or adapter)
- Microcontroller (e.g., Arduino, optional for automation)
- Connecting wires
- Breadboard (optional)
How It Works
A relay has 3 important terminals:
- COM (Common)
- NO (Normally Open)
- NC (Normally Closed)
Working Principle:
- When the relay is OFF → NO is disconnected
- When the relay is ON → NO connects to COM → Motor gets power
So, the relay acts like a switch to turn the motor ON or OFF.
Circuit Connection
Step-by-Step Setup:
- Connect one terminal of the DC motor to the power supply (+)
- Connect the other motor terminal to NO on the relay
- Connect COM on the relay to the power supply (-)
Connect relay input pins to your microcontroller (or switch)
Important Tips
Always use a separate power supply for the motor if it needs higher current
Check relay voltage rating (5V, 12V, etc.)
Use a flyback diode across the motor for safety
Ensure proper wiring to avoid short circuits
Safety Precautions
Do not touch live wires
Double-check connections before powering ON
Use insulated wires
Keep water away from circuits
Applications
Controlling a DC motor with a relay board is useful in:
Home automation systems
Robotics projects
Conveyor belts
Automatic doors
DIY machines
Conclusion
Learning how to control a DC motor using a relay board is a foundational skill in electronics and automation. It allows you to safely manage high-power devices using simple control signals.
Once you understand this setup, you can expand into more advanced motor control systems like speed control using PWM or H-bridge circuits.