This is the brains of the whole system. It contains three macro buttons that can come in handy for keyboard shortcuts. The shortcuts are completely customizable and more buttons can be added as well.

For this unit you will need —

A Arduino Pro Micro

Male to male Jumper wires

3 tactile push buttons (You can use keyboard switches as well)

3 Caps for the buttons

A PCB board

Ok that’s it now let’s get building,

First and foremost I strongly recommend you to prototype this on a breadboard (upload the code and test your components thoroughly) , I was having trouble with fritzing so i have written the connections below (will be updating once I resolve the fritzing issue 🙂 )

Connect the CLK pin on the rotary encoder to the 15 pin

connect the DT pin on the rotary encoder to the A2 pin

Connect the SW pin on the rotary encoder to the A3 pin

Connect the VRX pin on the joystick to the A0 pin

Connect the VRY pin on the joystick to the A1 pin

connect the SW pin on the joystick to the 6 pin

* connect the joystick and the rotary encoders power wires together

Connect the first potentiometer to the 4 pin

Connect the second potentiometer to the 8pin

Connect the third Potentiometer to the 9 pin

Connect the last potentiometer to the 10pin

*connect the positive and negative pins of the potentiometer to the VCC and GND pins on the Arduino

Connect the first button to the 2 pin

Connect the second button to the 3 pin

Connect the last button to the 5 pin

*connect one pin from all the buttons to ground (GND)

Once you get it prototyped start by soldering the Arduino into a PCB board

next wire it all up (You might have to cut the female to female jumper wires in half and use them to make the input pins for the joystick, rotary encoder and volume control units)

note — make sure to connect female jumper wires to the joystick, rotary encoder and volume control inputs unless you are doing the entire project in one box

cut slits in the enclosure for the female sides of the joystick, rotary encoder and volume control units as show in the 3d diagram above.

Put the buttons and the Arduino in place and close the enclosure.

Leave a Reply