Skip to product information
1 of 4

Toggle Switch

Toggle Switch

SKU:AX22-0022

⏳ This item is currently sold out — a new batch is on its way and will be available soon!

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 $4.53
Regular price Sale price $4.53
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

Material Datasheet →

Pinout

Technical Resources

Toggle Switch - (AX22-0022)
🖱️ Click & drag to rotate
#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);
}