
This circuit is a simple 12V lighting system that uses a toggle switch to control a 12V white LED strip. The circuit includes a fuse for overcurrent protection and is powered by a 12V battery.

The Hailege 12 Volt SPST Relay (Manufacturer Part ID: 1) is a single pole, single throw relay designed to control electrical circuits by opening or closing them in response to a 12V DC signal. This relay acts as an electrically operated switch, allowing low-power control signals to manage higher-power circuits safely and efficiently.

This circuit is a simple 12V lighting system that uses a toggle switch to control a 12V white LED strip. The circuit includes a fuse for overcurrent protection and is powered by a 12V battery.

This circuit uses an ESP32 microcontroller to control a 12V relay, which in turn operates a plastic solenoid valve. The ESP32 toggles the relay on and off every second, allowing the solenoid valve to open and close accordingly.

This circuit is a control system using an ESP32 microcontroller to manage a 4-channel relay module, which in turn controls various loads. The relays are activated by rocker switches and provide visual feedback through LEDs, while power is supplied and regulated by an HLK-PM12 module and protected by a fuse and circuit breaker.

This circuit consists of a 5V battery powering a 4-channel relay module, which controls four LEDs (red, yellow, green, and blue) through individual resistors. Each relay channel is activated by a corresponding SPST toggle switch, allowing manual control of the LEDs.
The Hailege 12 Volt SPST Relay has 5 pins, as described in the table below:
| Pin Number | Name | Description |
|---|---|---|
| 1 | Coil (+) | Positive terminal of the relay coil. Connect to 12V DC to energize the relay. |
| 2 | Coil (-) | Negative terminal of the relay coil. Connect to ground. |
| 3 | Common (COM) | Common terminal for the relay switch. |
| 4 | Normally Open (NO) | The terminal that connects to COM when the relay is energized. |
| 5 | Not Used | This pin is not connected internally and can be ignored. |
Below is an example of how to control the Hailege 12 Volt SPST Relay using an Arduino UNO:
// Example: Controlling a 12V SPST Relay with Arduino UNO
// Pin 7 is used to control the relay via a transistor driver circuit.
const int relayPin = 7; // Define the pin connected to the relay driver circuit
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(5000); // Keep the relay on for 5 seconds
digitalWrite(relayPin, LOW); // Turn the relay off
delay(5000); // Keep the relay off for 5 seconds
}
Note: Use a transistor (e.g., 2N2222) and a base resistor (e.g., 1kΩ) to drive the relay from the Arduino, as the Arduino's GPIO pins cannot supply enough current to energize the relay directly.
Relay Not Switching:
Relay Stuck in ON or OFF Position:
Microcontroller Resetting When Relay Activates:
Load Not Turning On/Off:
Q: Can this relay handle AC loads?
Q: Can I use this relay with a 5V microcontroller?
Q: Is the relay suitable for continuous operation?
Q: Can I use this relay for switching high-frequency signals?