Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/galopago/rpi-pico-usb-foot-switch
USB foot switch based on Rpi Pico. Written in Circuit Python, doesn't need any app to burn firmware. Reconfiguration of keys done with a text file
https://github.com/galopago/rpi-pico-usb-foot-switch
circuitpython hardware keyboard-emulation open-hardware-electronics opensource raspberry-pi-pico usb-hid
Last synced: about 1 month ago
JSON representation
USB foot switch based on Rpi Pico. Written in Circuit Python, doesn't need any app to burn firmware. Reconfiguration of keys done with a text file
- Host: GitHub
- URL: https://github.com/galopago/rpi-pico-usb-foot-switch
- Owner: galopago
- License: mit
- Created: 2021-08-21T01:59:48.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-14T00:56:28.000Z (6 months ago)
- Last Synced: 2024-09-27T09:23:38.904Z (about 2 months ago)
- Topics: circuitpython, hardware, keyboard-emulation, open-hardware-electronics, opensource, raspberry-pi-pico, usb-hid
- Language: Python
- Homepage:
- Size: 1.46 MB
- Stars: 26
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# USB FOOT SWITCH BASED ON RPI PICO
USB foot switch based on Rpi Pico. Configurable via text file, can emulate keystrokes and combination of keys with your feet!. Appear as an USB standard keyboard. Useful for audio/video edition (start/stop), PC based DIY CNC/3D machines, you name it.
![DIN-RAIL](docs/footswitch.png)
![PIECES](docs/footswitchopen.png)
Robust and quickly materialized using [TUSISTEMITA](https://github.com/galopago/TUSISTEMITA) prototyping system.Read this in other languages: [Español](docs/README.es.md)
## Directory structure
* The root folder contains circuit python program and config file
* utils directory contains binary files
* lib directory contains additional circuit python libraries
* docs additional files## How to use this repository
The project is developed in CircuitPython V6.3
* Connect normally open momentary switches (buttons, pedals, levers) between required GPIO ports and ground pins.
* Plug a Micro USB to USB cable to the Rpi Pico (Don't plug into the computer yet).
* Press bootsel button and keep pressed, then plug the RPI Pico into an USB port, when plugged release bootsel button.
* RPI Pico should appear as an USB drive in your OS desktop.(named Pi RP2 Boot)
* Copy Circuit Python installer from the utils directory to the USB drive
* Copy the contents of lib directory to the lib directory of the USB drive
* Copy keys.conf file to the root folder of the USB drive
* Copy code.py file to the root folder of the USB drive (overwrite)
* Unplug and Plug again
* Use it!## Messed USB!
If for some reason you messed the code, and the usb keyboard is unresponsive or fastfiring keys, you can "format" your Rpi Pico and
start fresh again doing the following: Unplug Rpi Pico Press bootsel button and keep pressing and then plug the RPI Pico again. Release bootsel button and copy the file named flash_nuke.uf2 and ta-da!. Rpi Pico like new.## License
This is an Open Source project an is licensed under a [MIT License](https://spdx.org/licenses/MIT.html)