|
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
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.

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
ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
BUY NOW
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
-
Mr. Marsupial 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...
-
-
-
Modifying a Hotplate to a Reflow Solder Station
546 1 5 -
MPL3115A2 Barometric Pressure, Altitude, and Temperature Sensor
320 0 1 -
-
Nintendo 64DD Replacement Shell
303 0 1 -
V2 Commodore AMIGA USB-C Power Sink Delivery High Efficiency Supply Triple Output 5V ±12V OLED display ATARI compatible shark 100W
794 4 2 -
How to measure weight with Load Cell and HX711
562 0 3