5V/12V/24V Self-Locking Relay Module – One Button Toggle
5V / 12V / 24V Self-Locking Relay Module with Optocoupler
Take control of your electronics projects with this versatile self-locking relay module. Designed for hobbyists, engineers, and makers alike, this compact module allows a single button press to toggle a relay ON or OFF — no need to hold the button down. Whether you're automating a circuit, building a custom controller, or adding a latching function to your project, this module delivers reliable, repeatable switching performance.
The built-in optocoupler isolation protects your control circuitry from the load side, making it a safe and smart choice for mixed-voltage applications. It supports three common operating voltages — 5V, 12V, and 24V — making it compatible with a wide range of microcontrollers, Arduino boards, Raspberry Pi setups, and industrial control systems.
Made in Mainland China.
Key Features
- ✅ One-button latch: Single pulse toggles the relay ON; another pulse toggles it OFF
- ✅ Multi-voltage support: Works at 5V, 12V, or 24V DC (select your required voltage)
- ✅ Optocoupler isolated: Keeps control and load circuits safely separated
- ✅ Passive relay output: Controls DC or AC loads up to 5A
- ✅ High-quality components: Precision manufacturing for long-term durability
- ✅ Compact & lightweight: Approx. 18g / 0.6 oz — easy to integrate into any enclosure
Specifications
| Model | YYLOCK-1 |
| Input Voltage | 5V / 12V / 24V DC (optional) |
| Trigger Type | High Level / Negative Trigger |
| Output | Passive contact — DC or AC load up to 5A |
| Weight | Approx. 18g / 0.6 oz |
| Origin | Mainland China |
Connection Port Guide
- DC+ — Input power positive (cathode)
- DC− — Input power negative electrode
- IN — Signal input terminal (negative trigger)
- NO — Normally open relay interface; connects to COM when relay is energized
- COM — Common relay interface
- NC — Normally closed relay interface; connected to COM before relay is energized
What's in the Box
- 1 × Self-Locking Relay Switch Module (YYLOCK-1)
You May Also Like
- 1/2" Drive 8-Piece Hex Short Socket Set – Vanadium Steel
- 10-Pc Hex Nut & Bolt Extractor Kit 9–19mm | HIP Tools
- 105° Right Angle Driver with 1/4" Hex Screwdriver Bit | HIP
Learn more: OSHA on eye and face protection
Frequently Asked Questions
Q: What voltages does this self-locking relay module support?
A: This relay module supports three operating voltages — 5V, 12V, and 24V DC. When ordering, select the voltage that matches your project's power supply. It is compatible with Arduino, Raspberry Pi, and most standard microcontroller setups.
Q: How does the self-locking (latching) function work?
A: The module uses a pulse-triggered latch mechanism. Sending a single pulse signal (or pressing a connected button once) energizes the relay and keeps it ON — even after the signal is removed. A second pulse then switches the relay OFF. This makes it ideal for toggle switches, automated systems, or any application where you need a sustained ON/OFF state without holding the input high.
Q: What loads can the relay output control?
A: The relay output is a passive contact rated for DC or AC loads up to 5A. This covers a wide range of common electrical loads including small motors, lights, solenoids, and other devices within the rated current.
Q: Does the optocoupler provide electrical isolation?
A: Yes. The built-in optocoupler electrically isolates the low-voltage control circuit from the relay output (load) side. This protects sensitive microcontrollers and signal sources from voltage spikes or noise generated by the load.
Production & Packaging Notice
To maintain high stock availability and fast shipping times, our items are sourced from multiple verified manufacturing facilities. While the core quality, materials, and product specifications remain identical, you may notice slight variations in the packaging design, manufacturing origin, or the wording of the printed instructions.