Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chemistry narwhal hackpad #209

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
3,530 changes: 3,530 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/CAD/ariane_clarke_CAD.step

Large diffs are not rendered by default.

2,269 changes: 2,269 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/CAD/ariane_clarke_pcb.step

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/firmware/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#pragma once

#include "quantum.h"

#define MATRIX_ROWS 3
#define MATRIX_COLS 7

#define MATRIX_ROW_PINS { D0, D1, D2 } // Replace with actual row pins
#define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5, C6 } // Replace with actual column pins

#define DIODE_DIRECTION COL2ROW

#define DEBOUNCE 5
#define USB_MAX_POWER_CONSUMPTION 100
#define USB_POLLING_INTERVAL 10

// Uncomment the features you want to enable
// #define MOUSEKEY_ENABLE
// #define EXTRAKEY_ENABLE
// #define RGBLIGHT_ENABLE
38 changes: 38 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/firmware/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"manufacturer": "Ariane Clarke",
"keyboard_name": "sevenkeys",
"maintainer": "Ariane Clarke",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": ["C0", "C1", "C2", "C3", "C4", "C5", "C6"],
"rows": ["D0", "D1", "D2"]
},
"processor": "RP2040",
"url": "",
"usb": {
"device_version": "1.0.0",
"pid": "0x0000",
"vid": "0xFEED"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0},
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 0, "y": 2}
]
}
}
}
21 changes: 21 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/firmware/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* ┌───┬───┬───┐
* │ 1 │ 2 │ 3 │
* ├───┼───┼───┤
* │ 4 │ 5 │ 6 │
* ├───┼───┼───┤
* │ 0 │ │ │
* └───┴───┴───┘
*/
[0] = LAYOUT(
KC_1, KC_2, KC_3,
KC_4, KC_5, KC_6,
KC_0
)
};
16 changes: 16 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/firmware/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
KEYBOARD = sevenkeys
FIRMWARE = sevenkeys_firmware

BOOTMAGIC_ENABLE = yes
CONSOLE_ENABLE = yes
# Uncomment the following line if you want Mouse Keys
# MOUSEKEY_ENABLE = yes
# Uncomment if you want Extra Keys
# EXTRAKEY_ENABLE = yes
# Uncomment if you want RGB lighting
# RGBLIGHT_ENABLE = yes

KEYMAP = default
MCU = RP2040
BOOTLOADER = rp2040
QMK_VERSION = 0.17.0 # Update based on your version
233 changes: 233 additions & 0 deletions hackpads/ChemistryNarwhalHackpad/production/Hackclub-B_Cu.gbr
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
%TF.GenerationSoftware,KiCad,Pcbnew,8.0.5*%
%TF.CreationDate,2024-10-19T20:03:01-04:00*%
%TF.ProjectId,Hackclub,4861636b-636c-4756-922e-6b696361645f,rev?*%
%TF.SameCoordinates,Original*%
%TF.FileFunction,Copper,L2,Bot*%
%TF.FilePolarity,Positive*%
%FSLAX46Y46*%
G04 Gerber Fmt 4.6, Leading zero omitted, Abs format (unit mm)*
G04 Created by KiCad (PCBNEW 8.0.5) date 2024-10-19 20:03:01*
%MOMM*%
%LPD*%
G01*
G04 APERTURE LIST*
%TA.AperFunction,ComponentPad*%
%ADD10C,2.200000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD11C,1.700000*%
%TD*%
%TA.AperFunction,ComponentPad*%
%ADD12R,1.700000X1.700000*%
%TD*%
%TA.AperFunction,Conductor*%
%ADD13C,0.200000*%
%TD*%
G04 APERTURE END LIST*
D10*
%TO.P,SW7,1,1*%
%TO.N,Net-(SW4-Pad2)*%
X116000000Y-89000000D03*
%TO.P,SW7,2,2*%
%TO.N,unconnected-(SW7-Pad2)*%
X109650000Y-91540000D03*
%TD*%
%TO.P,SW6,1,1*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X116000000Y-73910000D03*
%TO.P,SW6,2,2*%
%TO.N,Net-(SW4-Pad2)*%
X109650000Y-76450000D03*
%TD*%
%TO.P,SW5,1,1*%
%TO.N,Net-(U1-PA9_A5_D5_SCL)*%
X116000000Y-58820000D03*
%TO.P,SW5,2,2*%
%TO.N,Net-(SW4-Pad2)*%
X109650000Y-61360000D03*
%TD*%
%TO.P,SW4,1,1*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X96850000Y-58960000D03*
%TO.P,SW4,2,2*%
%TO.N,Net-(SW4-Pad2)*%
X90500000Y-61500000D03*
%TD*%
%TO.P,SW1,1,1*%
%TO.N,Net-(U1-PA6_A10_D10_MOSI)*%
X133366000Y-58857470D03*
%TO.P,SW1,2,2*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X127016000Y-61397470D03*
%TD*%
%TO.P,SW3,1,1*%
%TO.N,Net-(U1-PA7_A8_D8_SCK)*%
X133366000Y-89037470D03*
%TO.P,SW3,2,2*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X127016000Y-91577470D03*
%TD*%
%TO.P,SW2,1,1*%
%TO.N,Net-(U1-PA5_A9_D9_MISO)*%
X133366000Y-73947470D03*
%TO.P,SW2,2,2*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X127016000Y-76487470D03*
%TD*%
D11*
%TO.P,U1,14,5V*%
%TO.N,unconnected-(U1-5V-Pad14)*%
X122750000Y-55000000D03*
%TO.P,U1,13,GND*%
%TO.N,GND*%
X122750000Y-57540000D03*
%TO.P,U1,12,3V3*%
%TO.N,unconnected-(U1-3V3-Pad12)*%
X122750000Y-60080000D03*
%TO.P,U1,11,PA6_A10_D10_MOSI*%
%TO.N,Net-(U1-PA6_A10_D10_MOSI)*%
X122750000Y-62620000D03*
%TO.P,U1,10,PA5_A9_D9_MISO*%
%TO.N,Net-(U1-PA5_A9_D9_MISO)*%
X122750000Y-65160000D03*
%TO.P,U1,9,PA7_A8_D8_SCK*%
%TO.N,Net-(U1-PA7_A8_D8_SCK)*%
X122750000Y-67700000D03*
%TO.P,U1,8,PB09_A7_D7_RX*%
%TO.N,unconnected-(U1-PB09_A7_D7_RX-Pad8)*%
X122750000Y-70240000D03*
%TO.P,U1,7,PB08_A6_D6_TX*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X138000000Y-70240000D03*
%TO.P,U1,6,PA9_A5_D5_SCL*%
%TO.N,Net-(U1-PA9_A5_D5_SCL)*%
X138000000Y-67700000D03*
%TO.P,U1,5,PA8_A4_D4_SDA*%
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X138000000Y-65160000D03*
%TO.P,U1,4,PA11_A3_D3*%
%TO.N,unconnected-(U1-PA11_A3_D3-Pad4)*%
X138000000Y-62620000D03*
%TO.P,U1,3,PA10_A2_D2*%
%TO.N,unconnected-(U1-PA10_A2_D2-Pad3)*%
X138000000Y-60080000D03*
%TO.P,U1,2,PA4_A1_D1*%
%TO.N,unconnected-(U1-PA4_A1_D1-Pad2)*%
X138000000Y-57540000D03*
D12*
%TO.P,U1,1,PA02_A0_D0*%
%TO.N,unconnected-(U1-PA02_A0_D0-Pad1)*%
X138000000Y-55000000D03*
%TD*%
D13*
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X135431474Y-65160000D02*
X139660000Y-65160000D01*
X139660000Y-65160000D02*
X139900000Y-65400000D01*
X139900000Y-65400000D02*
X139900000Y-68340000D01*
X139900000Y-68340000D02*
X138000000Y-70240000D01*
%TO.N,Net-(U1-PA6_A10_D10_MOSI)*%
X133366000Y-58857470D02*
X122441124Y-58857470D01*
X122441124Y-58857470D02*
X120583654Y-57000000D01*
X120583654Y-57000000D02*
X115840101Y-57000000D01*
X117620000Y-62620000D02*
X122750000Y-62620000D01*
X115840101Y-57000000D02*
X114500000Y-58340101D01*
X114500000Y-58340101D02*
X114500000Y-59500000D01*
X114500000Y-59500000D02*
X117620000Y-62620000D01*
%TO.N,Net-(U1-PA5_A9_D9_MISO)*%
X133366000Y-73947470D02*
X134465999Y-75047469D01*
X134465999Y-75047469D02*
X134465999Y-88157570D01*
X134465999Y-88157570D02*
X134766000Y-88457571D01*
X114600000Y-74489899D02*
X114600000Y-72400000D01*
X134766000Y-88457571D02*
X134766000Y-89617369D01*
X134766000Y-89617369D02*
X133945899Y-90437470D01*
X133945899Y-90437470D02*
X131707369Y-90437470D01*
X131707369Y-90437470D02*
X116579899Y-75310000D01*
X121840000Y-65160000D02*
X122750000Y-65160000D01*
X116579899Y-75310000D02*
X115420101Y-75310000D01*
X115420101Y-75310000D02*
X114600000Y-74489899D01*
X114600000Y-72400000D02*
X121840000Y-65160000D01*
%TO.N,Net-(U1-PA9_A5_D5_SCL)*%
X116000000Y-58820000D02*
X118650000Y-61470000D01*
X128476000Y-62964068D02*
X129852598Y-61587470D01*
X133910000Y-63698068D02*
X133910000Y-64812081D01*
X118650000Y-61470000D02*
X125035128Y-61470000D01*
X131799402Y-61587470D02*
X133910000Y-63698068D01*
X125035128Y-61470000D02*
X126529196Y-62964068D01*
X126529196Y-62964068D02*
X128476000Y-62964068D01*
X129852598Y-61587470D02*
X131799402Y-61587470D01*
X133910000Y-64812081D02*
X136797919Y-67700000D01*
X136797919Y-67700000D02*
X138000000Y-67700000D01*
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X116000000Y-73910000D02*
X116000000Y-72354366D01*
X116000000Y-72354366D02*
X122044366Y-66310000D01*
X122044366Y-66310000D02*
X134070000Y-66310000D01*
X134070000Y-66310000D02*
X138000000Y-70240000D01*
%TO.N,Net-(U1-PA7_A8_D8_SCK)*%
X133366000Y-77366000D02*
X132000000Y-76000000D01*
X133366000Y-89037470D02*
X133366000Y-77366000D01*
X132000000Y-76000000D02*
X131050000Y-76000000D01*
X131050000Y-76000000D02*
X122750000Y-67700000D01*
%TO.N,Net-(U1-PA8_A4_D4_SDA)*%
X135850000Y-56150000D02*
X136000000Y-56000000D01*
X136000000Y-56000000D02*
X136000000Y-62146414D01*
X96850000Y-58960000D02*
X99000000Y-56810000D01*
X134500000Y-64228526D02*
X135431474Y-65160000D01*
X99350000Y-56150000D02*
X135850000Y-56150000D01*
X136000000Y-62146414D02*
X134500000Y-63646414D01*
X99000000Y-56500000D02*
X99350000Y-56150000D01*
X99000000Y-56810000D02*
X99000000Y-56500000D01*
X134500000Y-63646414D02*
X134500000Y-64228526D01*
X135431474Y-65160000D02*
X138000000Y-65160000D01*
%TD*%
M02*
Loading