

Stack chan bit-2
Stack-chan + micro:bit
- Size
- 56 × 18 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 2
- Nets
- 21
- Pads
- 52
- Tracks, vias
- 83, 3
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 21 May 2023
- Updated
- 18 Jun 2024
Overview
Stack chan bit-2 is an open-source printed circuit board by akita11, from the akita11/Stack-chan_bit repository on GitHub, published under the MIT licence. It is a 2-layer board of 56 × 18 mm with 2 parts on 21 nets, routed with 83 tracks and 3 vias.
README
README.mdStack-chan_bit
スタックチャンにmicro:bitを差し込んで制御するボードです。micro:bitのプログラミングでスタックチャンを動かすことができます。
使用例
micro:bit側のプログラム(m-asaoka-fap氏作成のカスタムブロックあり)から、スタックチャンを制御できます。→使用例
作り方
用意するもの
- M5Stack (BasicまたはCore2がオススメ)
- Stack-chan_Takao_Baseとそれで用いるもの(サーボモータ2個、Groveケーブル、ネジ等、筐体(shell部以外))※顔部分のM5Stack本体との固定には、BasicではM3x15mm、Core2ではM3x20mmのネジを2本使います
- shell部の筐体(Stack-chan_bit_shell.stlを3Dプリントしたもの): タカオ版筐体内の”shell_SG90_basicgraybottom_v1.0.stl"を元に改変
組み立て
M5Stackに専用プログラム(FW_PIO/以下。PlatformIO用)を書き込みます。
M5Stackの底板を外し、Stack-chan_bitをさしこみます。
2本のM3ネジで固定します
Stack-chan_Takao_Baseを使って Bracket部(サーボ2個が固定される部分)を組み立てつつ、Stack-chan:bit基板と、Groveケーブルで接続します。
残りの部分は、Stack-chan_Takao_BaseからのGroveケーブルは、M5Stack本体ではなく、Stack-chan_bitのGroveコネクタに接続する
残りの部分は、タカオさんの手順を参考に組み立てます。
プログラミング
micro:bitとスタックチャン(M5Stack)の間はUART通信(115200bps・N81、コマンド区切りはLF/0x0a/'\n')で以下のような制御コマンドを送って制御します。micro:bit側のカスタムブロックもあり、MakeCoreで組み込んで使用できます。
- 動作の制御
- Xnn : パン動作(横方向)nn=角度、範囲=-90〜90(正面=0)
- Ynn : チルト動作(縦方向)nn=角度、範囲=0〜30(正面=0から上向きへ)
- 顔の制御
- Txxxx : 吹き出しに”xxxx”と表示し、それにあわせて口が動く
- En : 表情を設定。n=0〜5 (0=Angry, 1=Sleepy, 2=Happy, 3=Sat, 4=Doubt, 5=Neutral)
(おまけ)拡張用Grove端子
M5Stackやmicro:bitの一部の端子をGrove端子に引き出せるようにGroveコネクタ実装部が用意してあります。詳細は回路図を参照してください。ただし使用する場合はGroveコネクタ部分にあわせて筐体(shell)の修正が必要になります。
Author
Junichi Akita (@akita11, akita@ifdl.jp)
Parts
2| Qty | Value | Footprint | References |
|---|---|---|---|
| 1 | Conn_01x08 | Connector_PinHeader_2.54mm:PinHeader_1x08_P2.54mm_Vertical | J4 |
| 1 | Conn_02x40_Top_Bottom | akita:CON_microbit_cardedge_SMD | J1 |
Questions
How big is the Stack chan bit-2 PCB?
It measures 56 × 18 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Stack chan bit-2 use?
2 parts. 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 Stack chan bit-2 KiCad files?
From the akita11/Stack-chan_bit repository on GitHub, at the commit this page was made from: the board is stack-chan_bit-2.kicad_pcb and its schematic stack-chan_bit.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Stack chan bit-2 design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
More from akita11/Stack-chan_bit
1- 2 layers50 × 50 mm

Similar boards
- 2 layers37 × 19 mm

Passive rpi hub75-adapter
hzeller/rpi-rgb-led-matrix
Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
2 parts4.4kGPL-2.0 - 2 layers33 × 19 mm

- 2 layers

Diode template
adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing
2 parts547GPL-3.0 - 2 layers20.3 × 15.2 mm

L0 button
Luos-io/luos_engine
Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.
2 parts546MIT - 2 layers35.1 × 46.8 mm

SDEX2M2 Breakout Board
NVNTLabs/switch2-SDEX2M2
Micro SD Express to M.2 NVME Adapter for Nintendo Switch 2
2 parts542GPL-3.0 - 2 layers59.3 × 36.6 mm

ExpansionBoardTemplate
BlueSCSI/BlueSCSI-v2
BlueSCSI v2/Ultra - an open source, open hardware, SCSI emulator using the Pi Pico PR2040 and Pico 2 RP2350
2 parts459GPL-3.0 - 2 layers

Alpha.9mm.wire
ohmtech-rdi/eurorack-blocks
Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
2 parts410 - 2 layers26.7 × 64 mm
