-
1Step 1
Find a proper enclosure. I have used a clear plastic box that originally housed baby's pacifier.
-
2Step 2
Drill two holes. One larger for the switch and one smaller for USB cable
-
3Step 3
Wire the switch. I used digital pin 9 and GND.
-
4Step 4
Load firmware into Arduino Micro Pro. Use the sketch code from Github project.
-
5Step 5
Test if everything works:
and secure the hardware inside enclosure.
-
6Step 6
Optionally: modify the code. I have already added code to handle a second switch, a toggle switch with 3 positions (up, middle, down) that you could use for additional two more keyboard actions.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.