Skip to the content
2 layers83.8 × 45.7 mmGamepad attiny85, the printed circuit board in 3D
Size
83.8 × 45.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
26
Nets
14
Pads
69
Tracks, vias
188, 91
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
26 Jul 2024
Updated
25 May 2026

Overview

Gamepad attiny85 is an open-source printed circuit board by y-fujimoto1009, from the y-fujimoto1009/tinyjoypad repository on GitHub. It is a 2-layer board of 83.8 × 45.7 mm with 26 parts on 14 nets, routed with 188 tracks and 91 vias.

It is built around the ATTINY85-20PU. Its parts include 6 resistors, 5 switches, 1 diode and 1 connector. It belongs with the keyboards and input boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

tinyjoypad キット

tinyjoypad キットは、attiny85を使ったゲーム機を作成するためのキットです。
tinyjoypadプロジェクトは こちら

内容物

  • 基板 x 1
  • LED x 1
  • ピンヘッダー(2×3) x 1
  • スライドスイッチ x 1
  • attiny85 x 1
  • 丸ピンICソケット (8P) x 1
  • 抵抗(10kΩ) x 2
  • 抵抗(22kΩ) x 2
  • 抵抗(33kΩ) x 2
  • 抵抗(91kΩ) x 2
  • タクトスイッチ x 5
  • スイッチキャップ x 5
  • ブザー x 1
  • ボタン電池ホルダー x 1
  • 0.96インチ有機ELディスプレイ(OLED) x 1
  • USBasp AVRライタ x 1(スイッチサイエンスで購入した方のみ)

自分で用意する必要があるもの

最近は100均などでも手に入りますね。

  • はんだごて、はんだ
  • マスキングテープ
  • ニッパー
  • ボタン電池(CR2032)

作成手順

  1. 抵抗を基板に書かれた場所に配置します。間違えないようにしましょう。向きは関係ありません。
    はんだで接続できたら、余った足はニッパーでカットしてOKです。 どの抵抗かわからなくなっても落ち着いてカラーコードを確認すれば大丈夫です。

IMG_1439
10kΩ:茶赤黒黒茶

IMG_1441 22kΩ:赤赤黒赤茶

IMG_1442 33kΩ:橙橙黒赤茶

IMG_1440 91kΩ:茶赤黒茶白

IMG_1455

  1. OLEDを取り付けます。斜めにならないようにマスキングテープなどで固定してからはんだ付けしましょう。

    IMG_1456

  2. 電源スイッチを下に向けて取り付けます。ぐらぐらしますので、マスキングテープなどで仮固定してからはんだ付けしましょう。

    IMG_1457

  3. タクトスイッチを取り付けます。向きは関係ありません。スイッチキャップも付けましょう。あまり強く押さなくても取り付けられます。

    IMG_1460

  4. LEDを取り付けます。足の短い方(カノード)をGNDの方にして取り付けてください。余った足はニッパーでカットしてOKです。

    IMG_1461 (1)

  5. ピンヘッダ、ICソケットを取り付けます。ICソケットにはattiny85を取り付けます。attiny85は左側にくぼみがくるように取り付けてください。

    IMG_1463 (1)

  6. ブザーも向きがあります。+と書いてる方を間違えずに取り付けてください。これで表面は完成です。

    IMG_1464 (3)

  7. 裏を向けてボタン電池ホルダーを取り付けます。今までと違い表面実装部品なので、先に基板にはんだを少し盛ってから、上から温めて接続するとうまくいきます。

    IMG_1466 IMG_1465

あとは電池を+面が表になるように接続して電源をONにすればゲームが起動するはずです!おめでとう! 起動しない場合ははんだのミス(隣と接続されてしまっている箇所が無いかなど)、attiny85の向き、取付忘れなどないか確認してください。 お問い合わせはk.u.i.f1009@gmail.comまで

プログラムのインストール手順

初期状態でスペースインベーダーをインストールしていますが、tinyjoypadプロジェクトでは他にも面白いゲームが公開されています。 現状(2024年7月時点)でうまくいったインストール手順を紹介します。

  1. Zadigにアクセスして、Zadigソフトをインストールします。
  2. キットについているUSBaspをPCと接続します。
  3. Zadigを起動し、USBaspを選択してlibusbkを選択してインストールします。
  4. ArduinoIDEをインストールします。
  5. 基本設定ー>追加のボードマネージャのURLに次のURLを追加します。https://descartes.net/package_drazzy.com_index.json
  6. ツールー>ボードー>ボードマネージャの検索欄にattinyと入力してATTinyCore by Spence Kondeのバージョン1.3.2を選択してインストールします。
  7. SSD1306ライブラリをダウンロードし、スケッチー>ライブラリをインクルードー>.ZIP形式のライブラリをインストールへと進み、ダウンロードしたzipファイルを選択してインストールを行います。
  8. ゲームデータをダウンロード、解凍し、好きなゲームの.inoファイルを起動します。
  9. ツールー>ボードー>ATTinyCoreー>Attiny25/45/85を選択します。
  10. チップはATtiny85、クロックは8MHz(internal)、そして書込装置はUSBaspを選択します。
  11. スケッチー>書き込み装置を使って書き込むを選択します。
  12. プログラムが書き込まれます。

詳細な手順やサンプルコードについては、tinyjoypadも参照してください。

自分で基板を発注してみる

gbrフォルダにあるファイルをJLCPCBなどの基板発注サービスなどに依頼すれば自分で発注することができます。 また、基板データを改造・修正する場合のライセンスはGPLv3です。

3Dプリンターでケースを作る

3dmodelフォルダにあるファイルをそのまま3Dプリンターなどで印刷すればケースを付けることができます。M2×15のビスが4本必要です。

Parts

26
QtyValueFootprintReferences
210KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1, R7
222KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3, R5
233KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal33K1, R4
291KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2, R6
2LOGOLOGOG***, G***
1ATtiny85-20PPackage_DIP:DIP-8_W7.62mmAttiny85
1BatteryBattery:BatteryHolder_Renata_SMTU2032-LF_1x2032BT1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Conn_01x06_PinConnector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_VerticalJ2
1LEDLED_THT:LED_D3.0mmD1
1SSD1306SSD1306:128x64OLEDBrd1306
1SW_AButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW7
1SW_DOWNButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW2
1SW_LEFTButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW5
1SW_PowerButton_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1QPOWER1
1SW_RIGHTButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW3
1SW_UPButton_Switch_THT:SW_PUSH_6mm_H7.3mmSW1

The 22 most common of 26 parts.

Similar boards

  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0
  • 2 layers76.2 × 50.8 mmJerboa-8, the printed circuit board in 3D

    Jerboa-8

    strickyak/jerboa-attiny85-mod-synth

    Modular Synthesizer using an ATtiny85 chip for each module.

    23 parts31MIT
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers55.9 × 55.9 mmPrintplaat, the printed circuit board in 3D

    Printplaat

    floriaanpost/wonderfoon

    Een nieuwe implementatie van de wonderfoon

    14 parts24
  • 2 layers71.1 × 40.6 mmTiny blinky, the printed circuit board in 3D

    Tiny blinky

    Hack-a-Day/Remoticon_KiCad_Blender

    support files for the 2020 Remoticon KiCad to Blender > PCB renders workshop

    21 parts22
  • 2 layers242 × 60 mmRoothubs, the printed circuit board in 3D

    Roothubs

    gkiefer/home2l

    The Home2Ls - Smart Tools for a Private Home

    178 parts21

Questions

How big is the Gamepad attiny85 PCB?

It measures 83.8 × 45.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Gamepad attiny85 use?

26 parts, built around the ATTINY85-20PU. 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 Gamepad attiny85 KiCad files?

From the y-fujimoto1009/tinyjoypad repository on GitHub, at the commit this page was made from: the board is kicad/gamepad_attiny85.kicad_pcb and its schematic kicad/gamepad_attiny85.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Gamepad attiny85 design in my own project?

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