I have always been a great fans of Maker Faires around Asia and I am thinking if I could make something special so during maker events, I can exchange gifts with the makers I like so as to start a conversation with them. As a maker primarily working in the software and electronics fields, I really like the idea of PCB business card. However, most of the PCB business card ideas have already been done. From business card that play musics, light or mini game to the magical "My business card run linux" project. I want to come up with a new idea where no one have done before, yet cheap enough so I can afford to build a few of them and giving them out for free.
That is why I designed the "4xMacropad" - The business card size 4 key mechanical macropad. (Technically speaking the dimension is all "business card size" except the height)
I receive a few DM mentioning that they want a budget numpad based on the CH552G. I am like: Why you need a numpad?
After chating with one of the person who send me a DM, I notice many mechanical keyboard users don't actually have a full sized keyboard. Instead, they would go with a keyboard without numpad, then buy an additional numpad and only took it out when they needs a numpad.
However, consider the CH552G. In this project, I am using
2 GPIO for LEDs
4 GPIO for key switches
3 GPIO for RGB
1 GPIO for mode toggle
So in total there are only 10 GPIO I can use. Is this even possible for me to build a fully functional numpad?
Maybe Yes, However
In theory you can use a grid layout to multiplex the number of switches by scanning them line by line. However, conversion design will takes in one diode per switch, which is really expensive in term of soldering jobs. I gonna need to find a way to make it under $5 if I am gonna make one myself :D
Anyway, if you really want a $5 numpad keyboard, feel free to let me know!
Recently my friend who went through a head surgery and ask me for one of this macro-keypad. I am like: Sure, it is so cheap and you seems in a terrible mood, you can have one for free.
So I gave him one. And the next day he told me that he is using his laptop with this keypad so he could be streaming songs and music, control playback from his own server just using 4 fingers, while lying in his hospital bed.
I am like: Dude, how smart is it you use it this way!
He also told me he is using this to skip through his anime collection so he could finish the whole 2 seasons of Yuru Camp during his hospital stay. What a cool assistive tech this could be :D
You will need the following supplies to make its macrokey
Custom PCB
3D Printed base (for mounting the PCB at a tilted angle)
4 M2 x 5 screws
CH552G E8051 Arduino IDE programmable MCU
Mode switch
SMT button
Mini USB port
7 x 0805 10k Ohm SMT resistors
2 x 0805 0.1uF SMT capacitor
3 x LEDs (Power, Mode A and Mode B)
4 x mechanical key switches
4 x key caps of your preference
Soldering tools
Steady hand
2
Print the PCB and Mount
The most important part of this project is the PCB. The macro-keypad is designed with a open PCB design, which means the PCB is directly exposed on top of the device, making it a bit scifi style to look at.
As Instructable do not allow attaching zip file for gerber, I am putting it on Github where you can get it here.
For the 3D Model file, you can edit it with Autodesk Inventor. They provide a free version for students where you can freely adjust the model based on your need.
3
Solder the Components
For starters, I recommend starting from the smallest to the largest components. You can solder starting from the CH552G, then the surrounding 0805 ICs then the other remaining DIP type parts. Follow the silk screen instruction and solder everything in its correct locations.
There are also 3 optional RGB channel which they can be controlled by advance coding in the MCU. If you want to make some light pollution with those LEDs, you can also solder some extra 10k resistors and 0805 LEDs according to the silkscreen printing.