WIZM-TOUCH

Touch

WIZM-TOUCH is a 12-electrode capacitive touch ring module powered by the MPR121 controller IC (Rev 1.0). Communicating over a standard I2C digital interface (0x5A) with a 3.3V supply, interrupt (INT) signal, and right-angle keyed connector (J1), it is designed for circular touch sensing, rotary/radial input prototypes, and interactive panels.

ADK-Buy Buy now

The WIZM-TOUCH (P/N: WIZM-TOUCH, Rev 1.0) is an integrated capacitive touch ring module featuring twelve radial touch electrodes (A–L) driven by the MPR121 touch controller IC. It communicates over a 2-wire I2C interface (SDA and SCL) at default address 0x5A with a 3.3V supply and active-low interrupt output (INT), while status LEDs (D1 ON, D2 INT), a right-angle keyed connector (J1), mounting holes, and OSHW markings simplify integration into embedded and MicroPython projects.


Features

  • 12-Pad Capacitive Touch Ring: Twelve radial touch segments (A–L) arranged in a ring for circular touch and rotary/directional input prototyping.

  • MPR121 Controller IC: Dedicated capacitive touch controller handling baseline tracking, filtering, and threshold detection over I2C (0x5A).

  • 3.3V Logic & Keyed Connector: Features a 5-pin horizontal keyed connector (J1) with 3.3V, GND, SCL, SDA, and INT lines clearly labeled on both sides.

  • Onboard Status Indicators: Includes power/status (D1 ON) and interrupt (D2 INT) LEDs alongside silkscreened I2C Addr 0x5A and WIZnet I2C markings.

  • Mechanical Mounting & OSHW Design: Includes a center pass-through hole, bottom corner mounting holes, and OSHW board markings.


Specifications

Parameter

Value

Model / P/N

WIZM-TOUCH

Function

Touch Ring (12 Pads, A–L)

IC

MPR121

Interface (I/F)

I2C (0x5A) + Interrupt (INT)

Operating Voltage (3.3V)

3.3V DC

Connector Pitch

Keyed Horizontal (J1)

Pin Count

5 Pins (3.3V, GND, SCL, SDA, INT)


Pinout & Hardware Overview

The module provides a 5-pin interface on connector J1 (silkscreened in order from 3.3V to INT on the back and INT to 3.3V on the front).

Pin

Type

Description

3.3V

Power

3.3V DC Power Supply

GND

Power

Ground supply reference

SCL

Input

I2C Serial Clock Line

SDA

Input/Output

I2C Serial Data Line

INT

Output

Active-low interrupt output signaling touch/release state changes

Top View & Bottom View

topandbottom


Platforms Supported

MicroPython

Micropython Logo


Getting Started

Materials Required (excluding touch module)

  • W55MH32L-ADK

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

  • USB Type-C Cable

Application Board

Hardware Connection

Connect the WIZM-TOUCH 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 code.

  1. Open Thonny IDE on your PC.

  2. Select the correct COM port for your board.

  3. Set the interpreter to MicroPython (generic).

Refer to the WIZnet documentation page for detailed instructions under the “Basic Setup” section.

MicroPython

import time
from machine import I2C, Pin

MPR121_ADDR = 0x5A

REG_TOUCH_STATUS_L = 0x00
REG_MHDR = 0x2B
REG_NHDR = 0x2C
REG_NCLR = 0x2D
REG_FDLR = 0x2E
REG_MHDF = 0x2F
REG_NHDF = 0x30
REG_NCLF = 0x31
REG_FDLF = 0x32
REG_NHDT = 0x33
REG_NCLT = 0x34
REG_FDLT = 0x35
REG_ELE0_TOUCH = 0x41
REG_ELE0_RELEASE = 0x42
REG_DEBOUNCE = 0x5B
REG_CONFIG1 = 0x5C
REG_CONFIG2 = 0x5D
REG_ECR = 0x5E
REG_SOFT_RESET = 0x80


def write_reg(i2c, reg, val):
    i2c.writeto_mem(MPR121_ADDR, reg, bytes([val & 0xFF]))


def init_mpr121(i2c, touch_th=12, release_th=6):
    write_reg(i2c, REG_SOFT_RESET, 0x63)
    time.sleep_ms(10)
    write_reg(i2c, REG_ECR, 0x00)

    write_reg(i2c, REG_MHDR, 0x01)
    write_reg(i2c, REG_NHDR, 0x01)
    write_reg(i2c, REG_NCLR, 0x0E)
    write_reg(i2c, REG_FDLR, 0x00)
    write_reg(i2c, REG_MHDF, 0x01)
    write_reg(i2c, REG_NHDF, 0x05)
    write_reg(i2c, REG_NCLF, 0x01)
    write_reg(i2c, REG_FDLF, 0x00)
    write_reg(i2c, REG_NHDT, 0x00)
    write_reg(i2c, REG_NCLT, 0x00)
    write_reg(i2c, REG_FDLT, 0x00)

    for ch in range(12):
        write_reg(i2c, REG_ELE0_TOUCH + ch * 2, touch_th)
        write_reg(i2c, REG_ELE0_RELEASE + ch * 2, release_th)

    write_reg(i2c, REG_CONFIG1, 0x10)
    write_reg(i2c, REG_CONFIG2, 0x20)
    write_reg(i2c, REG_DEBOUNCE, 0x11)
    write_reg(i2c, REG_ECR, 0x0C)


def read_touched(i2c):
    data = i2c.readfrom_mem(MPR121_ADDR, REG_TOUCH_STATUS_L, 2)
    mask = (data[0] | (data[1] << 8)) & 0x0FFF
    return [i for i in range(12) if mask & (1 << i)]


print("WIZM-TOUCH sensor test started\n")

# Adjust I2C bus ID and SCL/SDA pins for your board
i2c = I2C(1, scl=Pin("PB6"), sda=Pin("PB7"), freq=400_000)

if MPR121_ADDR not in i2c.scan():
    raise RuntimeError("MPR121 not detected at 0x5A")

init_mpr121(i2c)
time.sleep_ms(150)

last_touched = None
try:
    while True:
        touched = read_touched(i2c)
        if touched != last_touched:
            print(f"Touched electrodes: {touched}")
            last_touched = touched
        time.sleep_ms(20)
except KeyboardInterrupt:
    print("\nTest stopped.")

Sensor Demo

Schematic

Download: WIZM-TOUCH Schematics