Skip to content

Commit 4173fe1

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
2 parents ef55f8c + cba317d commit 4173fe1

File tree

194 files changed

+370
-445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+370
-445
lines changed

bin/prod_console

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ irbrc_content = <<~RUBY
3131
PROMPT_I: "blueprint(\\e[33mdev→prod\\e[0m)> ",
3232
PROMPT_S: "blueprint(\\e[33mdev→prod\\e[0m)* ",
3333
PROMPT_C: "blueprint(\\e[33mdev→prod\\e[0m)* ",
34-
RETURN: "=> %s\\n\\n\\e[31m⚠️ YOU ARE CONNECTED TO PRODUCTION ⚠️\\e[0m\\n"
34+
RETURN: "=> %s\\n\\n\\e[31m⚠️ YOU ARE CONNECTED TO PRODUCTION DATABASE ⚠️\\e[0m\\n"
3535
}
3636
IRB.conf[:PROMPT_MODE] = :PROD
3737
RUBY

docs/hackpad/add-components.md

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
| title | Adding more parts! |
2+
| ----------- | ------------------ |
3+
| description | Learn how to add RGB LEDs, rotary encoders, OLED screens, and more to your hackpad. |
4+
| priority | 2 |
5+
6+
# Adding in other components!
7+
8+
The hackpad kit comes with more than just a few keyswitches! It comes with RGB LEDs, Rotary encoders, and a fancy 128x32 OLED screen!
9+
10+
The Orpheuspad example I designed has examples of every single one - I would also recommend looking at other repositories for inspo!
11+
12+
As with anything, make sure to ask in #hackpad if you ever have any questions!
13+
14+
## 4+ keys / Matrix wiring
15+
16+
If you're using 4+ keys, you should use [matrix wiring!](https://docs.qmk.fm/how_a_matrix_works). Check out the tutorials in the [resources](/hackpad/resources) section to get an idea of what that might look like
17+
18+
The tl;dr is that instead of wiring each switch to a unique pin, you can set them up in a 2D grid and pinpoint the specific switch being pressed based on which 2 pins activated!
19+
20+
For example, if you wanted to wire 16 switches, you can wire them as a 4x4 matrix and only use 8 pins instead of having 1 pin for every single switch.
21+
22+
You'll need diodes to do this. The specific diode that comes with the kit is a 1N4148 diode from onsemi. Datasheet [here](https://www.onsemi.com/download/data-sheet/pdf/1n914-d.pdf)
23+
24+
For the footprint, I would recommend using `Diode_THT:D_DO-35_SOD27_P7.62mm_Horizontal`. You can use longer ones if you'd like for the aesthetic, but I find this one tends to work the best when assembling - do not use anything shorter, you'll have a pretty hard time if you do.
25+
26+
## Rotary encoders
27+
28+
Rotary encoders are knobs like [these](https://www.adafruit.com/product/377) - they turn both ways, and have a button you can press!
29+
30+
The specific one we're using is the EC11E with a D-shaft that's 20mm long. You can find an exact CAD model in the [GitHub repository!](https://github.com/hackclub/hackpad/tree/clean/extras)
31+
32+
I would recommend using the symbol `RotaryEncoder_Switch` and the footprint `RotaryEncoder_Alps_EC11E-Switch_Vertical_H20mm` - you'll have to install this as a separate library, check out the [resources](/hackpad/resources) section!
33+
34+
You _may_ see some implementations include pull-up resistors. This is not necessary for us since our microcontroller (the rp2040) has built-in pull up resistors.
35+
36+
Firmware implementation info can be found here:
37+
38+
- [QMK](https://docs.qmk.fm/features/encoders)
39+
- [KMK](https://github.com/KMKfw/kmk_firmware/blob/main/docs/en/encoder.md)
40+
- [ZMK](https://zmk.dev/docs/development/hardware-integration/encoders)
41+
42+
## SK6812MINI-E RGB LEDs
43+
44+
These are the RGB LEDs that come with the hackpad kit! Each one has a super tiny microcontroller inside, so you can chain them together control all of them with only 1 pin of your micrcontroller!
45+
46+
They have 4 pins - 1 5v power (VCC), 1 ground (GND), 1 for data coming in (DIN), and 1 for data going out of the LED (DOUT).
47+
48+
KiCAD doesn't have the library for the footprint of these by default, but it comes with the KiCAD care package you can find in the "resources" section! It's called SK6812MINI-**E**, _NOT_ SK6812MINI (make sure your symbol and both footprint both say SK6812MINI-E)
49+
50+
**IMPORTANT**: Make sure your pinout matches the following screenshot _exactly:_
51+
52+
![screenshot of SK6812MINI E](/docs-assets/hackpad/v3/sk6812minie.webp)
53+
54+
Notice the small notch/cut on the bottom right corner - your LEDs _will_ not work if it's in a different orientation!
55+
56+
## OLED Display
57+
58+
OLED Displays are small screens that can display various pieces of info! Here's a cat animation I had earlier
59+
60+
<video controls class="w-full max-w-full h-auto rounded">
61+
<source src="https://cdn.hackclub.com/019c1b00-538c-7a58-a621-12ec0ac71655/pxl_20241115_191000789.mp4" type="video/mp4" />
62+
Your browser does not support the video element.
63+
</video>
64+
65+
For footprint, you can actually just use a 4 pin header! This is because the module uses a standard 2.54mm 4 pin header, there's no fancy external footprint needed
66+
67+
The most important thing to note is to make sure that you make sure the pin order is correct. Some pictures you'll see online will feature the 4 pins in different orientations, make sure it is GND-VCC-SCL-SDA.
68+
69+
![picture of oled](/docs-assets/hackpad/v3/oled.webp)
70+
71+
*the actual OLED you'll get will have a blue PCB - this picture is just to illustrate the pinout*
72+
73+
Additionally, pull-up resistors are _not_ necessary! The microcontroller we're using is based on the [Raspberry Pi RP2040](https://www.raspberrypi.com/products/rp2040/), which has built-in pullup resistors on every pin - this means you don't need to manually add resistors.
74+
75+
As always, make sure to ask in #hackpad if you need any help!

docs/hackpad/cardgrant.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
| title | About the Card Grant |
2+
| ----------- | -------------------- |
3+
| description | Information about the HCB card grant for hackpad projects. |
4+
| unlisted | true |
5+
6+
# About the card grant
7+
8+
The card grant is a $18 VISA credit card from stripe that will be issued to you when your hackpad gets shipped.
9+
10+
When spending in mind that Hack Club is still a financially limited org; every bit of money we save on Hackpad goes to the next program!
11+
12+
Abuse, fraud, and general misuse will mean that I (dari) am able to do this less often in the future and your projects won't be as fun
13+
14+
**What can I do with it?**
15+
16+
First and foremost, to get your PCB from JLCPCB (or SEEED studio if you're in india). Do not use PCBWAY unless it's cheaper.
17+
18+
You also can get any custom parts you may need for your hackpad. The only requirement is that anying you buy MUST be something needed specifically for your design to function. I/O expanders, distance sensors, etc. are great!
19+
20+
What's not great is trying to purchase the following:
21+
22+
- ENIG finishes
23+
- USB cables / hubs
24+
- Switch testers
25+
- Extra rp2040s/switches/etc (either for another hackpad or project)
26+
- Anything that won't be directly used for your *one* hackpad.
27+
28+
**What vendors are allowed?**
29+
30+
No limit, but please link it to me in #hackpad *before* you make the purchase if it's not any of the following:
31+
- AliExpress
32+
- DigiKey
33+
- LCSC
34+
- JLCPCB
35+
- Seeed (PCB ONLY)
36+
37+
**Does I need to include shipping/taxes/etc?**
38+
39+
Yup! Everything must fit within your $20 grant.
40+
41+
**What billing address do I use?**
42+
43+
Use the one on the card, not your personal address
44+
45+
**Tips for different merchants:**
46+
- JLCPCB: The default shipping is super expensive, switching to global direct line should be roughly $1.5 for shipping.
47+
- If you're anywhere within the US or Canada I can guarantee this is an option. Most places in the EU + UK have similar option
48+
- DigiKey/LCSC: Combine orders with a friend! Makes stuff cheaper
49+
- AliExpress: do some digging, there's usually way cheaper options
50+
- Amazon: Don't. It is almost always far cheaper to go with aliexpress.

docs/hackpad/faq.md

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,47 @@
1+
| title | FAQ |
2+
| ----------- | --- |
3+
| description | Frequently asked questions about the hackpad program. |
4+
| priority | 6 |
5+
16
# Frequently Asked Questions
27

3-
Welcome to the FAQ section! If you have something you think should be added here please ping @alexren in the #blueprint channel!
8+
Welcome to the FAQ section! If you have something you think should be added here please ping @alexren in the #hackpad channel
49

510
**What gets shipped to me?**
6-
- A kit of all the electronic components for your macropad!
7-
- a $15 HCB Card grant to get your **PCB** made from JLCPCB, and to get a case 3D printed from #printing-legion if needed
11+
- A kit of all the parts in the [Kit Contents page](/hackpad/parts)!
12+
- a $15 HCB Card grant to get your **PCB** made, and a case 3D printed from [printing legion](https://www.printlegion.hackclu.com/) if needed!
13+
- a $18 HCB Card grant to get your soldering iron, if you need one. This is non-transferrable.
14+
15+
**What is an HCB Card grant??**
16+
17+
[READ ME](/hackpad/cardgrant) FOR INFO
818

9-
**When is the deadline?** \
10-
Same deadline as Blueprint! March 31st, 2026
19+
**Where can I find KiCAD footprints / what's the measurement for this thing / etc**
1120

12-
**Where can I find KiCAD footprints / what's the measurement for this thing / etc** \
1321
A lot of these questions can be answered by checking out the [resources and tips section](/hackpad/resources)! You can find **KiCAD footprints**, 3D models, etc
1422

15-
**Can I use a microcontroller other than the XIAO RP2040?** \
16-
Sorry, no! If you want to use something else, you can enable "expert mode" in Blueprint and build a custom project instead!
23+
**Can I use a microcontroller other than the XIAO RP2040?**
24+
25+
Unfortunately not for hackpad! If you want to use a custom microcontroller, you'll have to submit it as a custom project to Blueprint.
1726

1827
The XIAO is a great primer and I recommend using it, but it's totally understandable if you want to do something more advanced! We won't stop you :)
1928

20-
**Will my hackpad come assembled?** \
21-
Unfortunately not! Not to fear though - assembling a macropad isn't that hard!
29+
**Will my hackpad come assembled?**
30+
31+
Unfortunately not! Not to fear though - assembling a macropad is a great learning experience!
32+
33+
**Can I use acrylic/cnc metal/etc for the case/plate?**
2234

23-
**Can I use acrylic/cnc metal/etc for the case/plate?** \
24-
NO!!! Only 3D prints are supported.
35+
NO! Only 3D prints are supported.
2536

26-
**Can I use parts outside of the approved list?** \
27-
Yes! You are responsible for sourcing it on your own money though
37+
**Can I use parts outside of the approved list?**
2838

29-
**What colours are the keycaps?** \
30-
White!
39+
Yes! You are responsible for sourcing it on your own money though.
3140

32-
**Can I use Choc switches?** \
33-
No!
41+
**Where will everything be shipped from?**
3442

35-
**What are the footprint name for through hole diodes?** \
36-
The footprint for 1N4148 Diodes are D_DO-35_SOD27_P7.62mm_Horizontal.
43+
It'll be shipped from [Hack Club HQ](https://maps.app.goo.gl/EPwC2izABPnbVgjq9), which is located in Shelburne, Vermont USA.
3744

38-
**Where will everything be shipped from?** \
39-
It'll be shipped from HQ, which is located in Shelburne VT.
45+
**I have more questions!!!**
4046

41-
**I have more questions!!!** \
42-
Join the #blueprint channel in the Hack Club slack!
47+
Join the #hackpad channel in the Hack Club slack!

0 commit comments

Comments
 (0)