

The 12V Single Button Bistable Self-Locking Relay Module by Hailege is a versatile electronic component designed for controlling high-voltage devices using a low-voltage signal. This module features a single push-button that toggles the relay state between ON and OFF, with a self-locking mechanism that retains the last state even after power loss. Its compact design and ease of use make it ideal for applications requiring simple on/off control.








Below are the key technical details of the module:
| Parameter | Specification |
|---|---|
| Operating Voltage | 12V DC |
| Trigger Method | Single push-button |
| Relay Type | Bistable (self-locking) |
| Maximum Load Voltage | 250V AC / 30V DC |
| Maximum Load Current | 10A |
| Module Dimensions | 50mm x 26mm x 18mm |
| Power Consumption | Low power consumption in idle state |
| Operating Temperature | -40°C to 85°C |
| Indicator LEDs | Power and relay state indicators |
The module has a simple pinout for easy integration into circuits:
| Pin Name | Description |
|---|---|
| VCC | Connect to 12V DC power supply |
| GND | Connect to ground |
| NO | Normally Open terminal of the relay |
| COM | Common terminal of the relay |
| NC | Normally Closed terminal of the relay |
VCC pin to a 12V DC power supply and the GND pin to ground.NO (Normally Open) and COM (Common) terminals.NC (Normally Closed) and COM terminals.To control the relay module using an Arduino UNO, you can replace the onboard button with a digital signal from the Arduino. Below is an example code snippet:
// Define the pin connected to the relay module
const int relayPin = 7; // Connect Arduino pin 7 to the relay module's button input
// Variable to track the relay state
bool relayState = false;
void setup() {
pinMode(relayPin, OUTPUT); // Set the relay pin as an output
digitalWrite(relayPin, LOW); // Initialize the relay in the OFF state
}
void loop() {
// Simulate a button press to toggle the relay state
relayState = !relayState; // Toggle the relay state
digitalWrite(relayPin, relayState ? HIGH : LOW); // Update the relay state
delay(1000); // Wait for 1 second before toggling again
}
Note: The onboard button must be removed or bypassed when controlling the relay with an Arduino.
Relay Does Not Toggle:
Relay Stays in One State:
Load Does Not Operate:
Q: Can the module retain its state after a power outage?
A: Yes, the bistable relay design ensures the module retains its last state even after power is restored.
Q: Can I use this module with a 5V microcontroller?
A: Yes, but you will need a transistor or optocoupler to safely interface the 5V signal with the 12V relay module.
Q: Is the module suitable for AC loads?
A: Yes, the relay can handle AC loads up to 250V and 10A. Ensure proper insulation and safety precautions.
Q: Can I use this module for rapid switching?
A: No, the relay is not designed for high-frequency switching. Use a solid-state relay for such applications.