Code Monkey home page Code Monkey logo

rpi-pico-usb-foot-switch's Introduction

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

PIECES Robust and quickly materialized using TUSISTEMITA prototyping system.

Read this in other languages: Español

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

rpi-pico-usb-foot-switch's People

Contributors

alnunez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rpi-pico-usb-foot-switch's Issues

Non responsive

I've followed the instructions but it's completely unresponsive.

I've used jumper wires (as well as foot switch), one on gp18, the other on gnd - and nothing happens when touched together.
No led blinking. no keyboard entry

not sure what I'm doing wrong!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.