npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-periph-io-expander

v1.6.1

Published

Node-RED nodes for IO expander chips: MCP23008, MCP23017, PCA6408A, PCA6416A, PCA9536, PCA9539, PCF8574, PCF8575, TCA9554, TPIC6B595

Readme

node-red-contrib-periph-io-expander

Node-RED nodes for IO expander chips: MCP23008, MCP23017, PCA6408A, PCA6416A, PCA9536, PCA9539, PCF8574, PCF8575, TCA9554, TPIC6B595 — part of the Periph library.

Supported chips (10): MCP23008, MCP23017, PCA6408A, PCA6416A, PCA9536, PCA9539, PCF8574, PCF8575, TCA9554, TPIC6B595.

Each chip has a sensor/actuator node plus a shared -device config node that holds the bus settings. Importable example flows are in examples/.

Install

Open Node-RED, go to Manage Palette → Install and search for node-red-contrib-periph-io-expander.

Or from the command line in your Node-RED user directory:

npm install node-red-contrib-periph-io-expander

Nodes

| Node | Kind | Description | |------|------|-------------| | mcp23008-device | config | I²C bus and address for a MCP23008 | | mcp23008 | input | Controls and reads an 8-bit MCP23008 (I²C) or MCP23S08 (SPI) I/O expander. Both chips share one register map and one node. | | mcp23017-device | config | I²C bus and address for a MCP23017 | | mcp23017 | input | Controls and reads a 16-bit MCP23017 I/O expander over I²C. | | pca6408a-device | config | I²C bus and address for a PCA6408A | | pca6408a | input | Controls and reads an 8-bit PCA6408A I/O expander (I²C / SMBus, NXP). The chip has no internal pull-ups: inputs need external pull-up resistors. | | pca6416a-device | config | I²C bus and address for a PCA6416A | | pca6416a | input | Controls and reads a 16-bit PCA6416A I/O expander (I²C / SMBus, NXP). The chip has no internal pull-ups: inputs need external pull-up resistors. | | pca9536-device | config | Bus configuration for a PCA9536 | | pca9536 | input | Controls and reads a 4-bit PCA9536 I/O expander (I²C / SMBus, TI). The chip has the fixed address 0x41 , no interrupt pin, and a weak (about 100 kΩ) pull-up that is always on each pin, so an open input reads 1. | | pca9539-device | config | I²C bus and address for a PCA9539 | | pca9539 | input | Controls and reads a 16-bit PCA9539 I/O expander (I²C / SMBus, NXP). The chip has no internal pull-ups: inputs need external pull-up resistors. | | pcf8574-device | config | I²C bus and address for a PCF8574 | | pcf8574 | input | Controls and reads an 8-bit PCF8574 I/O expander over I²C. | | pcf8575-device | config | I²C bus and address for a PCF8575 | | pcf8575 | input | Controls and reads a 16-bit PCF8575 I/O expander over I²C. | | tca9554-device | config | I²C bus and address for a TCA9554 | | tca9554 | input | Controls and reads an 8-bit TCA9554 I/O expander (I²C / SMBus, TI). Every input has a fixed internal 100 kΩ pull-up (always on). | | tpic6b595-device | config | Bus configuration for a TPIC6B595 | | tpic6b595 | input | Drives a Texas Instruments TPIC6B595 8-bit power SIPO shift register (or multiple cascaded devices) through a SiPo (serial-in/parallel-out) connection. SER IN / SRCK may be either an SPI bus (hardware mode) or two plain GPIO lines (software / bit-bang mode); RCK is always a plain GPIO. Optional SRCLR and G lines add shift-register-clear and global output enable (PWM-style dimming). |

Links