Skip to the content
2 layers58.2 × 29 mmI2c-7segment display, the printed circuit board in 3D

A compact 4-digit, I²C-based 7-segment display module designed around the HT16K33 LED driver IC. This project combines open-source hardware, firmware, and documentation to create a fully standalone, programmable numeric…

Size
58.2 × 29 mm
Copper layers
2
Thickness
1.6 mm
Parts
16
Nets
28
Pads
84
Tracks, vias
302, 5
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
18 Aug 2025
Updated
23 Oct 2025

Overview

I2c-7segment display is an open-source printed circuit board by IronMan1405, from the IronMan1405/i2c-7segment-display repository on GitHub. It is a 2-layer board of 58.2 × 29 mm with 16 parts on 28 nets, routed with 302 tracks and 5 vias.

Its parts include 10 resistors, 4 diodes, 1 IC and 1 connector. It belongs with the lEDs and displays boards of this library.

README

README.md

GitHub Repo Platform License KiCad Status

I2C 7-Segment Display Module

A compact 4-digit, I²C-based 7-segment display module designed around the HT16K33 LED driver IC.
This project combines open-source hardware, firmware, and documentation to create a fully standalone, programmable numeric display for Arduino, ESP, and Raspberry Pi systems.


🚀 Overview

The project implements a simple and efficient I²C-driven display interface using the HT16K33, capable of controlling up to 16×8 LEDs (suitable for four 7-segment displays plus dots).

It is designed for:

  • DIY and educational electronics projects
  • Embedded system displays
  • Robotics or smart-device dashboards

🧩 Features

  • 🧠 I²C-based interface (2-wire communication)
  • 🔢 4-digit common-cathode 7-segment display
  • 💡 Optional decimal points and colon/dot segments
  • ⚙️ Compatible with Arduino, ESP8266/ESP32, and Raspberry Pi
  • 🖥️ Fully open-source KiCad hardware design
  • 🔌 Designed for easy PCB manufacturing (Gerber included)

📁 Repository Structure


⚙️ Hardware Details

  • Controller IC: HT16K33 (20-pin SOP)
  • Display Type: 4× Common Cathode 7-Segment (e.g., Cromatek D168K)
  • Supply Voltage: 5V (typical)
  • Communication Protocol: I²C
    • SDA → Data
    • SCL → Clock
  • Default I²C Address: 0x70 (configurable via address pins)
  • Resistors: Individual current-limiting resistors per LED segment
  • PCB Design Software: KiCad 8.0

🔌 Connections (Typical Setup)

HT16K33 PinFunctionDescription
VCCPower+5V supply
GNDGroundCommon ground
SDAI²C DataConnect to MCU SDA
SCLI²C ClockConnect to MCU SCL
ROW/COM0–7Segment anode control lines
COL0–15Digit cathode control lines

🧠 Firmware Overview

Arduino

Located in /firmware/arduino/

  • Example sketches for testing digits, scrolling numbers, and dots.
  • Wire library used for I²C communication.

Raspberry Pi

Located in /firmware/raspberrypi/

  • Python scripts using smbus or adafruit-ht16k33 library.
  • Simple display test examples included.

📘 Datasheets

ComponentFile
Cromatek D168K 7-segment/hardware/datasheets/Cromatek D168K.pdf
HT16K33 LED Driver/hardware/datasheets/ht16k33v110.pdf

🛠️ Getting Started

1. Hardware

  • Open /hardware/i2c-7segment-display/i2c-7segment-display.kicad_pro in KiCad 9.
  • To add the custom HT16K33 symbol:
    • Preferences → Manage Symbol Libraries → Add
    • Select: hardware/library/symbols/ht16k33.kicad_sym

2. Firmware

  • For Arduino: upload from /firmware/arduino/
  • For Raspberry Pi: run test script from /firmware/raspberrypi/

📸 Documentation

All photos, wiring diagrams, and assembly references are in: /docs/photos


📜 License

This project is licensed under the MIT License — see LICENSE for details.
You’re free to use, modify, and distribute it with attribution.


💡 Future Work

  • Add 3D model for HT16K33
  • Add PCB assembly photos and demo video
  • Develop Arduino library for dynamic animations

✨ Author

Dakshesh Nankani
Electronics & Robotics Enthusiast | Open Source Developer

email: [daksheshnankani1405@gmail.com]

LinkedIn

“Simplicity is the ultimate sophistication.” — Leonardo da Vinci

Parts

16
QtyValueFootprintReferences
8220ΩResistor_SMD:R_0805_2012MetricR1, R2, R3, R4, R5, R6, R7, R8
4D168KDisplay_7Segment:D1X8KD1, D2, D3, D4
23.3kΩResistor_SMD:R_0805_2012MetricR33, R34
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_HorizontalJ1
1~Package_SO:SOP-20_7.5x12.8mm_P1.27mmU1

Similar boards

  • 2 layers140.5 × 30 mmType e, the printed circuit board in 3D

    Type e

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    16 parts3kApache-2.0
  • 2 layers41.4 × 14.5 mmU2f zero, the printed circuit board in 3D

    U2f zero

    conorpp/u2f-zero

    U2F USB token optimized for physical security, affordability, and style

    16 parts2.4k
  • 2 layers122 × 37 mmV0-UmbilicalBoard, the printed circuit board in 3D

    V0-UmbilicalBoard

    VoronDesign/Voron-Hardware

    Cool Hardware designed by the Voron Design group

    16 parts1.1kGPL-3.0
  • 2 layers152 × 57.6 mmVideoslotadapter, the printed circuit board in 3D

    Videoslotadapter

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    16 parts1kGPL-3.0
  • 2 layers36 × 63.4 mmSmart ringfinal layout, the printed circuit board in 3D

    Smart ringfinal layout

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    16 parts915
  • 2 layers60 × 40 mmHASwitchPlate, the printed circuit board in 3D

    HASwitchPlate

    aderusha/HASwitchPlate

    LCD touchscreen for Home Automation

    16 parts738MIT
  • 2 layers21.1 × 26.9 mmDemo, the printed circuit board in 3D

    Demo

    easyw/kicadStepUpMod

    kicadStepUp: ECAD to MCAD FreeCAD WorkBench

    16 parts704

Questions

How big is the I2c-7segment display PCB?

It measures 58.2 × 29 mm and has 2 copper layers, 1.6 mm thick.

What parts does the I2c-7segment display use?

16 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 I2c-7segment display KiCad files?

From the IronMan1405/i2c-7segment-display repository on GitHub, at the commit this page was made from: the board is hardware/i2c-7segment-display/i2c-7segment-display.kicad_pcb and its schematic hardware/i2c-7segment-display/i2c-7segment-display.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the I2c-7segment display design in my own project?

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