2.0.1 • Published 1 year ago

node-red-contrib-iiot-rpi-mcp342x v2.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

node-red-contrib-iiot-rpi-mcp342x

platform platform NPM version NPM Donate

A Node-Red node for mcp342x analog to digital converter.

image info

Example MCP3424 hat from AB Electronics UK

image info

Example MCP3421 module

Supported Devices

TypeChannelResol.Address
mcp3421118bit68H
mcp3422218bit68H
mcp3423218bit68H-6FH
mcp3424418bit68H-6FH
mcp3425116bit68H
mcp3426216bit68H
mcp3427216bit68H-6FH
mcp3428416bit68H-6FH

Installation

Install with Node-Red Palette Manager or npm command:

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

Nodes

  • mcp342x: Sends adc inputs as number array.
  • mcp342x-m: Sends adc inputs as number on each multiple outputs.

Usage

  • Read is triggered on cycle.
  • To prevents locks only one node is allowed per i2c address.
  • Input voltage more than VCC can damage adc input.
  • The output values are mV or adc raw data.
  • This node works on Raspberry Pi with 32bit or 64bit OS.
  • Enable I2C with raspi-config.

Array Index

InputArray-Index
CH10
CH21
CH32
CH43

CHANGELOG