2.1.0 • Published 4 days ago

@iiot2k/node-red-mcp3424 v2.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 days ago

@iiot2k/node-red-mcp3424

platform platform

Node-Red node for mcp3424 analog to digital converter.

Installation

Install with Node-Red Palette Manager or npm command:

cd ~/.node-red
npm install @iiot2k/node-red-mcp3424

View on npm View on Node-Red View used library

Report any issues here

mcp3424 18bit analog to digital converter

  • 12..18bit Conversion Resolution.
  • Four Analog Inputs.
  • Internal Voltage Reference.
  • Internal Oscillator.
  • Programmable Resolution with Data Rate 3.75 SPS (18bits) to 240 SPS (12bits).
  • The PGA offers input ranges from ±256 mV to ±2048 V.
  • I2C Interface with eight Pin-Selectable Addresses.
  • Works also for mcp3421..mcp3428.

Detail

Node mcp3424 reads single adc input. Node mcp3424-m reads multiple adc inputs.

  • This node works on Raspberry Pi with 32bit or 64bit OS.
  • The output value is mV or adc raw data.
  • Enable I2C with raspi-config.
  • In this case i2c-1 is enabled (port=1).
  • If you use i2c-0 port add dtparam=i2c_vc=on to /boot/config.txt, then Pin27=SDA, Pin28=SCK.
  • For other ports add this to /boot/config.txt.

Address Pin Connection

I2C AddressADR0 PinADR1 Pin
68HOpenOpen
68HGNDGND
69HGNDOpen
6AHGNDVCC
6BHVCCGND
6CHVCCOpen
6DHVCCVCC
6EHOpenGND
6FHOpenVCC

Supported Devices

Type# ChannelMax. Resol.Address-Range
mcp3421118bit68H
mcp3422218bit68H
mcp3423218bit68H-6FH
mcp3424418bit68H-6FH
mcp3425116bit68H
mcp3426216bit68H
mcp3427216bit68H-6FH
mcp3428416bit68H-6FH