node-red-contrib-redplc-rpi-pcf8574

Node-Red node for pcf8574/a

Usage no npm install needed!

<script type="module">
  import nodeRedContribRedplcRpiPcf8574 from 'https://cdn.skypack.dev/node-red-contrib-redplc-rpi-pcf8574';
</script>

README

node-red-contrib-redplc-rpi-pcf8574

Node-Red node for pcf8574/pcf8574a 8bit I/O Expander

Node Features

  • 8 x Digital Inputs or Digital Outputs
  • Inputs with Pullup
  • Outputs are Active Low
  • Eight selectable Device Addresses for pcf8574
  • Eight selectable Device Addresses for pcf8574a

Install

For using with Ladder-Logic install redPlc nodes

For using with other nodes, install module nodes

Install with Node-Red Palette Manager or npm command:

cd ~/.node-red
npm install node-red-contrib-redplc-rpi-pcf8574

Usage

This node reads/writes from/to Node-Red global variables
Update is triggered by redPlc cpu node or module-update node
This node works only on Raspberry Pi with Raspberry Pi OS
Enable I2C with raspi-config.
Consult datasheet for absolute maximum ratings

Digital Input (Variable I):

Digital Output (Variable Q):

Pin Bit
P0 0
P1 1
P2 2
P3 3
P4 4
P5 5
P6 6
P7 7

Donate

If you like my work please support it with donate:

Donate