|
|
Arduino pro micro |
x 1 | |
|
|
Cherry MX or Gateron switches |
x 6 | |
|
|
3mm LED |
x 4 | |
|
|
Keycaps |
x 6 |
Arduino Macropad
Small macropad for any custom button configuration you want using the basic arduino keyboard library using the code below, this is NOT a matrix and uses pins 3-8 on INPUT_PULLUP.
they can use any cherry MX switches, all 4 LEDs are in 2 sets of series so the 5V output works just fine for them.
the pins on the board will need to be soldered flush with the top side of the board(with the squares and silkscreen silkscreen) so it doesnt block the keys themselves. solder the pin headers, LEDs and switches first then arduino onto the pin headers or it will be difficult to remove and reattach.
all the code used is below and can be copy pasted straight onto the board through the arduino IDE.
#include <Keyboard.h>
void setup() {
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
pinMode(5, INPUT_PULLUP);
pinMode(6, INPUT_PULLUP);
pinMode(7, INPUT_PULLUP);
pinMode(8, INPUT_PULLUP);
Serial.begin(9600);
}
void loop() {
Keyboard.begin();
if (digitalRead(3) == 0){
Keyboard.write(0xD1);
delay(250);
}
else if (digitalRead(4) == 0){
Keyboard.write(0xD1);
delay(250);
}
else if (digitalRead(5) == 0){
Keyboard.write(0xD1);
delay(250);
}
else if (digitalRead(6) == 0){
Keyboard.write(0xD1);
delay(250);
}
else if (digitalRead(7) == 0){
Keyboard.write(0xD1);
delay(250);
}
else if (digitalRead(8) == 0){
Keyboard.write(0xD1);
delay(250);
}
Keyboard.end();
}
Arduino Macropad
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(4)
-
Daniel Wright
Jan 09,2025
-
We're all Geeks
Sep 17,2023
-
gdlchris
Aug 08,2022
-
Susana Alves dos Santos
Jun 18,2021
- 2 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
10design
-
10usability
-
10creativity
-
10content
-
10design
-
10usability
-
9creativity
-
10content
More by Toasty WF
-
Plank56RP PCB
14 by 4 Planck style keyboard built from the ground up using all 1U keys designed to be very low pro...
-
Arduino Pro Micro Macropad
6 key macropad, solder arduino and type c port first, pin headers flush against the bottom of the pc...
-
Arduino Macropad
Small macropad for any custom button configuration you want using the basic arduino keyboard library...
-
Programmable Mist Maker - XIAO / QT PY Extension
1061 2 1 -
RadioHAT - Raspberry Pi radio development platform
860 0 2 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
1085 0 1 -
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3322 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
3929 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
4315 2 2







