The Relay Board (Core Electronics CE05279) is a versatile circuit board equipped with multiple relays, which are electrically operated switches. This component enables the control of high-voltage or high-current devices using low-voltage signals, making it an essential tool for automation, home appliances, and industrial control systems.
Relay boards are widely used in applications such as home automation, motor control, lighting systems, and IoT projects. They provide a safe and efficient way to interface low-power microcontrollers, such as Arduino or Raspberry Pi, with high-power devices.
Below are the key technical details for the Core Electronics CE05279 Relay Board:
The relay board has a set of input pins for control signals and output terminals for connecting external devices. Below is the pin configuration:
Pin Name | Description |
---|---|
VCC | 5V DC power supply input |
GND | Ground connection |
IN1 | Control signal for Relay 1 (Active LOW) |
IN2 | Control signal for Relay 2 (Active LOW) |
IN3 | Control signal for Relay 3 (Active LOW) |
IN4 | Control signal for Relay 4 (Active LOW) |
Terminal | Description |
---|---|
COM | Common terminal for the relay |
NO | Normally Open terminal (connected when relay is active) |
NC | Normally Closed terminal (connected when relay is inactive) |
Below is an example code snippet to control the relay board using an Arduino UNO:
// Example code to control a 4-channel relay board (CE05279) with Arduino UNO
// Define the relay control pins
#define RELAY1 2 // Relay 1 connected to digital pin 2
#define RELAY2 3 // Relay 2 connected to digital pin 3
#define RELAY3 4 // Relay 3 connected to digital pin 4
#define RELAY4 5 // Relay 4 connected to digital pin 5
void setup() {
// Set relay pins as outputs
pinMode(RELAY1, OUTPUT);
pinMode(RELAY2, OUTPUT);
pinMode(RELAY3, OUTPUT);
pinMode(RELAY4, OUTPUT);
// Initialize all relays to OFF (HIGH state)
digitalWrite(RELAY1, HIGH);
digitalWrite(RELAY2, HIGH);
digitalWrite(RELAY3, HIGH);
digitalWrite(RELAY4, HIGH);
}
void loop() {
// Example: Turn on Relay 1 for 2 seconds, then turn it off
digitalWrite(RELAY1, LOW); // Activate Relay 1
delay(2000); // Wait for 2 seconds
digitalWrite(RELAY1, HIGH); // Deactivate Relay 1
delay(2000); // Wait for 2 seconds
// Repeat similar logic for other relays as needed
}
Relays Not Activating:
Erratic Relay Behavior:
Microcontroller Resetting When Relays Activate:
Relay Stuck in ON/OFF State:
Q: Can I use the relay board with a 3.3V microcontroller?
Q: Is the relay board suitable for controlling DC motors?
Q: Can I control all four relays simultaneously?
This documentation provides a comprehensive guide to using the Core Electronics CE05279 Relay Board effectively and safely.