Skip to product information
1 of 4

Toggle Switch

Toggle Switch

SKU:AX22-0022

This AX22-sized board mounts a rugged, aircraft-like SPDT toggle (the kind you see on avionics panels, complete with metal lever and positive detents) onto a tidy 22 × 22 mm PCB, with integrated debounce and pull-ups. Rated for tens of thousands of cycles, just drop it into any AX22 backplane and flip the switch your code sees a rock-solid HIGH or LOW whether you’re in Arduino, MicroPython, or MicroBlocks.
Regular price $6.49
Regular price Sale price $6.49
Sale Sold out
View full details

Technical details

  • 22 mm × 22 mm square
  • 4× ⌀2.7 mm Mounting Holes
  • 5 A @ 28 V DC / 2 A @ 250 V AC rating
  • On Board Debounce
  • 1.8 V, 3.3 V, 5.0 V
  • Arduino IDE Compatible
  • MicroPython Compatible
  • MicroBlocks Compatible
Component datasheet (opens in a new tab)

Drag to rotate

Pinout & connections

Pinout & connections

Technical Resources

Toggle Switch - (AX22-0022)

Drag to rotate

Arduino example

ax22-0022.ino
#define TOGGLE_PIN 14

void setup() {
  Serial.begin(9600);
  pinMode(TOGGLE_PIN, INPUT);
}

void loop() {
  int toggleValue = digitalRead(TOGGLE_PIN);

  Serial.print("Toggle Value: ");
  Serial.println(toggleValue);

  delay(10);
}