Electronic Components
Wired Self-adhesive Momentary Pushbutton
Shopping information
This little wired momentary push button is a compact and convenient way to add super-simple GPIO control to your project. It acts like a simple 2-wire momentary button. The circuit stays open until the button is pushed, which then connects the circuit until it’s released again – it’s as simple as that!
It’s not a latching type, so this can’t be used as a hardware ON/OFF switch (but you could code it that way in your software, just like the Pico example below).
The button has a nice clicky action and comes with a self-adhesive backing to mount it in the ideal position. The end of the wire is bare, ready to strip for use in a solderless breadboard, terminal blocks or soldering directly to a PCB.
The overall length of the unit is approximately 52cm, with the wire section measuring around 49cm. The button also includes some strain relief to ensure the wires stay put.
Quick Raspberry Pi Pico Example
You could follow the Raspberry Pi guide on wiring a button to the original Raspberry Pi Pico to light the onboard LED on GPIO 25*. Connect one wire to GPIO14 (physical pin 19), another wire to 3.3V (physical pin 36) and use the example code to toggle the LED:
from machine import Pinimport timeled = Pin(25, Pin.OUT)button = Pin(14, Pin.IN, Pin.PULL_DOWN)while True: if button.value(): led.toggle() time.sleep(0.5)
*Note the Pico W uses a different pin for the onboard LED.
Features
- Wired momentary switch
- Self-adhesive
- Dimensions:
- Overall length: 52cm
- Wire length: 49cm
- Wire gauge: 22 AWG
- Strain relief
Only logged in customers who have purchased this product may leave a review.
Keep exploring
You may also like
More pieces selected to complement what you are viewing.
-
Sale
NGK IX Iridium Spark Plug Box of 4 (93911)
Original price was: $27.43.$21.94Current price is: $21.94. -
Sale
Future State Suicide Squad #1 (Of 2) B Derrick Chew Card Stock Variant (01/27/2021) Dc
Original price was: $6.99.$5.59Current price is: $5.59. -
Sale
Boomslang Plug-and-Play Harness Kit for Haltech Elite 2500 2010-2015 Chevrolet Camaro (BF25999-2500)
Original price was: $148.00.$74.00Current price is: $74.00. -
Sale
NGK Iridium Stock Heat Spark Plugs Box of 4 (6341)
Original price was: $27.43.$21.94Current price is: $21.94.