GPIO & Hardware Nodes
Hardware interface nodes provide direct access to GPIO pins, I2C, SPI, 1-Wire, and serial communication. Perfect for building IoT devices and embedded systems with Raspberry Pi.
gpio-in
Read digital input from GPIO pins. Supports pull-up/pull-down resistors and edge detection.
Configuration
{cfg.key} number GPIO pin number (BCM) {cfg.key} string "up" | "down" | "none" {cfg.key} string "rising" | "falling" | "both" {cfg.key} number Milliseconds to debounce Output Example
{node.details.output} gpio-out
Control digital output on GPIO pins. Set pins high or low, or toggle state.
Configuration
{cfg.key} number GPIO pin number (BCM) {cfg.key} string "high" | "low" {cfg.key} string "set" | "toggle" Output Example
{node.details.output} pwm
PopularGenerate PWM signals for LED dimming, motor speed control, and servo positioning.
Configuration
{cfg.key} number GPIO pin number {cfg.key} number PWM frequency in Hz {cfg.key} number 0-100 percentage {cfg.key} string "pwm" | "servo" Output Example
{node.details.output} i2c
PopularCommunicate with I2C devices like sensors, displays, and expanders.
Configuration
{cfg.key} string Device I2C address (hex) {cfg.key} number I2C bus number (default: 1) {cfg.key} string Register address to read/write {cfg.key} number Bytes to read Output Example
{node.details.output} spi
High-speed SPI communication for displays, ADCs, and flash memory.
Configuration
{cfg.key} number 0 (CE0) or 1 (CE1) {cfg.key} number Clock speed in Hz {cfg.key} number SPI mode (0-3) {cfg.key} number Usually 8 Output Example
{node.details.output} 1-wire
Read data from 1-Wire devices like DS18B20 temperature sensors.
Configuration
{cfg.key} number GPIO pin (default: 4) {cfg.key} string Specific ID or "all" {cfg.key} number 9, 10, 11, or 12 bits {cfg.key} number Polling interval in ms Output Example
{node.details.output} serial
Serial port communication (UART) for GPS modules, displays, and other devices.
Configuration
{cfg.key} string /dev/ttyS0 or /dev/ttyAMA0 {cfg.key} number 9600, 115200, etc. {cfg.key} number 8 {cfg.key} string "none" | "even" | "odd" Output Example
{node.details.output} interrupt
Hardware interrupt handling for time-critical event detection.
Configuration
{cfg.key} number GPIO pin number {cfg.key} string "rising" | "falling" | "both" {cfg.key} number Debounce time in μs {cfg.key} number Max wait time (0 = forever) Output Example
{node.details.output} GPIO Pin Reference
Power Pins
3.3V and 5V power outputs. Never connect 5V to GPIO - it will damage your board.
Digital GPIO
General purpose I/O pins for digital signals. Use BCM numbering (GPIO17, not pin 11).
I2C Bus
GPIO2 (SDA) and GPIO3 (SCL) for I2C devices. Supports 100kHz and 400kHz speeds.
SPI Bus
GPIO10 (MOSI), GPIO9 (MISO), GPIO11 (SCLK). Two chip selects: CE0 and CE1.
More GPIO & Hardware Nodes
relay
Relay module control
servo
Servo motor positioning
motor-l298n
DC motor driver
buzzer
Piezo buzzer control
ws2812
Addressable LED strips
rtc-ds3231
Real-time clock (high precision)
rtc-ds1307
Real-time clock
rtc-pcf8523
Real-time clock (low power)
lcd-i2c
Character LCD display
oled-ssd1306
OLED graphic display
lora-sx1276
LoRa transceiver
nrf24l01
2.4GHz radio transceiver
rfid-rc522
RFID card reader
nfc-pn532
NFC reader/writer
can-mcp2515
CAN bus interface
rf433
433MHz RF transceiver
modbus-gpio
Modbus GPIO bridge
pi-camera
Raspberry Pi camera
audio
Audio playback/recording