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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@iiot2k/node-red-gpiox

v2.1.3

Published

Node-RED nodes for Raspberry Pi gpio

Downloads

231

Readme

@iiot2k/node-red-gpiox

Node-RED nodes for Raspberry Pi gpio

platform platform

Installation

Install with Node-Red Palette Manager or npm command:

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

View on npm View on Node-Red View used library

Report any issues here with name @iiot2k/node-red-gpiox.

Detail

Node in-gpio reads single 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 out-gpio sets single gpio output.

  • Input message sets gpio output.
  • Output can be set to source, sink or both driven mode.
  • Mode toggle changes output on any node input message.
  • Mode blink blinks on input message period time.

Node pwm-gpio generates pulse wide modulation on gpio output.

  • PWM frequency can be from 1Hz up to 45000Hz.
  • Duty cycle are from 0% to 100%.
  • Duty cycle 0% turns output off, 100% turns output on.
  • PWM pulse is software generated.
  • For better accuracy PWM realtime mode can be set.
  • With input messages, frequency and duty cycle can be changed.
  • With input messages, output can be turn on/off.

Node gpio-cnt high speed up/down gpio input counter.

  • Counts on rising and/or falling edge of gpio input.
  • Counter input can be set as floating, pullup and pulldown resistor.
  • A debounce time can be set for gpio counter input.
  • Counter can be reset with rising and/or falling edge of gpio input.
  • Reset input can be set as floating, pullup and pulldown resistor.
  • A debounce time can be set for gpio counter reset input.
  • When the counter reaches limits, a gpio output is set.
  • Resetting and setting the limit of counter can also be done via node input.
  • On any counter changes, a message is send to node outputs.

This node works on Raspberry Pi with 32bit or 64bit OS. Works also on Raspberry Pi 5.