@moddable-node-red/mcu 1.0.3

A suite of IO nodes for Node-RED MCU Edition

npm install @moddable-node-red/mcu

Copyright 2022-2023, Moddable Tech, Inc. All rights reserved.
Peter Hoddie
Updated April 30, 2023

The MCU Nodes are a suite of nodes that provides access to features of microcontrollers including various I/O methods, Neopixels light strips, real-time clocks, and sensors. Each node includes built-in documentation describing their inputs, outputs, and configuration options.

The following nodes are included in the MCU Node suite:

  • Analog
  • Digital Input
  • Digital Output
  • Real-time Clock
  • I²C Read
  • I²C Write
  • Neopixels
  • Pulse Count
  • Pulse Width Input
  • PWM Output
  • Sensor

The MCU Nodes appear in the MCU section of the Node-RED Editor's palette.

Here's a flow using Sensor node to log periodic readings from a temperature sensor to the debug console.

Nearly all the MCU nodes are implemented using the ECMA-419 standard, the ECMAScript embedded systems API specification. This provides a rich set of features that run on a variety of microcontrollers. No knowledge of ECMA-419 is required to use the MCU nodes.

Note: Node-RED MCU Edition also provides limited support for some Raspberry Pi I/O modules, including rpi-gpio, rpi-neopixels, and rpi-i2c. These are provided for projects that need to run on both MCUs and Raspberry Pi. They are implemented using the MCU Nodes. For projects intended to be used only with Node-RED MCU Edition, the MCU Nodes are preferred.

Node Info

Version: 1.0.3
Updated 1 year, 1 month ago
License: LGPL-3.0-or-later
Rating: not yet rated

Actions

Rate:

Downloads

4 in the last week

Nodes

  • mcu_analog
  • mcu_clock
  • mcu_digital_in
  • mcu_digital_out
  • mcu_i2c_in
  • mcu_i2c_out
  • mcu_neopixels
  • mcu_pulse_count
  • mcu_pulse_width
  • mcu_pwm_out
  • sensor

Keywords

  • mcu
  • node-red
  • node-red-mcu
  • ECMA-419
  • IO
  • Analog
  • Digital
  • I2C
  • NeoPixels
  • PulseCount
  • PulseWidth
  • PWM
  • RTC
  • Clock
  • Sensor

Maintainers