Interacting with Raspberry Pi GPIO

There are a few node modules available for interacting with the Pi’s GPIO pins.


This module is preinstalled with Node-RED when using our install script. It provides a simple way to monitor and control the GPIO pins.

Raspberry Pi OS comes preconfigured for this node to work. If you are running a different distribution, such as Ubuntu, some additional install steps may be needed. The node's README has the details.


This module uses the PiGPIOd daemon which offers some more features over the default nodes. For example, the node can be easily configured to do PWM output or drive a Servo.

The module is available here.


This modules supports GPIO across a wide range of device types, using the Johnny-Five library.

The module is available here.