Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

node-red-contrib-iiot-rpi-gpio

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

node-red-contrib-iiot-rpi-gpio

A Node-Red node for gpio

unpublished
latest
Source
npmnpm
Version
1.0.26
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

node-red-contrib-iiot-rpi-gpio

platform platform NPM version NPM Donate

A Node-Red node for Raspberry Pi gpio

Installation

Install with Node-Red Palette Manager or npm command:

cd ~/.node-red
npm install node-red-contrib-iiot-rpi-gpio

Nodes

  • gpio-in: Reads GPIO input.
  • gpio-out: Sets GPIO output.
  • gpio-pwm: Generate pwm on GPIO output.
  • gpio-cnt: Counts GPIO input pulse.
  • gpio-enc: Counts rotary encoder pulse.
  • gpio-kbd: Reads 4x4 keypad.

Usage

  • This node works on Raspberry Pi with 32bit or 64bit OS.
  • No additional library needed.
  • For open inputs, select pull down/up resistors.
  • Max. GPIO input voltage is +3.3V.
  • Max. GPIO output current is 16mA.
  • Check with raspi-config for alternate functions on GPIO.
  • For more accurate pwm and servo use PCA9685 node.

Connecting KY-040 rotary encoder

image info

Connecting 4x4 keypad

image info

GPIO Mapping

Alt. Funct.Funct.PinPinFunct.Alt. Funct.
3V3125V
I2C1 SDAGPIO02345V
I2C1 SCLGPIO0356GND
GPIO0478GPIO14UART TX
GND910GPIO15UART RX
GPIO171112GPIO18
GPIO271314GND
GPIO221516GPIO23
3V31718GPIO24
SPI0 MOSIGPIO101920GND
SPI0 MISOGPIO092122GPIO25
SPI0 SCLKGPIO112324GPIO08SPI0 CS0
GND2526GPIO07SPI0 CS1
--2728--
GPIO052930GND
GPIO063132GPIO12
GPIO133334GND
SPI1 MISOGPIO193536GPIO16SPI1 CS0
GPIO263738GPIO20SPI1 MOSI
GND3940GPIO21SPI1 MISO

CHANGELOG

Keywords

node-red

FAQs

Package last updated on 23 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts