

A relay is an electromechanical switch that uses an electromagnet to open or close a circuit, allowing control of a high-power circuit with a low-power signal. Manufactured by SparkFun Electronics, the COM-00101 relay is a versatile and reliable component widely used in various applications.








The SparkFun COM-00101 relay is designed for robust performance in a variety of applications. Below are its key technical details:
| Parameter | Value |
|---|---|
| Manufacturer | SparkFun Electronics |
| Part ID | COM-00101 |
| Type | Electromechanical Relay |
| Operating Voltage | 5V DC |
| Switching Voltage | Up to 250V AC / 30V DC |
| Switching Current | Up to 10A |
| Coil Resistance | 70Ω |
| Contact Configuration | SPDT (Single Pole Double Throw) |
| Dimensions | 19mm x 15mm x 15mm |
| Weight | 10g |
The relay has five pins, as described in the table below:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Coil (+) | Positive terminal of the relay coil. Connect to the control signal (5V DC). |
| 2 | Coil (-) | Negative terminal of the relay coil. Connect to ground (GND). |
| 3 | Common (COM) | Common terminal for the relay switch. |
| 4 | Normally Open (NO) | Open when the relay is inactive; closes when the relay is activated. |
| 5 | Normally Closed (NC) | Closed when the relay is inactive; opens when the relay is activated. |
Below is an example of how to control the COM-00101 relay with an Arduino UNO:
// Define the relay control pin
const int relayPin = 7;
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Ensure the relay is off initially
}
void loop() {
digitalWrite(relayPin, HIGH); // Turn the relay on
delay(1000); // Keep it on for 1 second
digitalWrite(relayPin, LOW); // Turn the relay off
delay(1000); // Keep it off for 1 second
}
Note: Use a transistor or relay driver module to interface the Arduino with the relay, as the Arduino's GPIO pins cannot directly supply enough current to drive the relay coil.
Relay Not Switching:
Load Not Turning On/Off:
Microcontroller Resetting:
Relay Overheating:
Q1: Can I use the COM-00101 relay with a 3.3V microcontroller?
A1: Yes, but you will need a transistor or relay driver circuit to step up the control signal to 5V.
Q2: What is the lifespan of the COM-00101 relay?
A2: The relay is rated for approximately 100,000 mechanical operations under normal conditions.
Q3: Can the relay switch both AC and DC loads?
A3: Yes, the relay can switch up to 250V AC or 30V DC, as long as the current does not exceed 10A.
Q4: Is the relay suitable for PWM control?
A4: No, relays are not designed for high-speed switching. Use a solid-state relay or MOSFET for PWM applications.