Easy methods to Construct a Raspberry Pi Pico-Powered Movement Deck Keypad

Regardless of what number of keys your keyboard has, you’ll at all times use a devoted keypad with buttons for executing macros, launching your favourite apps or, for those who’re a streamer, beginning purposes in OBS. Many customers swear by means of the Elgato Movement Deck lineup of macro keypads, however those units are pricey. 

With Raspberry Pi Pico, some affordable {hardware} and the proper script, you’ll create your personal Movement Deck-like macro keypad, plug it in by the use of USB and use it to make your existence more uncomplicated in OBS or for any duties. As soon as finished, the macro keypad shall be noticed as a USB keyboard by means of your running device, permitting it to paintings with any laptop, no drivers or particular device required. 

What you want to construct a Raspberry Pi Pico-Powered Movement Deck  

  • Raspberry Pi Pico
  • Mechanical Key switches (i.e. Cherry MX brown)
  • Key Caps (Suitable for Cherry MX)
  • 30 Gauge Wires
  • 3-d revealed Case (the use of this design)

Surroundings Up Raspberry Pi Pico’s Firmware 

To get our Raspberry Pi Pico-powered circulation deck operating, we will be able to be the use of Circuit Python because the programming language, as it has a integrated USB HID library. To make use of Circuit Python on a Pico, you will have to first flash the right firmware.

1. Obtain the Circuit Python UF2 report.

2. Push and dangle the BOOTSEL button and plug your Pico into the USB port of your Raspberry Pi or different laptop. Unencumber the BOOTSEL button after your Pico is attached.

(*2*)

(Symbol credit score: Tom’s {Hardware})

This may occasionally mount the Pico as a Mass Garage Instrument known as “RPI-RP2”.

3.  Reproduction the UF2 report to the RPI-RP2 quantity.

Your Pico must robotically reboot and shall be working Circuit Python.

Including Code for Pico-Powered Movement Deck

I’ve written customized code to make the Pico act as a circulation deck / macro keypad. Right here’s the best way to set up it.

1. Obtain the undertaking zip report from Novaspirit Github.

(Symbol credit score: Tom’s {Hardware})

2. Switch the contents of the zip report to “CIRCUITPY” quantity and overwrite the present information.

(*3*)

(Symbol credit score: Tom’s {Hardware})

3. Reboot the Pico and it must load the macro keys code. 

3-d Printing Pico-Powered Movement Deck Case

If you wish to use our case, you want to 3-d print it or have it revealed by means of a provider equivalent to All3DP. Obtain our design information and use those CURA settings. 

  • PLA
  • 15% infill
  • 3 line wall thickness
  • No Fortify wanted
  • 0.2 Layer top (use 0.1 layer top for upper high quality)
  • Print one at a time with two other colours
Symbol 1 of 2

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})
Symbol 2 of 2

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})

Assembling Your Pico-Powered Movement Deck 

Now it’s time to gather the circulation deck / maco keypad and solder the entirety into position.

1. Get started by means of striking the Cherry MX-compatible key switches at the most sensible plate of the 3-d-printed case. 

(*4*)

(Symbol credit score: Tom’s {Hardware})

2. You’ll attach wires as follows. Extra main points beneath.

Symbol 1 of 2

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})
Symbol 2 of 2

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})

3. Attach the entire most sensible left pins at the switches at the side of a unmarried cord and connecting it to Pin 36, the 3V3 pin at the Pico. 

(*5*)

(Symbol credit score: Tom’s {Hardware})

4. Solder a brief cord to each and every one of the proper pins to prep  the connections we’re going to make to person GPIO pins. 

(*6*)

(Symbol credit score: Tom’s {Hardware})

5. Solder the specified wires to the right pins at the raspberry pi pico 

(Symbol credit score: Tom’s {Hardware})

5. Snap the case in combination.

Symbol 1 of 2

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})
Symbol 2 of 2

(*15*)

(Symbol credit score: Tom’s {Hardware})

Putting in place the macro keys 

The keys are arrange in a strategy to make the most of Ctrl+serve as keys ranging from Button 1 (Best left) Keep watch over + F7 to Button 6 ( backside proper) Keep watch over + F12. Those keys may also be altered from the code.py as wanted. However i’m going to turn you a couple of techniques to make use of the default mapping with the examples beneath for each program shortcuts and OBS. 

Surroundings Up Macro for Program Shortcuts 

If you wish to use a key on Raspberry Pi Pico-powered circulation deck to release an app in Home windows , right here’s how. 

1. Proper click on a shortcut and make a selection “homes.” 

(Symbol credit score: Tom’s {Hardware})

2. Make a selection the “Shortcut key” box in the Shortcut tab.  

(Symbol credit score: Tom’s {Hardware})

3. Press any of the macro keys and also you’ll see its keyboard combo (ex: CTRL + F7 for key 1) seem within the field.  

(Symbol credit score: Tom’s {Hardware})

4. Press “OK” and your new macro has been assigned to the important thing pressed. 

(Symbol credit score: Tom’s {Hardware})

Surroundings Up Macros for OBS 

1. Open OBS and navigate to “Settings.” 

(Symbol credit score: Tom’s {Hardware})

2. Make a selection the “Hotkeys” environment and scroll right down to the scene you need to assign a macro for. 

(Symbol credit score: Tom’s {Hardware})

3. Make a selection “Transfer to scene” at the scene you need to macro and press the right key in your circulation deck  to assign it. 

Raspberry Pi Pico-Powered Stream Deck Keypad

(Symbol credit score: Tom’s {Hardware})

4. Press “OK” and the macro keys shall be assigned to these scenes. 

(*1*)

(Symbol credit score: Tom’s {Hardware})