Skip to the content
PCBKitNew board
2 layers68.4 × 68.6 mmPanelize, the printed circuit board in 3D

技術書典7で頒布した、かっこいいうんこキーボードのリポジトリです。

Size
68.4 × 68.6 mm
Copper layers
2
Thickness
1.6 mm
Parts
98
Nets
19
Pads
414
Tracks, vias
1,348, 120
Pours
8
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
21 Sep 2019
Updated
29 Sep 2019

Overview

Panelize is an open-source printed circuit board by mackee, from the mackee/unkokeyboard repository on GitHub. It is a 2-layer board of 68.4 × 68.6 mm with 98 parts on 19 nets, routed with 1,348 tracks and 120 vias.

It is built around the ATTINY84A-SSU and WS2812B. Its parts include 24 diodes, 16 switches, 12 resistors, 12 connectors and 8 capacitors. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Cool Poop Keyboard

The Cool Poop Keyboard is a too-small keyboard.

This keyboard has only 4 keys and 4 full-color LEDs.

It uses an ATTiny84 with micronucleus firmware.

This product made for distributing at The Techbook fest 7th.

Following japanese text is a build guide for customer.

かっこいいうんこキーボード

この文章は技術書典7などで頒布した「かっこいいうんこキーボード」の取扱説明書です。

この文章で知れること

  • 「かっこいいうんこキーボード」の組み立て方
  • 「かっこいいうんこキーボード」のファームウェアのカスタマイズ方法

組み立て方

部品

名前数備考
PCB1枚
プレート1枚
キースイッチ4個赤 or 白 or 茶が4個入っています
キーキャップ4個
スペーサー4個

組み立て

  1. PCBにスペーサーを取り付ける。

  2. プレートを取り付けて、裏返す。

  3. キースイッチを付ける。

  4. キーキャップを付けて完成。

ファームウェアのカスタマイズ方法

必要なもの

ファームウェアの書き込み手順

1. このリポジトリのダウンロード

git cloneやzipファイルのdownload linkからこのリポジトリのソースコードをダウンロードします。

2. 書き込み環境のセットアップ

makeコマンドを実行できるCLI環境で1でダウンロードし、展開したディレクトリに移動します。そして、そのディレクトリで以下のコマンドを実行します。

console
$ make init

途中にコンパイルエラーが出ますが、その後にコンパイルエラーを解消するためのパッチが自動で適用されます。

3. ファームウェアの書き込み

以下のコマンドで、「かっこいいうんこキーボード」へのファームウェアの書き込みが実行されます。

console
$ make upload

> Please plug in the device ... というメッセージが表示された、「かっこいいうんこキーボード」をUSBケーブルで接続してください。もし、接続したまま実行した場合は、一度抜いてからもう一度挿してください。

>> Micronucleus done. Thank you! というメッセージが表示されたら成功です。

キーのカスタマイズ

キー配置の情報は、src/Keyboard.inoに記述されています。

それぞれのキーをA, B, C, Dに変更する場合は、

diff
--- a/src/Keyboard.ino
+++ b/src/Keyboard.ino
@@ -8,7 +8,7 @@ WS2812 LED(NEOPIXELS_NUM);
 cRGB value;

 uint8_t keys[] = {9, 8, 7, 3};
-byte keymaps[] = {KEY_U, KEY_N, KEY_K, KEY_O};
+byte keymaps[] = {KEY_A, KEY_B, KEY_C, KEY_D};

 void setup() {
   LED.setOutput(NEOPIXEL_PIN);

というように変更し、保存した後にmake uploadを実行して書き込みます。

Parts

98
QtyValueFootprintReferences
16KEYSWkeyswitches:PG1350_socketK1, K1, K1, K1, K2, K2, K2, K2, K3, K3, K3, K3, K4, K4, K4, K4
16MountingHoleMounting_Holes:MountingHole_2.5mmH1, H1, H1, H1, H2, H2, H2, H2, H3, H3, H3, H3, H4, H4, H4, H4
16WS2812Bunkokeyboard:WS2812B-2020D3, D3, D3, D3, D4, D4, D4, D4, D5, D5, D5, D5, D6, D6, D6, D6
868RResistors_SMD:R_0603_HandSolderingR2, R2, R2, R2, R3, R3, R3, R3
8D_Zener 3.6VDiodes_SMD:D_SOD-323_HandSolderingD1, D1, D1, D1, D2, D2, D2, D2
40.1uFkeyboard_parts:C_1608C1, C1, C1, C1
41K5Resistors_SMD:R_0603_HandSolderingR1, R1, R1, R1
44.7uFkeyboard_parts:C_1608C2, C2, C2, C2
4ATtiny84A-SSUHousings_SOIC:SOIC-14_3.9x8.7mm_Pitch1.27mmU1, U1, U1, U1
4AVR-ISP-6unkokeyboard:PinHeader_1x06_P2.54mm_VerticalJ1, J1, J1, J1
4Conn_01x06unkokeyboard:PinHeader_1x06_P2.54mm_VerticalJ3, J3, J3, J3
4LOGOunkokeyboard:unkokb-negaG***, G***, G***, G***
4USB_B_Microunkokeyboard:USB_microBJ2, J2, J2, J2

The 96 most common of 98 parts.

Questions

How big is the Panelize PCB?

It measures 68.4 × 68.6 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Panelize use?

98 parts, built around the ATTINY84A-SSU and WS2812B. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Panelize KiCad files?

From the mackee/unkokeyboard repository on GitHub, at the commit this page was made from: the board is hardware/panelize.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Panelize design in my own project?

Its repository states no licence, so its author keeps all rights: ask mackee before reusing the design.

More from mackee/unkokeyboard

1
  • 2 layers19.6 × 29.6 mmUnkokeyboard, the printed circuit board in 3D

    Unkokeyboard

    mackee/unkokeyboard

    技術書典7で頒布した、かっこいいうんこキーボードのリポジトリです。

    24 parts4

Similar boards

  • 2 layers85 × 54 mmTinyRF24, the printed circuit board in 3D

    TinyRF24

    AndersBNielsen/v-usb-businesscard

    ATTiny84 V-USB Business card

    33 parts17GPL-3.0
  • 2 layers127 × 76.2 mmJakeBadge, the printed circuit board in 3D

    JakeBadge

    s7a73farm/s7a73farm_Party_Badge_DC26

    s7a73farm party badge for Defcon 26. Code and Kicad files

    44 parts2
  • 2 layers151.5 × 25.4 mmScrewdriverBadge, the printed circuit board in 3D

    ScrewdriverBadge

    compukidmike/DC26

    DEFCON 26 Projects

    47 parts5GPL-3.0
  • 2 layers43.1 × 63.6 mmWenk sao, the printed circuit board in 3D

    Wenk sao

    ShawnHymel/wenk-sao

    Wenk SAO ======== Wenk Shitty Add-On to be used as a training tool for the "Microcontrollers the Hard Way" workshop. See Documentation/Worksheet and Documentation/Slides for more information.

    27 parts5
  • 2 layers26.1 × 33.7 mmLORA ATTINY84, the printed circuit board in 3D

    LORA ATTINY84

    EvertVersteeg/Imagine-IoT

    PCB for the ATTiny Sensor Node, SMD Version

    11 parts1
  • 2 layers50.2 × 22.6 mmDog collar light, the printed circuit board in 3D

    Dog collar light

    mattinglot/dog-collar-light

    This is the LED dog collar light PCB and firmware that I built for my dog Joey and a few of his friends.

    25 parts1
  • 2 layers60.7 × 35.3 mmLEDtester, the printed circuit board in 3D

    LEDtester

    AlanFord/LEDtester

    A handy little AVR-based LED Tester with a user-controlled current source

    25 parts
  • 2 layers62 × 42 mmMod cell 0 02, the printed circuit board in 3D

    Mod cell 0 02

    Green-bms/SmartBMS

    Open source Smart Battery Management System

    35 parts756