With an considerable variety of GPIO pins and native USB, the Raspberry Pi Pico is arguably the perfect microcontroller for creating your individual platform agnostic USB human enter gadgets. However you do not have to hearken to us for this. See how rapidly the board permitted $4 USD [Alberto Nunez] To place a pair of foot pedals in your pc.

Wiring does not get a lot simpler than this.

A peek contained in the enclosure reveals… properly, not a lot. All that is hidden inside that heavy-duty plastic field is the Pi Pico and a few screw down terminals that permit go [Alberto] Simply wire the feminine bulkhead connectors to the pedals. By the way, when you can definitely make your individual pedals, those used for this venture seem to be the commercially accessible models we have utilized in related tasks.

With {hardware} type, [Alberto] Simply want to jot down software program. Whereas he may have taken the simple approach out and hard-coded all the pieces, we admire that his CircuitPython script masses its configuration from a textual content file. This lets you simply configure which GPIO pins are related to the buttons, and which key codes to affiliate them with. He did not really want to place that a lot effort for his functions, nevertheless it makes the venture loads simpler to adapt to others, so we salute him.

In the event you’re on the lookout for a little bit extra inspiration, take a look at our personal [Kristina Panos] Put collectively a Python-powered macro foot stool you can put underneath your desk for fast hearth keyboard shortcuts. As well as, if needed, you’ll be able to stand on it to achieve the highest shelf.



Supply hyperlink