WIZM-7SEG

4-Digi

WIZM-7SEG is a 4-digit 7-segment display breakout module with an integrated HT16K33A LED driver and an I2C interface (0x70 default address). Powered via dedicated 3.3V and GND pins, the two-wire SDA and SCL bus lets you drive numeric readouts, counters, and indicators without multiplexing individual segments on your host controller.

ADK-Buy Buy now

The WIZM-7SEG is an integrated visual readout breakout board featuring four 7-segment LED digits with decimal points driven by an onboard HT16K33A controller. Instead of wiring and scanning raw segment and digit lines directly from your microcontroller, the module handles display refresh and brightness control over a two-wire I2C bus. A keyed connector alongside through-hole pads and mounting holes makes it suited for rapid prototyping, panel readouts, and embedded IoT devices.


Features

  • 4-Digit 7-Segment Readout: Four 7-segment LED digits with decimal points arranged cleanly on a compact breakout PCB.

  • Onboard HT16K33A Driver: Handles display multiplexing and LED driving autonomously over I2C (0x70 default address).

  • 3.3V Logic & Power: Designed for 3.3V operation with a dedicated 3.3V and GND supply interface.

  • Keyed Connector & Breakout Pads: Includes a horizontal keyed connector (J1) and 5-pin breakout pads (3.3V, GND, SCL, SDA, NC).

  • Mounting Holes: Corner mounting holes plus a center pass-through hole for easy mechanical mounting onto enclosures or panels.


Specifications

Parameter

Value

Model

WIZM-7SEG

Operating Voltage (VCC)

3.3V DC

Interface

I2C (SDA, SCL)

Default I2C Address

0x70

Driver IC / Revision

HT16K33A / Rev 1.0

Connector Pitch

Keyed Horizontal (J1)

Pinout / Connector

5-Pin (3.3V, GND, SCL, SDA, NC) on J1 / breakout pads


Pinout & Hardware Overview

The module provides a 5-pin interface (3.3V, GND, SCL, SDA, NC) via a horizontal keyed connector (J1) and silkscreened breakout pads.

Pin

Type

Description

3.3V

Power

3.3V DC Power Supply

GND

Power

Ground supply reference

SCL

I2C Clock

Serial clock input for I2C communication

SDA

I2C Data

Serial data line for I2C communication

NC

Not Connected

Top View & Bottom View

topandbottom

Platforms Supported

Micropython

Micropython Logo


Getting Started

Materials Required (excluding 7-segment display module)

  • W55MH32L-ADK

  • 5-pin female-female JST PH-Style Cable

  • USB Type-C Cable

Application Board

Hardware Connection

Connect the WIZM-7SEG to the W55MH32L-ADK with the JST PH-Style Cable to J12:

Hardware Connection

Then use a USB Type‑C cable to connect the WIZ‑LINK Port on the W55MH32L-ADK board to your PC.


Sample Code Demo

Software

We will be using Thonny IDE to run the MicroPython script.

  1. Open Thonny IDE on your PC.

  2. Select the COM port corresponding to your board.

  3. Set the interpreter to MicroPython (generic).

Refer to your board’s MicroPython documRefer to the WIZnet documentation page for more detailed instructions at the “Basic Setup” section.

MicroPython

import time
from machine import I2C, Pin

DEFAULT_ADDR = 0x70

# Standard 7-segment bitmaps (bits 0..6 = segments a..g)
DIGITS = {
    0: 0x3F,
    1: 0x06,
    2: 0x5B,
    3: 0x4F,
    4: 0x66,
    5: 0x6D,
    6: 0x7D,
    7: 0x07,
    8: 0x7F,
    9: 0x6F,
    " ": 0x00,
    "-": 0x40,
}

# Confirmed RAM word offsets for digits 0..3
DIGIT_OFFSETS = (0x00, 0x02, 0x04, 0x06)


class HT16K33Seg7:
    def __init__(self, i2c, addr=DEFAULT_ADDR, brightness=8):
        self.i2c = i2c
        self.addr = addr
        self.buf = bytearray(16)
        self.init_display(brightness)

    def init_display(self, brightness):
        self.i2c.writeto(self.addr, bytes([0x21]))
        self.i2c.writeto(self.addr, bytes([0x81]))
        self.set_brightness(brightness)
        self.clear()

    def set_brightness(self, level):
        level = max(0, min(15, level))
        self.i2c.writeto(self.addr, bytes([0xE0 | level]))

    def clear(self):
        for i in range(len(self.buf)):
            self.buf[i] = 0x00
        self.show()

    def show_digits(self, chars):
        for i in range(len(self.buf)):
            self.buf[i] = 0x00

        padded = list(chars[:4])
        while len(padded) < 4:
            padded.insert(0, " ")

        for idx, ch in enumerate(padded):
            pattern = DIGITS.get(ch, 0x00)
            offset = DIGIT_OFFSETS[idx]
            self.buf[offset] = pattern & 0xFF
            self.buf[offset + 1] = (pattern >> 8) & 0xFF

        self.show()

    def show(self):
        self.i2c.writeto(self.addr, bytes([0x00]) + self.buf)


i2c = I2C(0, scl=Pin(5), sda=Pin(4), freq=400_000)
devices = i2c.scan()
addr = DEFAULT_ADDR if DEFAULT_ADDR in devices else (devices[0] if devices else None)

print("Starting 4-digit 7-segment I2C display test...")
print("Press Ctrl+C to stop.\n")

try:
    if addr is None:
        print("No I2C device detected. Check VCC, GND, SDA, and SCL wiring.")
    else:
        disp = HT16K33Seg7(i2c, addr=addr, brightness=10)
        counter = 0
        while True:
            s = f"{counter:04d}"
            disp.show_digits([int(c) for c in s])
            print(f"Display Value: {s}")
            counter = (counter + 1) % 10000
            time.sleep(0.5)
except KeyboardInterrupt:
    print("\nTest stopped.")

Sensor Demo

Schematic

Download: WIZM-7SEG Schematics