Wired Self-adhesive Momentary Pushbutton

Price:
Sale price £2
incl. VAT
excl. VAT
Stock:
In stock
Quantity:

Awesome Extras

Raspberry Pi Pico - The Pi HutRaspberry Pi Pico - The Pi Hut
Raspberry PiRaspberry Pi Pico
Sale priceFrom £3.80 incl. VAT excl. VAT
Breadboard for Pico - The Pi HutBreadboard for Pico - The Pi Hut
Monk MakesBreadboard for Pico
Sale price £4.20 incl. VAT excl. VAT
2.54mm/0.1" Pitch Terminal Block - 2-pin - The Pi Hut2.54mm/0.1" Pitch Terminal Block - 2-pin - The Pi Hut
The Pi Hut2.54mm/0.1" Pitch Terminal Block - 2-pin
Sale price £0.80 incl. VAT excl. VAT

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 Pin
import time

led = 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

Payment & Accreditations

Payment methods
Visa Mastercard Maestro PayPal Amazon Klarna

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

Accreditations