
7seg panel control-04in
7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel

server and utilities for 7-segment LED display panel
Narabeta is an open-source printed circuit board by 7m4gmh, from the 7m4gmh/7seg-panel repository on GitHub. It is a 2-layer board of 243.8 × 264.2 mm with 313 parts on 768 nets, routed with 7,388 tracks and 348 vias.
Its parts include 192 ICs and 72 connectors. It belongs with the lEDs and displays boards of this library.
A series of tools for playing videos on a custom display panel composed of I2C-connected 7-segment LED modules.
i2cで駆動する自作の7セグメントLEDパネルで、動画を再生するプロジェクト。
Note (platform): Developed and tested primarily on Raspberry Pi 3 and Radxa ROCK 5B. It also works on Raspberry Pi 4/5 if I2C is enabled and dependencies are installed (bus numbers/device names may differ).
macOS Support: The project includes emulator mode for macOS development and testing. Physical LED panels are automatically simulated with accurate segment rendering and audio synchronization.
注記(プラットフォーム): 本プロジェクトは主に Raspberry Pi 3 および Radxa ROCK 5B 向けに作成・検証しています。I2C を有効化し依存関係を整えれば Raspberry Pi 4/5 でも動作します(バス番号やデバイス名が異なる場合があります)。
macOS対応: 本プロジェクトはmacOSでの開発・テスト用にエミュレータモードを搭載しています。物理的なLEDパネルを自動的にシミュレートし、正確なセグメント描画と音声同期を実現します。
Languages:
Module Mapping (モジュールマッピング)
You can define per-module physical mappings in config.json to accommodate different wiring or digit order of hardware modules. Use a simple column-reversal flag (module_column_reverse) or an explicit logical→physical index map (module_index_map). See docs/module-mapping.md for details and examples.
ハードウェア毎に桁順や配線が異なる場合、config.json でモジュール単位のマッピングを定義できます。簡易的に列方向を反転する module_column_reverse(真偽値)を使うか、論理インデックス(左上から行優先)からモジュール内の物理インデックスへ明示的に変換する module_index_map(配列)を定義してください。優先順位は module_index_map → module_column_reverse → 既定順(row-major)です。詳しい書き方とテスト手順は docs/module-mapping.md を参照してください。
実機縮退モデルでのデモ動画
hardware/. See: hardware/README.mdhardware/7seg-led — LED panel PCBhardware/7seg-control — main controller PCBhardware/7seg-hat — Raspberry Pi HAThardware/7seg-power — power boardhardware/libhardware/led-panel, controller, rpi-hat, power).Prerequisites
How to build
make without arguments shows help and does not build anything.Common targets
# Show available targets (default)
make core
# GStreamer-based tools: http-streamer / rtp-player
make gst
# Individual targets
make rtp # 7seg-rtp-player
# (http-streamerは削除済み)
# Everything
make all
# Cleanup
### macOS Emulator Support
The project includes macOS emulator support for development and testing without physical hardware:
- Automatically detects macOS and uses emulator mode
- Physical LED panel simulation with accurate segment shapes
- Optimized performance with pre-cached layouts
- Audio synchronization for smooth playback
**macOSでのビルド:**This project recently received fixes and improvements to the video scaling modes so behavior is consistent across orientations (horizontal/vertical) and between the real-device and emulator playback paths.
FIT (default): the entire video is scaled to fit inside the display's physical aspect ratio. Black padding (letterboxing/pillarboxing) will be added on the shorter axis. Internally we compute a display-shaped ROI based on the configured module layout and physical character dimensions, scale the source to fit into that ROI, and pass only the ROI downstream for sampling. This prevents accidental cropping or distortion.
CROP: the video is center-cropped to match the display's physical aspect ratio while preserving the source aspect ratio. After cropping the ROI is passed downstream without forcing a full W×H canvas resize, so the sampled region keeps correct proportions.
STRETCH: the video is resized non-uniformly to fill the display-shaped ROI (i.e. aspect ratio is not preserved). This intentionally distorts the video to use the full display area.
These changes make the three modes behave predictably for combinations like horizontal video on vertical displays (FIT will letterbox, CROP will center-crop, STRETCH will distort to fill).
A new runtime flag is available to enable extra debug output for scaling and ROI calculation.
Usage:
# Enable debug output
./bin/darwin-arm64/7seg-file-player <video> <config> --fit --debug
# Short form
./bin/darwin-arm64/7seg-file-player <video> <config> --fit -dWhen enabled the player prints per-frame messages like:
The debug flag is off by default so normal runs are quiet.
frame_to_grid sees the correct proportions.--debug/-d switch.Tip
For streaming, we recommend the net player with OBS via FLV/TCP:
Alternatively, the RTP player is available. See usage and sender examples:
macOS camera sender script included: send_rtp_cam_gst.sh
For browser-based control and uploads, use the HTTP player/streamer. See:
To play a local video file quickly, use the File Player. See:
macOS Emulator: For testing and development on macOS without physical hardware. See:
Tetris on the LED panel (Python):
| Qty | Value | Footprint | References |
|---|---|---|---|
| 192 | YH-2E20402-IK | 7seg-panel:YH02E20402-12P | U100, U100, U100, U100, U100, U100, U100, U100, U100, U100, U100, U100, U101, U101, U101, U101 +176 |
| 72 | Conn_02x04_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J100, J100, J100, J100, J100, J100, J100, J100, J100, J100, J100, J100, J101, J101, J101, J101 +56 |
| 48 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H100, H100, H100, H100, H100, H100, H100, H100, H100, H100, H100, H100, H101, H101, H101, H101 +32 |
| 1 | LOGO | LOGO | G*** |

7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel


7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel


7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel

7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel

7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel


7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel


7m4gmh/7seg-panel
server and utilities for 7-segment LED display panel








Mozzie-AU/LeafOBC-WafflePlate
Reverse engineering the "waffle plate" power module from the 2012 Nissan Leaf on-board charger (OBC), with the goal of building a functional replica from regular, off-the-shelf components.

It measures 243.8 × 264.2 mm and has 2 copper layers, 1.6 mm thick.
313 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.
From the 7m4gmh/7seg-panel repository on GitHub, at the commit this page was made from: the board is hardware/040/7seg-panel-display-040-dual/narabeta.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask 7m4gmh before reusing the design.