The 2 Channel G3MB-202P Solid-State Relay (SSR) is an electronic switching device that enables control of high power devices using low power signals. Unlike mechanical relays, the G3MB-202P SSR uses semiconductor devices, providing silent operation, fast switching speeds, and increased reliability. This component is commonly used in automation systems, microcontroller projects, and situations where precise control of high voltage/current loads is required.
Pin Number | Description | Type |
---|---|---|
1 | Input Control Voltage (+) | Input |
2 | Input Control Voltage (-) | Input |
3 | Load Voltage (Output, Terminal 1) | Output |
4 | Load Voltage (Output, Terminal 2) | Output |
Q: Can the G3MB-202P SSR be used with DC loads? A: No, this SSR is designed for AC loads only.
Q: Is it necessary to use a heat sink? A: For continuous operation near the 2A rating, a heat sink is recommended to prevent overheating.
Q: Can I control the SSR with a microcontroller like an Arduino? A: Yes, you can control the SSR using an Arduino's digital output pins to provide the control signal.
// Define the SSR control pins
const int ssrPin1 = 7; // SSR channel 1
const int ssrPin2 = 8; // SSR channel 2
void setup() {
// Set the SSR pins as outputs
pinMode(ssrPin1, OUTPUT);
pinMode(ssrPin2, OUTPUT);
}
void loop() {
// Turn on both channels of the SSR
digitalWrite(ssrPin1, HIGH);
digitalWrite(ssrPin2, HIGH);
delay(5000); // Keep on for 5 seconds
// Turn off both channels of the SSR
digitalWrite(ssrPin1, LOW);
digitalWrite(ssrPin2, LOW);
delay(5000); // Keep off for 5 seconds
}
Note: The above code is a simple example to demonstrate turning the SSR on and off. In a real-world application, you would replace the delay()
function with non-blocking code to avoid halting the entire program during the delay period.