@iiot2k/node-red-gpio

3.0.2 • Public • Published

@iiot2k/node-red-gpio

Node-RED nodes for Raspberry Pi gpio

Installation

This node works only on Raspberry Pi with 64bit OS.
Install with Node-Red Palette Manager or npm command:

cd ~/.node-red
npm install @iiot2k/node-red-gpio

Update with npm command (recommended):

cd ~/.node-red
npm update @iiot2k/gpiox
npm update @iiot2k/gpiomon
npm update @iiot2k/node-red-gpio

For other libraries and raise a issue: https://github.com/iiot2k/iiot2k
Version changes are in the file CHANGELOG.md

Detail

Node gpio-in monitor gpio input.

  • Watch rising and/or falling edge of gpio input.
  • On any gpio input changes, a message is send to node output.
  • Gpio input can be set as floating, pullup and pulldown resistor.
  • A debounce time can be set for gpio input.

Node gpio-out sets gpio output.

  • Output can be set to source, sink or both driven mode.
  • Input message controls mode.
  • Mode set output.
  • Mode toggle output.
  • Mode blink output.
  • Mode pulse output.
  • Mode pwm output.

Package Sidebar

Install

npm i @iiot2k/node-red-gpio

Weekly Downloads

77

Version

3.0.2

License

Apache-2.0

Unpacked Size

32.8 kB

Total Files

9

Last publish

Collaborators

  • iiot2k