SparkFun
Soft Power Switch with USB-C
· MPN: PRT-27081
This board adds a laptop-style power button to your project: a simple press turns the system on, and another press can turn it off cleanly when your microcon...
This board adds a laptop-style power button to your project: a simple press turns the system on, and another press can turn it off cleanly when your microcontroller is involved. If things go wrong, pressing and holding the button for ~10 seconds forces a power-down.
This USB-C version has two USB Type C connectors and supports USB data feed-through, making it useful for enclosed builds where you still want a neat external power button. It is a good fit for projects using an enclosed Thing Plus board or similar microcontroller setup.
The design is based on a fully digital Texas Instruments circuit and includes a self-resetting 2A fuse for overcurrent protection, VIN and VOUT LEDs for visual feedback, and very low quiescent current draw. Connect the PUSH and OFF pins to your microcontroller to detect button presses and run a controlled shutdown sequence.
Documentation provided by SparkFun includes a schematic, KiCad files, 3D model, board dimensions, hookup guide, component datasheets, an example sketch, and the hardware repository.
Features:
- Software feedback and control: passive, hard on/off switching with MCU interaction.
- Press to power on: a simple press will turn the system on.
- Controlled shutdown: another press can, with MCU intervention, turn off the system.
- Hard override: pressing and holding the button for ~10 seconds will force a power-down.
- USB-C: this version has two USB-C connectors.
- USB data feed-through: supports USB data feed-through.
- Overcurrent protection: self-resetting 2A fuse.
- Visual feedback: input and output LEDs.
- Low standby draw: very low quiescent current draw to conserve battery power.
- MCU pins: PUSH and OFF pins for button monitoring and controlled shutdown.
- Timing customisation: wake-up and power-down times can be customised.
Specifications:
- Input voltage: 5.5V maximum, 1.8V minimum
- Typical input: Typically 5V from USB
- Maximum current draw: 2A continuous, 4A peak (fuse protected)
- MOSFET: SIL2308 N&P-Channel MOSFET
- P-Channel on-resistance: 70mΩ (0.070 Ohm) typical P-Channel on-resistance
- Quiescent current: <1µA @ 3.75V, with VIN LED disabled
- USB Type C connectors: 2x USB Type C Connectors
- VIN: VIN
- VOUT: VOUT
- USB data feed-through: USB data feed-through
- Built-in momentary push button: Built-in momentary push button
- Hard override: push and hold the button for ~10 seconds
- Breakout PTH GND: GND
- Breakout PTH VIN: VIN
- Breakout PTH VOUT: VOUT
- BTN: if desired, connect an external button between BTN and GND
- PUSH: open-drain output, requires pull-up, low indicates button is pushed
- OFF: drive high to turn the output off
- LEDs: VIN and VOUT (can be disabled if desired)
- Jumpers: Jumpers
- Input power LED: Input power LED
- Output power LED: Output power LED
- Dimensions: 1.0in. x 1.0in. (25.4mm x 25.4mm)
- Weight: 3.25g
Use it when you need a neat front-panel-style power button, USB-C pass-through, and microcontroller-aware shutdown control in a compact build.
Jargon buster
Plain-language definitions for the technical terms used above.
- breakout
- A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
- LED
- A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
- microcontroller
- A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
- PTH
- Plated through-hole means the pin holes are metal-lined so solder connects the pad on both sides of the board. It is useful for connectors and headers that need a strong mechanical and electrical connection.
- Thing Plus
- Thing Plus is SparkFun’s development-board form factor with a small rectangular layout and connections suited to wireless and battery-powered projects. It matters because boards and accessories in the same form factor are easier to mount, wire, and swap between projects.
- USB-C
- A modern reversible USB connector used for power and data connections. On this product it matters because it can connect directly to a computer as well as to a microcontroller project.
Find this product in
Soft Power Switch USB-C Schematic
Schematic · 194.6 KB · Click any page to view full size
SN74LVC1G14 Datasheet
Datasheet · 2.6 MB · Click any page to view full size
SN74LVC1G17 Datasheet
Datasheet · 2.9 MB · Click any page to view full size
SN74LVC1G175 Datasheet
Datasheet · 1.9 MB · Click any page to view full size
SCEA048B Push Button Application Note
Product Brief · 183.2 KB · Click any page to view full size
Supplier page — sparkfun.com
Supplier Description · 740.2 KB · Click any page to view full size
Resources & Downloads
Guides, code examples, and more