Skip to content
Free IDE

← Components

6 mm tactile button

A switch that only closes while you press it. It has 4 legs: the legs of each pair are already connected inside; pressing connects one pair to the other. It sits across the center channel of the breadboard. With the internal pull-up, released reads 1 and pressed reads 0.

Pinout

1b2b1a2a
PinConnect toNote
1a / 1bGPIO (with Pin.PULL_UP)connected to each other inside
2a / 2bGNDconnected to each other inside
FastMindLocal AI assistant

The AI that remembers your life and lives on your computer

  • Long-term memory with the source of every answer
  • Works offline: your data stays on your PC
  • Reads PDFs, slides, photos and meeting recordings
Download free for Windows

Essential plan free forever

MicroPython example

from machine import Pin
import time

botao = Pin(4, Pin.IN, Pin.PULL_UP)  # released = 1, pressed = 0

while True:
    if botao.value() == 0:
        print("pressed")
    time.sleep(0.05)

Specifications

ItemValueSource
Size6 × 6 mm, 4 legsTypical datasheet values
Bounce1–5 ms of transitions when pressedTypical datasheet values — Under review: measure
Which legs are connected1a–1b and 2a–2bUnder review: confirm on the lab button

Values marked "Under review" will still be checked against the parts in the lab.

FastTeacherFor teachers

From the syllabus to a planned semester

  • Teaching plan and calendar built automatically
  • Class diary ready to paste into SIGA
  • Slides and exercise lists with answer keys
Meet FastTeacher

Free Community edition · Windows

FastMindLocal AI assistant

The AI that remembers your life and lives on your computer

  • Long-term memory with the source of every answer
  • Works offline: your data stays on your PC
  • Reads PDFs, slides, photos and meeting recordings
Download free for Windows

Essential plan free forever

FastTeacherFor teachers

From the syllabus to a planned semester

  • Teaching plan and calendar built automatically
  • Class diary ready to paste into SIGA
  • Slides and exercise lists with answer keys
Meet FastTeacher

Free Community edition · Windows