WIZM-PIR

PIR

WIZM-PIR is a pyroelectric infrared (PIR) motion sensing module powered by the PIR2230-SO IC. Utilizing a digital GPIO output with dedicated 3.3V and GND pins, it features dual breakout connection options for easy integration into motion detection, security, and smart IoT applications.

ADK-Buy Buy now

The WIZM-PIR is an integrated motion sensing breakout module featuring the PIR2230-SO pyroelectric infrared sensor IC. It outputs a digital signal over a single GPIO pin (PIR), making it straightforward to detect movement without complex communication protocols. Dual header breakout options (standard 2.54mm pitch through-holes and a right-angle keyed connector) make it ideal for breadboard prototyping, presence sensing, and smart IoT control systems.


Features

  • PIR2230-SO Sensor IC: Pyroelectric infrared motion sensing element designed for reliable movement detection.

  • Simple GPIO Output: Single digital PIR signal line for easy reading on microcontrollers.

  • 3.3V Operation: Designed for low-voltage 3.3V DC systems alongside dedicated ground and reserved pins.

  • Dual Connection Options: Supports standard 2.54mm pitch pin headers (P1) alongside a keyed horizontal connector (J1).

  • Mounting Holes: Four corner mounting holes plus a center pass-through hole for secure panel or enclosure mounting.


Specifications

Parameter

Value

Model / P/N

WIZM-PIR

Function

Pyroelectric Infrared

IC

PIR2230-SO

Interface (I/F)

GPIO

Operating Voltage (3.3V)

3.3V DC

Connector Pitch

Standard 2.54mm (P1) / Keyed Horizontal (J1)

Pin Count

5 Pins (NC, NC, PIR, GND, 3.3V)


Pinout & Hardware Overview

The module provides two parallel 5-pin interfaces: a standard 2.54mm pitch through-hole breakout (P1) and a horizontal keyed connector (J1).

Pin

Type

Description

NC

—

No Connection

NC

—

No Connection

PIR

Output

Digital GPIO motion signal output

GND

Power

Ground supply reference

3.3V

Power

3.3V DC Power Supply

Top View & Bottom View

topandbottom


Platforms Supported

MicroPython

Micropython Logo


Getting Started

Materials Required (excluding PIR module)

  • W55MH32L-ADK

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

  • USB Type-C Cable

W55MH32L-Application-KIT

Hardware Connection

Connect the WIZM-PIR to the W55MH32L-ADK with the JST PH-Style Cable:

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 Pin

# Change pin number to match your board's GPIO connected to the PIR pin
pir = Pin(15, Pin.IN, Pin.PULL_DOWN)

print("Warming up PIR sensor (15 seconds)...")
time.sleep(15)
print("Ready. Move in front of the sensor to test.")

last_state = None

while True:
    state = pir.value()
    if state != last_state:
        if state == 1:
            print("Motion detected!")
        else:
            print("No motion.")
        last_state = state
    time.sleep(0.1)

PIR Demo

Schematic

Download: WIZM-PIR Schematics