CIRCUIT · LATCHING POWER SWITCH

Latching Power Switch Circuit Examples

A latching power switch lets you turn a device on or off with a single button press—perfect for battery‑powered projects where every milliamp counts. These circuits use a momentary pushbutton and a few components to toggle power without a mechanical slide switch.

4 EXAMPLES· UPDATED 2026-08-03
Make your own latching power switch diagram.

Describe it in plain English — the AI drafts it, you edit. No template wrangling.

Make your own →
ABOUT

About these examples.

In this collection, you’ll find working examples tailored to popular microcontrollers and ICs: ESP32, ATtiny85, Raspberry Pi Zero, and the MAX16054. Each diagram includes a complete schematic, component values, and a simulation-ready layout so you can understand the latch mechanism at a glance.

Need a custom version? Open our circuit diagram maker to drag, drop, and tweak a latching power switch circuit—no installation required, and it’s free to start.

HOW TO

Make one yourself.

  1. 1

    Place the latching core

    Start with a flip‑flop, a dedicated latching IC, or a transistor‑based latch to hold the power state.

  2. 2

    Connect the momentary switch

    Wire the pushbutton to the latch’s trigger input, ensuring proper debouncing if needed.

  3. 3

    Add power MOSFET and load

    Use a P‑channel MOSFET (or N‑channel with a boost) to switch the main power rail to your load.

  4. 4

    Include protection and status

    Insert series resistors, TVS diodes, and an optional LED to indicate power state.

  5. 5

    Simulate and export

    Run a quick simulation to verify latch action, then export to a PCB layout tool or share as a PNG.

FAQ

Frequently asked questions

What is a latching power switch?01
A latching power switch toggles the power state with each press of a momentary button, staying on or off without holding the button down. It replaces a mechanical toggle with a solid‑state circuit.
How does a soft‑latch circuit work?02
A soft‑latch uses a flip‑flop or a transistor pair to ‘remember’ the last state. A button press changes the state, while a separate control signal (from a microcontroller) can also force power off.
Can I use a latching switch with a microcontroller?03
Yes—many designs allow the microcontroller to read the button press and then cut its own power via a GPIO, enabling safe shutdown or power‑saving features.
What components are needed for a latching power circuit?04
Typically a P‑channel MOSFET, a few NPN/PNP transistors or a logic IC like the MAX16054, resistors, a capacitor for debouncing, and a momentary pushbutton.
How do I prevent accidental power‑off?05
Implement a long‑press detection in firmware or add a hardware timer that requires the button to be held for a set duration before toggling.
Start from a blank canvas →

Open the AI editor and describe what you need — export PNG/SVG when you're done.

Make your own →