# Three Button Foot Switch

## Overview

https://youtu.be/fMkaawdoVkk

In this project we're making a USB foot switch with CircuitPython!

We were inspired to make a new foot switch which could be really nice for young folks and even animals.

&nbsp;

![3d_printing_hero-solo.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/740/medium640/3d_printing_hero-solo.jpg?1644249997)

For tasks that require both hands, we think using feet can help complete tasks much quicker!

We designed and 3d printed a three button foot pedal that snap fits together.

This project can be powered by either an Adafruit QT Py RP2040 or the KB2040.

CircuitPython makes USB HID project really easy to put together.

You can customize the key&nbsp;codes and set up different keyboard shortcuts or media controls like play/pause and volume.

![3d_printing_hero-use.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/739/medium640/3d_printing_hero-use.jpg?1644249926)

![3d_printing_hero-paw.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/741/medium640/3d_printing_hero-paw.jpg?1644250051)

You can 3D print the parts without any support material using your favorite filament.

The bottom features mounting holes to use M3 hardware to secure the switches and brackets.

The case is compatible with the QTPy or KB2040 board. We used the QTPy in this build.

Boards press fit into a mount that can then&nbsp;attach to the case.

&nbsp;

![3d_printing_parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/742/medium640/3d_printing_parts.jpg?1644250330)

![3d_printing_3d-parts.jpg](https://cdn-learn.adafruit.com/assets/assets/000/108/743/medium640/3d_printing_3d-parts.jpg?1644250277)

Top covers can then be installed to the built-in hinges on the base.&nbsp;Theres nubbin's on the sides that are press fitted into the dimples on the hinges.

The micro-switch features a bump actuator so it works nicely without the need of an additional spring!

![](https://cdn-learn.adafruit.com/assets/assets/000/108/744/medium800/3d_printing_code-medium.jpg?1644250544)

## Prerequisite Guides

If your new to electronics and soldering, I&nbsp;suggest walking through the following guides to get the basics. The Adafruit Excellent guide to soldering will walk you through process of learning how to use a soldering iron to make solid electrical connections.

- [Lemon KeyPad](https://learn.adafruit.com/qtpy-lemon-mechanical-keypad-macropad/code)
- [Single Button Foot Switch](https://learn.adafruit.com/USB-foot-switch-circuit-python)
- [Adafruit Guide to Excellent Soldering](../../../adafruit-guide-excellent-soldering?view=all)
- [Welcome to CircuitPython](../../../welcome-to-circuitpython)

![](https://cdn-learn.adafruit.com/assets/assets/000/108/803/medium800/projects_trs-mounted-closed.jpg?1644334466)

Info: Optional TRS jacks can be used for Assistive Technology button and switches. 

## Parts
### Adafruit QT Py RP2040

[Adafruit QT Py RP2040](https://www.adafruit.com/product/4900)
What a cutie pie! Or is it... a QT Py?&nbsp;This diminutive dev board comes with one of our new favorite chip, the RP2040. It's been made famous in the new [Raspberry Pi Pico](https://www.adafruit.com/pico) _and_ our [Feather...](http://www.adafruit.com/product/4884)

In Stock
[Buy Now](https://www.adafruit.com/product/4900)
[Related Guides to the Product](https://learn.adafruit.com/products/4900/guides)
![Video of hand holding a QT Py PCB in their hand. An LED glows rainbow colors.](https://cdn-shop.adafruit.com/product-videos/640x480/4900-06.jpg)

### Arcade Button and Switch Quick-Connect Wires - 0.187" (10-pack)

[Arcade Button and Switch Quick-Connect Wires - 0.187" (10-pack)](https://www.adafruit.com/product/3835)
Quick connector wire sets make wiring up our arcade-style or metal buttons quicky-quick. Each wire comes as a 'pair' with two 0.187" quick-connects pre-crimped. The wires are terminated together in a JST 2.5mm 2-pin connector. This connector will fit in 0.1" headers,...

In Stock
[Buy Now](https://www.adafruit.com/product/3835)
[Related Guides to the Product](https://learn.adafruit.com/products/3835/guides)
![Angled shot of Arcade Button and Switch Quick-Connect Wires - 0.187" (10-pack)](https://cdn-shop.adafruit.com/640x480/3835-08.jpg)

- [Next Page](https://learn.adafruit.com/three-button-foot-switch/circuit-diagram.md)

## Featured Products

### Micro Switch - Premium Zippy 3-Terminal

[Micro Switch - Premium Zippy 3-Terminal](https://www.adafruit.com/product/817)
Micro-switches are often found in arcade buttons and joysticks but they're also really handy in any kind of mechatronics project or when you need a basic sensor. They are always 'tactile' (clicky feeling), and 'momentary' (the switch closes when pressed, then snaps open...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/817)
[Related Guides to the Product](https://learn.adafruit.com/products/817/guides)
### Adafruit QT Py RP2040

[Adafruit QT Py RP2040](https://www.adafruit.com/product/4900)
What a cutie pie! Or is it... a QT Py?&nbsp;This diminutive dev board comes with one of our new favorite chip, the RP2040. It's been made famous in the new [Raspberry Pi Pico](https://www.adafruit.com/pico) _and_ our [Feather...](http://www.adafruit.com/product/4884)

In Stock
[Buy Now](https://www.adafruit.com/product/4900)
[Related Guides to the Product](https://learn.adafruit.com/products/4900/guides)
### Arcade Button and Switch Quick-Connect Wires - 0.187" (10-pack)

[Arcade Button and Switch Quick-Connect Wires - 0.187" (10-pack)](https://www.adafruit.com/product/3835)
Quick connector wire sets make wiring up our arcade-style or metal buttons quicky-quick. Each wire comes as a 'pair' with two 0.187" quick-connects pre-crimped. The wires are terminated together in a JST 2.5mm 2-pin connector. This connector will fit in 0.1" headers,...

In Stock
[Buy Now](https://www.adafruit.com/product/3835)
[Related Guides to the Product](https://learn.adafruit.com/products/3835/guides)
### Little Rubber Bumper Feet - Pack of 4

[Little Rubber Bumper Feet - Pack of 4](https://www.adafruit.com/product/550)
Keep your electronics from going barefoot, give them little rubber feet! These small sticky bumpers are our favorite accessory for any electronic kit or device. They are sticky, but not impossible to remove. They're small enough to fit onto any board, and have just enough height to give...

In Stock
[Buy Now](https://www.adafruit.com/product/550)
[Related Guides to the Product](https://learn.adafruit.com/products/550/guides)
### Panel Mount 1/8" / 3.5mm TRS Audio Jack Connector

[Panel Mount 1/8" / 3.5mm TRS Audio Jack Connector](https://www.adafruit.com/product/3692)
What _is_ this TRS bit? **T** urtle **R** ock **S** tudios? **T** ransmission **R** aman **S** pectroscopy? Not quite, more...

In Stock
[Buy Now](https://www.adafruit.com/product/3692)
[Related Guides to the Product](https://learn.adafruit.com/products/3692/guides)

## Related Guides

- [Adafruit QT Py RP2040](https://learn.adafruit.com/adafruit-qt-py-2040.md)
- [AS5600 Super Smooth Rotary Encoder](https://learn.adafruit.com/as5600-smooth-rotary-encoder.md)
- [Light Up your Costume with Noods](https://learn.adafruit.com/light-up-your-costume-with-noods.md)
- [Kitty Toe Bean Keypad with Color TFT](https://learn.adafruit.com/kitty-toe-bean-paw-keypad-color-tct.md)
- [How to Choose a Microcontroller](https://learn.adafruit.com/how-to-choose-a-microcontroller.md)
- [NeoKey Emoji Keyboard](https://learn.adafruit.com/neokey-emoji-keyboard.md)
- ["Mother of all Demos" USB Keyset](https://learn.adafruit.com/usb-keyset.md)
- [USB MIDI Host2Host](https://learn.adafruit.com/usb-midi-host2host.md)
- [LED Noodle Holiday Tree](https://learn.adafruit.com/led-noodle-tree.md)
- [MIDI Foot Pedal](https://learn.adafruit.com/midi-foot-pedal.md)
- [MIDI for Makers](https://learn.adafruit.com/midi-for-makers.md)
- [MIDI Breath Controller](https://learn.adafruit.com/midi-breath-controller.md)
- [Animated Edge Lit Acrylic NeoPixel Lamp](https://learn.adafruit.com/acrylic-neopixel-lamp.md)
- [PlayStation Spinner Controller](https://learn.adafruit.com/playstation-spinner-controller.md)
- [LED Neon Signs with NeoPixels](https://learn.adafruit.com/led-neon-signs-with-neopixels.md)
