|
SC0917Raspberry PI
|
x 1 | |
|
5012Adafruit Industries LLC
|
x 1 |
|
MicroPython |
DIY Macropad Keyboard By raspberry pi PICO
DIY Macropad Keyboard By raspberry pi PICO and uses Micropython language. It's buttons can be set to certain keys and it is customizable since it comes in parts. No Switches and keycaps included.












sample code for 16 key
use kmk library
Passgate = KMKKeyboard()
#Passgate.matrix = KeysScanner([])
media_keys = MediaKeys()
Passgate.extensions.append(media_keys)
Passgate.col_pins = (board.GP1,board.GP2,board.GP3,board.GP5) #
Passgate.row_pins = (board.GP19,board.GP18,board.GP17,board.GP16) #
Passgate.diode_orientation = DiodeOrientation.COL2ROW
# Rotary encoder that also acts as a key
encoder_handler = EncoderHandler()
encoder_handler.pins = ((board.GP13, board.GP14, board.GP15),)
encoder_handler.map = (((KC.VOLD, KC.VOLU, KC.MUTE),),)
Passgate.modules.append(encoder_handler)
#----------------------------------
WIDTH = 128
HEIGHT = 32
CENTER_X = int(WIDTH/2)
CENTER_Y = int(HEIGHT/2)
displayio.release_displays()
SDA = board.GP8
SCL = board.GP9
#i2c = busio.I2C(SCL, SDA)
#if(i2c.try_lock()):
# print("i2c.scan(): " + str(i2c.scan()))
# i2c.unlock()
#print()
#display_bus = displayio.I2CDisplay(i2c, device_address=60)
#display = adafruit_displayio_ssd1306.SSD1306(display_bus, width=128, height=32,rotation=0)
WIDTH = 128
HEIGHT = 32 # Change to 64 if needed
BORDER = 2#5
#-------------------------------------------------------------------------
# Update this to match the number of NeoPixel LEDs connected to your
# WS2812B LED strips on the back
underglow = RGB(
pixel_pin=board.GP0,
num_pixels=18,
val_limit=100,
val_default=25,
animation_mode=AnimationModes.BREATHING_RAINBOW,#SWIRL,#RAINBOW,
)
#ShortCut SOLIDWORK
SZoom_IN = KC.LSFT(KC.Z)
SZoom_OUT = KC.Z
Norm = KC.LSFT(KC.N)
Font = KC.LCTL(KC.P7)
Passgate.extensions.append(underglow)
# Passgate 16 KEY
# ,--------------
# | in | ot |
# |------+------+------+------|
# | 7 | 8 | 9 | F |
# |------+------+------+------|
# | 4 | 5 | 6 | N |
# |------+------+------+------|
# | 1 | 2 | 3 | |
# |------+------+------+ Play |
# | 0 | . | |
# |------+------+------+------|
Passgate.keymap = [
[KC.K, KC.P2, KC.P9,KC.MPLY,
KC.P7, KC.P8,KC.P6,Font ,
KC.P4, KC.P5,KC.P3,KC.ENTER,
KC.P1, KC.P2,KC.P0,KC.BSPACE,
],
]
PCBWAY
I choose PCB Way because I can order jobs online, quality work, fast production process. very fast delivery Most importantly, no matter where you are, you can order to produce, suitable for the office, very DIY.
You can contact
E-mail: spin5099@gmail.com
Youtube: https://www.youtube.com/@somethinginterestingthai
please clicking on SUBSCRIBE button. ( - _ -)/\
My follower count is very low, only 16.
DIY Macropad Keyboard By raspberry pi PICO
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(1)
- Likes(6)
-
Izzet Kalinsazlioglu
Sep 28,2024
-
dzako
Feb 24,2024
-
Engineer
Aug 22,2023
-
DRV
Apr 07,2023
-
Something Interesting Passgate
Nov 28,2022
-
Albert Kuciński
Nov 20,2022
- 1 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
-
7design
-
6usability
-
7creativity
-
7content
More by Something Interesting Passgate
-
-
AEL-2011 Power Supply Module
320 0 1 -
AEL-2011 50W Power Amplifier
294 0 1 -
-
-
Custom Mechanical Keyboard
563 0 0 -
Tester for Touch Screen Digitizer without using microcontroller
228 2 2 -
Audio reactive glow LED wristband/bracelet with NFC / RFID-Tags
233 0 1 -
-
-







