node-red-contrib-node-iriv 1.0.4

Basic Node-RED node for IRIV

npm install node-red-contrib-node-iriv

node-iriv

A set of Node-RED nodes that is able to be used by the IRIV hardware to output digital signals and read digital and analog signals.

Installation

npm i node-red-contrib-node-iriv

Common Usage

This package of nodes includes 6 types of nodes, which are IRIV Buzzer, IRIV LED, IRIV Out Pin, IRIV User Button, IRIV In Pin ans IRIV Analog In.

Digital Output Nodes

The digital ouput nodes are nodes that gives out digital output with either 0 or 1 (or true or false).

IRIV Buzzer

When the output is 0 or false, the buzzer will not sound. When the output is 1 or true, the buzzer will produce a 'beep' sound.

IRIV LED

User can choose between LED0 and LED1. When the output is 0 or false, the chosen LED will not light up. When the output is 1 or true, the chosen LED will light up.

IRIV Out Pin

User can choose between the pins DO0, DO1, DO2 and DO3. The output will be sent to the device that are connected to the corresponding output pins.

Digital Input Nodes

The digital input nodes are nodes that will read the state of the pins that are selected and generates a msg.payload with either 0 or 1 depending on the state of the pins.

IRIV User Button

When selected, the node will read the state of the user button.

IRIV In Pin

User can choose between the pins DI0, DI1, DI2 and DI3. When selected, the node will read the state of the selected pin.

Analog Input Nodes

The analog input node is named as IRIV Analog In. This node converts the analog data from the pin to digital data using a ADS1115 I2C analog to digital converter. User can choose between the pins AN0, AN1, AN2 and AN3.

Node Info

Version: 1.0.4
Updated 11 months ago
License: ISC
Rating: not yet rated

Categories

Actions

Rate:

Downloads

0 in the last week

Nodes

  • IRIV Buzzer
  • IRIV LED
  • IRIV Out Pin
  • IRIV User Button
  • IRIV In Pin
  • IRIV Analog In

Keywords

  • node-red

Maintainers