** Introduction ** This is an Arduino Pro Micro-driven custom mini-keyboard prototype for editing text when using a smartphone or tablet.
The code/keys are for arrows, shift+left/right arrows (to select text), home, select all, copy/paste, undo/redo, and delete. But you can redesign and recode the keyboard to do anything you want using Arduino's Keyboard Modifiers guide: https://www.arduino.cc/en/Reference/KeyboardModifiers
It is just a prototype. We want to gather some user experience and see where to go from here.
** Parts **
Your OTG adapter depends on whatever device you want to use your keyboard for. If you're using it for a desktop for some reason, the USB cable itself is adequate. Some phones use micro-USB and others use Type-C adapters.
** Electronics **
While the soldering can be tedious the circuit is very simple. Using 2 pins on the same side of the mini-push buttons, connect the left leg to the corresponding i/o pin on the Arduino. Connect the right leg to the GND (ground) pin on the Arduino.
Test the circuit out on a prototyping board using jumper wires first to make sure everything is working.
Then cut some perfboard down to 46x79mm. Place your buttons and the Arduino with its headers onto the perfboard and assemble the entire keyboard including with the keys to ensure everything lines up and fits together before soldering anything.
We used wires to connect the left legs to their respective pins on the Arduino and solder tracing (also called solder bridging) on the back of the perfboard to connect the ground legs together, and then to a single ground pin on the Arduino.
We included the INO file. The "define" section should be rearranged into a more orderly manner. Ours reflects a mistake when wiring the buttons to their pins on the Arduino. It's not a huge mistake as it is easy in the code to assign buttons to pins. If you make a wiring mistake, just change the number of the pin versus the "switch" (mini-push button) it is assigned to in the code.
You can trace the wires from the buttons to the pins or use a multimeter's continuity function. You should also use the continuity function to ensure your connections work, especially your ground arrangement if you're using solder traces.
** Assembly **
We've designed the keys so that the indentation for it to interface with the actual press button is forgiving just in case you didn't cut your perfboard perfectly or seat your buttons perfectly.
** Operation **
Simply plug a micro-USB/USB cable into the Arduino's exposed micro-USB port and the other side into your mobile device using an OTG adapter.
We're a freelance industrial design house in Bangkok, Thailand. We also like to upload and share free projects to inspire others to get into 3D design and 3D printing.
You like Cults and you want to help us continue the adventure independently? Please note that we are a small team of 3 people, therefore it is very simple to support us to maintain the activity and create future developments. Here are 4 solutions accessible to all:
ADVERTISING: Disable your AdBlock banner blocker and click on our banner ads.
DONATE: If you want, you can make a donation via PayPal here.
WORD OF MOUTH: Invite your friends to come, discover the platform and the magnificent 3D files shared by the community!