MACROPAD With 2 Knobs

by samarthsaxena14 in Circuits > Arduino

642 Views, 6 Favorites, 0 Comments

MACROPAD With 2 Knobs

Media Player 05-07-2023 11_32_44.png

Being a GAMER I always struggled with having to remember all those shortcuts to make sure that I reminisce about all those Legendary Gaming Moments be it Shepard's Betrayal from Call of Duty MW2 or the fight between Arno and Bellec in AC Unity. This led me to the idea of making my own Macropad that could help me with all these functions. For those who don't know what a MACROPAD is, it helps us to manage tasks with just a click of a button. With a bit of research, I finally cracked the code to make my own Macropad. But the mission was far from over.

Supplies

WhatsApp Image 2023-07-05 at 12.19.45.jpg
WhatsApp Image 2023-07-05 at 13.00.21.jpg

Parts

  • Macropad PCB
  • Arduino Pro Micro
  • 9 × Diodes
  • 9 × Cherry MX style switches
  • 9 × Custom keycaps
  • 2 × Encoders
  • 3 × Neopixel strips
  • 7 × 10 kOhms Resistors

Tools

  • Soldering Iron
  • Solder
  • 3D printer

Creating a PCB (Printed Circuit Board)

2 Schematic - C__Users_SAMARTH_Documents_EAGLE_projects_Macropad_MACROPAD_v2.sch - EAGLE 9.6.2 education 05-07-2023 07_40_03.png
1 Board - C__Users_SAMARTH_Documents_EAGLE_projects_Macropad_MACROPAD_v2.brd - EAGLE 9.6.2 education 05-07-2023 07_40_19.png
1 Board - C__Users_SAMARTH_Documents_EAGLE_projects_Macropad_MACROPAD_v2.brd - EAGLE 9.6.2 education 05-07-2023 07_40_26.png

This was my first time working with Eagle and was amazed by how user-friendly it was. Now back to topic, for this project I chose to work with Arduino Pro Micro. I used here key matrix to minimize the number of pins I used on the Arduino and diodes to overcome the problem of ghosting i.e. keys don't work when multiple keys are pressed simultaneously.

Making a Case

AAAAAA PROJECT 05-07-2023 11_37_38.png

With great help from Fusion360, I was able to flawlessly design a suitable case. As it is compatible with Eagle I was able to design every component to scale which really helped when 3D printing the components.

Coding and Simulation

Circuit design MACROPAD _ Tinkercad - Google Chrome 05-07-2023 12_10_14.png
Autodesk Fusion 360 (Education License) 05-07-2023 12_07_51.png

Not being from a CS background, Coding was the toughest part of this journey. But with a few helpful tutorials, I was able to code the Macropad to meet my requirements. Before placing orders for all the components, I simulated my idea in Tinkercad to visualize its working and rectify any errors beforehand.

Code: https://github.com/Assassin1408/Assassin1408

Simulation: https://www.tinkercad.com/things/645wrvX9kqz?sharecode=_1YmnrBsS5zhN8TGexSSxaiL30zJCKkdnB-QvAIuxrQ

3D Printing the Components

IMG-20230705-WA0001.jpg
IMG-20230705-WA0007.jpg

With all my components designed it was time to 3D print them. With the help of some known associates I was able to 3D print the components but the only limitation was that the material available was Resin which is not as durable as PLA which is the ideal material for such cases.

Soldering the Parts

IMG-20230705-WA0002.jpg
IMG-20230705-WA0005.jpg
IMG-20230705-WA0006.jpg

With the arrival of all my electrical components and the PCB, I started the soldering which was tough at first but when I got a hang of it, the process became seamless.

Assembly and Testing

MACROPAD_v1_copy_20230515010556 _ Arduino IDE 2.1.1 05-07-2023 12_14_49.png
F0q_LjgUtnQDV81zSaTKXB8ZkzAHUYvl_cL-l1hBVLw=_plaintext_638241172956418897.jpg
Media Player 05-07-2023 11_32_44.png
Final Product

With all building blocks completed now, it was time to assemble them and test them for the very last time.

Conclusion

This marks the end of my first project at Instructables. I know that it is lacking in many ways but will keep working on it to make it better.