XStore

NORVI X-Q16 – USER GUIDE

Updated on September 8, 2026

9 min read

Overview #

NORVI X is a next generation modular industrial controller designed to power smart automation and IoT solutions. Built around a CPU module and a range of plug and play expansion modules, the platform scales from a handful of I/O points up to 200, giving system integrators, OEMs, and industrial engineers a flexible foundation for automation, remote monitoring, and data acquisition projects.

The NORVI X-Q16 is a 16-channel transistor output expansion module designed for the NORVI X modular controller platform. It provides sixteen high-side switching outputs for controlling DC loads such as industrial actuators, relays, solenoids, and indicator devices.

The Q16 uses P-channel MOSFET high-side switches with optocoupler isolation. Each output includes integrated fuse and surge protection, while individual LEDs provide output status indication.

This guide covers installation, wiring, technical specifications, terminal and address configuration, software setup, diagnostic test code, and troubleshooting.

Key Features #

  • 16 high-side transistor output channels using P-channel MOSFETs
  • Up to 24 V DC switching
  • Full optical isolation with dual opto-isolation per channel
  • Per-channel resettable PTC fuse and surge protection
  • Individual LED status indicators per output
  • DIN rail mountable enclosure with push-in front terminals
  • CE / EMC compliant

Safety Information #

  • Install and wire this module only if you are a qualified electrician or trained technician familiar with industrial control equipment.
  • Confirm the host CPU is running from a regulated 24 V DC supply.
  • Do not connect or disconnect the expansion module while the system is powered.
  • Ensure that the supply voltage does not exceed 24 V DC.
  • Do not exceed 0.5 A on any individual transistor output.
  • Do not exceed a total supply current of 8 A.
  • Mount the module on a DIN rail inside a suitably rated enclosure. It carries an IP20 protection rating and is not designed for direct outdoor or wash down exposure.
  • Keep the operating environment within minus 40 to plus 85 degrees C and avoid condensing humidity.
  • Follow all local and national electrical codes applicable to industrial control panel wiring.

Technical Specifications #

Electrical #

Rated Supply Voltage24V DC
Current Consumption90mA @ 24V DC

Output Specifications #

Number of Outputs16 Transistor Output channels
Transistor Output Current0.5A per channel
Switching TransistorP-Channel MOSFET
Maximum Supply Voltage24V DC
Maximum Supply Current8A
Output TypeHigh-Side Switch
Isolation TypeOptocoupler Isolation
Protection (Per Channel)Per-channel resettable PTC fuse
Output DiagnosticsIndividual LED indicators
Connector TypeSpring terminal

Hardware Layout & GPIO Map #

The Q16 communicates with the NORVI X CPU through the expansion bus. The transistor output channels are provided through the field terminal block as TR1 through TR16.

TerminalFunction
TR1Transistor Output 1
TR2Transistor Output 2
TR3Transistor Output 3
TR4Transistor Output 4
TR5Transistor Output 5
TR6Transistor Output 6
TR7Transistor Output 7
TR8Transistor Output 8
TR9Transistor Output 9
TR10Transistor Output 10
TR11Transistor Output 11
TR12Transistor Output 12
TR13Transistor Output 13
TR14Transistor Output 14
TR15Transistor Output 15
TR16Transistor Output 16
GNDGround

I2C Address Selection #

The PCA9539 that directly drives the 16 transistor channels is addressed at 0x75. The DIP-selectable addresses from 0x27 to 0x20 apply when the module is daisy-chained with other I2C-addressed NORVI expansion modules on the same bus.

NORVI X-Q16 I2C address selector
I2C Address Selector
Address Selection
DIP 1DIP 2DIP 3DIP 4Address
OFFOFFOFF×0x27
ONOFFOFF×0x26
OFFONOFF×0x25
ONONOFF×0x24
OFFOFFON×0x23
ONOFFON×0x22
OFFONON×0x21
ONONON×0x20

Wiring Guide #

GPIO pin assignments for the module are listed in the Hardware Layout and GPIO Map section. This section covers how to physically wire the X-Q16.

Power Connection #

The module draws its internal 24 V DC supply through the expansion port shared with the CPU. A separate power terminal is also provided on the X-Q16 for supplying the transistor output loads.

Transistor Output Wiring #

  • Each output channel switches through an internal opto-isolated MOSFET between its TRx terminal and the POWER block’s 24V rail.
  • Connect one lead of the load, such as a relay coil, solenoid, actuator, or indicator, to the corresponding TRx terminal. Connect the other lead of the load to GND.
  • The module’s outputs are powered from the dedicated POWER terminal block containing 24V, 24V, GND, GND, and GND terminals.
  • Wire an external 24 V DC supply to a POWER 24V terminal and its return to a POWER GND terminal before wiring any loads.
  • When a channel is switched ON, its TRx terminal is internally connected to the POWER block’s 24 V rail, sourcing 24 V DC to the load.
  • When a channel is OFF, its TRx terminal is left floating at high impedance.
  • The output block GND terminal and the POWER block GND terminals share a common ground reference.
  • Since all sixteen outputs share the same POWER supply and GND reference, use consistent wiring across all sixteen channels.
  • For inductive loads such as relay coils or solenoids, keep the load within the per-channel fuse and switching limits.
NORVI X-Q16 transistor output terminal wiring
NORVI X-Q16 Transistor Output Terminal Wiring

Connecting the Module to the CPU #

  1. Power off the system.
  2. Mount the X-Q16 on the DIN rail next to the CPU module or an adjacent expansion module.
  3. Seat it firmly onto the expansion bus connector until it locks into place.
  4. If daisy-chaining multiple I2C-addressable modules, set the DIP switches first so each module has a unique address.
  5. Wire your loads to TR1 through TR16, confirming each stays within the 0.5 A per-channel and 24 V DC rating.
  6. Power the system back on.
  7. Upload the module’s test sketch from the NORVI GitHub repository to confirm each channel operates correctly.
NORVI X-Q16 expansion module connected with NORVI X CPU
NORVI CPU Controller with NORVI X-Q16 Expansion Module

Expansion Port (50 pin) #

The X-Q16 connects to the CPU through the shared 50 pin expansion bus. The pins used by the module include SCL, SDA, GND, 24V, and 5V. The remaining pins pass through for other expansion modules.

PIN INDEXPurposeGPIOSOURCE
1MOSIIO11ESP32-S3
2MISOIO13
3SCLKIO12
4GND—-
5SCLIO9
6SDAIO8
7GND—-
8RX1IO18
9TX1IO17
10GND—-
11D+—-
12D-—-
13GND—-
14CS1P1_0PCA9539
I2C Address 0x75
15CS2P0_7
16CS3P0_6
17CS4P0_5
18IO1IO1ESP32-S3
19IO2IO2
20IO4IO4
21IO5IO5
22IO6IO6
23IO7IO7
24IO10IO10
25IO11IO35
26IO12IO41
27IO13IO37
28IO14IO14
29RS485_TXIO15
30GND—-
31GND—-
32RS485_RXIO16
33P1_1P1_1PCA9539
I2C Address 0x75
34P1_2P1_2
35IO21IO21ESP32-S3
36GND—-
37GND—-
38P1_3P1_3PCA9539
I2C Address 0x75
39P1_4P1_4
40P1_5P1_5
41IO39IO39ESP32-S3
42IO40IO40
43NC—-
44NC—-
45NC—-
46GND—-
475V5V
48GNDGND
4924V24V
5024V24V

Software Setup (Arduino IDE) #

The NORVI X-Q16 is driven through the host CPU using the Arduino IDE with the ESP32 board package. Firmware examples and required libraries are maintained in the NORVI GitHub repository.

Board Configuration #

  1. Install Arduino IDE

    Install the Arduino IDE and add ESP32 board support:

    Tools → Board → Boards Manager → ESP32
  2. Connect the Controller

    Connect the NORVI X CPU to your computer using the USB interface.

  3. Select Board and Port

    Configure the board and communication port:

    Tools → Board → ESP32 Arduino → ESP32S3 Dev Module
    Tools → Port → Select the corresponding COM/serial port
Arduino IDE Board and Tools Menu Configuration
Arduino IDE Board and Tools Menu Configuration

Configure Board Settings #

Under the Tools menu, configure the following settings:

Upload Settings under the Arduino IDE Tools Menu
Upload Settings under the Tools Menu
SettingSelection
USB CDC On BootEnabled
Flash Size16MB (128Mb)
PSRAMQSPI PSRAM

Test Code Examples #

Required Libraries #

Install these via Arduino IDE → Sketch → Include Library → Manage Libraries before compiling any of the examples:

  • Wire
  • SPI
  • PCA9539
  • PCA9536D
  • TFT_eSPI
  • CST816S
  • RTClib
  • WiFi
  • Ethernet
  • EthernetUDP
  • SD

Install the Required Library #

Install the Wire library through:

Sketch → Include Library → Manage Libraries

Search for Wire and install it if required.

Opening the Arduino IDE Library Manager
Opening the Arduino IDE Library Manager
The libraries are available in the NORVI-X-Version-02 GitHub repository .

Open and Upload the Test Sketch #

  1. Open the X-Q16 test sketch from the NORVI GitHub repository .
  2. Verify the board and port selections.
  3. Click Upload to upload the test sketch to the NORVI X CPU.

Initialization #

The test sketch starts Serial communication at 115200 baud, initializes the I2C bus using SDA on IO8 and SCL on IO9, scans the I2C bus, and initializes the CPU-side PCA9539 interface at address 0x75.

#include <Wire.h>
#include "PCA9539.h"

#define SDA 8
#define SCL 9

PCA9539 ioport(0x75);

The sketch then configures the required output channels as outputs and controls the output states during the test.

Transistor Output Test #

The test routine first switches the output channels OFF and then switches them ON one after another, with short delays between channels. This allows the operator to observe the corresponding output LED and connected load.

// Turn off outputs
digitalWrite(OUTPUT5, LOW);
digitalWrite(OUTPUT6, LOW);
// ...

// Turn on outputs sequentially
digitalWrite(OUTPUT5, HIGH);
delay(100);

digitalWrite(OUTPUT6, HIGH);
delay(100);
// ...
The current repository test sketch maps the CPU-side output resources across direct ESP32-S3 GPIOs and PCA9539-controlled lines. Keep the exact CPU-side GPIO mapping aligned with the current NORVI-X-Version-02 test sketch rather than treating TR1 through TR16 as ESP32 GPIO numbers.

Validating the Full Test Sketch #

Open the Serial Monitor at 115200 baud and confirm that the I2C scan detects the expected devices.

Observe the Q16 output LEDs while the test routine is running and verify that each connected load responds correctly when its corresponding output is activated.

After testing, confirm that all outputs return to their intended safe state. Do not connect loads that exceed the specified per-channel or total current limits.

Troubleshooting #

SymptomSuggested Action
Output stays off Check wiring polarity and confirm GND is properly connected to the load’s return path.
LED stays off despite command Confirm I2C communication with the PCA9539 at 0x75 is succeeding. Check SDA/SCL wiring and pull-ups.
Output stays on / won’t turn off Check for a shorted or overloaded channel that may have tripped the PTC fuse. Power-cycle to reset.
Module not detected by the CPU Power down, reseat the module on the expansion bus, and confirm there is no address conflict with other daisy-chained modules.
Inconsistent switching on multiple modules Confirm each daisy-chained module has a unique I2C address according to the DIP switch table.
TFT display blank or not working Check three settings under Tools: USB CDC On Boot set to Enabled, Flash Size set to 16MB (128Mb), and PSRAM set to QSPI PSRAM.

Support & Resources #

Product Documentation & Datasheets NORVI X-Q16 Datasheet
Product Page Visit NORVI
Firmware Examples & Libraries NORVI X Version 02 GitHub Repository
Technical Support support@norvi.io