1.0.21 • Published 2 years ago
node-red-contrib-iiot-rpi-mcp4728 v1.0.21
node-red-contrib-iiot-rpi-mcp4728
A Node-Red node for mcp4728 12bit digital to analog converter
Example MCP4728 module from adafruit
Output Ranges
- 4 output channel
- Internal Ref. Output 2048mV/4095
- Internal Ref. Output 4096mV/4095
- External Ref. Output VDD/4095
Installation
Install with Node-Red Palette Manager or npm command:
cd ~/.node-red
npm install node-red-contrib-iiot-rpi-mcp4728
Usage
- This node works on Raspberry Pi with 32bit or 64bit OS.
- Enable I2C with raspi-config.
- For multi node, payload is a number array.
Array Index on Multi Node
Input | Array-Index |
---|---|
CH-A | 0 |
CH-B | 1 |
CH-C | 2 |
CH-D | 3 |