5V Arduino 4 Channel Relay Module
സ്പെസിഫിക്കേഷനുകൾ:
- Product: Arduino 4 Channel Relay Module
- ചാനലുകളുടെ എണ്ണം: 4
- Control: High-voltage devices such as pumps, fans,
ആക്യുവേറ്ററുകൾ - Trigger Options: Low trigger and high trigger for each
റിലേ - Power Requirement: External 5V power source for the module
ഉൽപ്പന്ന ഉപയോഗ നിർദ്ദേശങ്ങൾ:
About Arduino 4 Channel Relay Module:
The Arduino 4 Channel Relay Module is designed to control
ഉയർന്ന വോള്യംtage devices with ease. It consists of 4 relays on a single
board, offering a simpler wiring solution compared to using
multiple 1-channel relay modules.
Wiring the Module:
To power the 4-channel relay module, avoid direct connection to
the Arduino’s 5V pin. Instead, use three power sources: a 5V power
adapter for the Arduino, a separate 5V power adapter for the relay
module, and a higher-voltage power adapter for the devices
controlled by the relays.
Programming for the Module:
Initialize the Arduino pins for each relay to digital output
mode using the pinMode() function. You can refer to the provided
Arduino code snippet for an example.
ദ്രുത ഘട്ടങ്ങൾ:
- Copy the provided Arduino code
- Open Arduino IDE and paste the code
- Upload the code to your Arduino board
- Observe the relay activation and deactivation
പതിവുചോദ്യങ്ങൾ:
Q: Can I use a single 5V power source for both Arduino and the
4-channel relay module?
A: Yes, you can reduce the number of power adapters by using a
single 5V power source for both Arduino and the relay module.
Q: How do I select between low trigger and high trigger for
each relay?
A: The 4-channel relay module has 4 jumpers that allow you to
individually select between low trigger and high trigger for each
റിലേ.
Arduino 4 Channel Relay Module 5V UserÕs Manual
Arduino 4 Channel Relay Module:
When we want to control 4 high-voltage devices such as pumps, fans, actuators… We can use multiple relay modules. However, there is a simpler way is to use a 4-channel relay module. A 4-channel relay module is a combination of 4 relays on a single board. A 4-channel relay module vs 4 x 1-channel relay modules: — A 4-channel relay module has simpler wiring. — A 4-channel relay module uses less space. — A 4-channel relay module is cheaper. — The programming is the same.
About Arduino 4 Channel Relay Module:
For detail of how to connect relay to high-voltage, what are differences between normally closed and normally open
It also has 4 jumpers to select between the low trigger and the high trigger for each relay individually.
വയറിംഗ് ഡയഗ്രം:
4-channel relay module consumes considerable power. Therefore, we should NOT power the module directly from the 5V pin of Arduino. We need to use external 5V power for the module instead.
So, we need to use three power sources:
— A 5V power adapter for Arduino — A 5V power adapter for the 4-channel relay module — A higher-voltage power adapter (12VDC, 24VDC, 48VDC, 220AC…) for things that are controlled by the 4-channel relay module
— Wiring diagram with three power sources. Power supply for Arduino (not included in the image) can be via either USB cable or power jack.
— We can reduce the number of power adapters by using a single 5V power source for both Arduino and the 4-channel relay module.
How to Program for 4-Channel Relay Module:
— Initialize the Arduino pin to the digital output mode by using pinMode() function. pinMode(PIN_RELAY_1, OUTPUT); pinMode(PIN_RELAY_2, OUTPUT); pinMode(PIN_RELAY_3, OUTPUT); pinMode(PIN_RELAY_4, OUTPUT);
–Control the relayÕs state by using digitalWrite() function. digitalWrite(PIN_RELAY_1, HIGH); digitalWrite(PIN_RELAY_2, HIGH); digitalWrite(PIN_RELAY_3, HIGH); digitalWrite(PIN_RELAY_4, HIGH);
Arduino Code:
/* * Created by ArduinoGetStarted.com
* * This example കോഡ് പൊതുസഞ്ചയത്തിലാണ്
* * Tutorial page: https://arduinogetstarted.com/tutorials/arduino-4-channel-
relaymodule */
#define PIN_RELAY_1 #define PIN_RELAY_2 #define PIN_RELAY_3 #define PIN_RELAY_4
2 // the Arduino pin, which connects to the IN1 pin of relay module 3 // the Arduino pin, which connects to the IN2 pin of relay module 4 // the Arduino pin, which connects to the IN3 pin of relay module 5 // the Arduino pin, which connects to the IN4 pin of relay module
// the setup function runs once when you press reset or power the board void setup() {
Serial.begin(9600);
// initialize digital pin as an output. pinMode(PIN_RELAY_1, OUTPUT); pinMode(PIN_RELAY_2, OUTPUT); pinMode(PIN_RELAY_3, OUTPUT); pinMode(PIN_RELAY_4, OUTPUT); }
// the loop function runs over and over again forever void loop() {
Serial.println(“Turn on all”); digitalWrite(PIN_RELAY_1, HIGH); digitalWrite(PIN_RELAY_2, HIGH); digitalWrite(PIN_RELAY_3, HIGH); digitalWrite(PIN_RELAY_4, HIGH); delay(1000);
Serial.println(“Turn off all”); digitalWrite(PIN_RELAY_1, LOW); digitalWrite(PIN_RELAY_2, LOW); digitalWrite(PIN_RELAY_3, LOW); digitalWrite(PIN_RELAY_4, LOW); delay(1000); }
ദ്രുത ഘട്ടങ്ങൾ:
— Copy the above code and open with Arduino IDE — Click Upload button on Arduino IDE to upload code to Arduino — Listen the click sound on relays. — See the result on Serial Monitor.
പ്രമാണങ്ങൾ / വിഭവങ്ങൾ
![]() |
HOS 5V Arduino 4 Channel Relay Module [pdf] ഉപയോക്തൃ മാനുവൽ 5V Arduino 4 Channel Relay Module, 4 Channel Relay Module, Relay Module, Module |
