1.0.14 • Published 4 months ago

@edgepi-cloud/node-red-edgepi-dac v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

node-red-edgepi-dac

EdgePi DAC node

EdgePi DAC node that reads/writes voltage to a given output channel.

Install

Install normally through the node-red editor or install with npm in your node-red directory (typically located at ~/node.red) by running the following command:

npm install @edgepi-cloud/node-red-edgepi-digital-dac

Properties

  • RPC Server The connection to your EdgePi's RPC Server.
  • Channel The channel for analogue output read/write.
  • Gain Enable/ disable internal DAC gain. Gain enabled allows for a larger output voltage for a given input voltage but reduces accuracy.
  • Output voltage number The amount of voltage to write to a selected channel. Range is 0-5 for gain off and 0-10 for gain on.

Inputs

  • payload number: The voltage to write.
  • gain boolean: 'false' for gain disabled (off), 'true' for gain enabled (on).
  • channel number:

Example input:

msg {
  "payload": 2.5,
  "gain": false,
  "channel": 7
}

Outputs

  • payload number Voltage written to the selected channel.
1.0.14

4 months ago

1.0.13

4 months ago

1.0.9

5 months ago

1.0.11

5 months ago

1.0.10

5 months ago

1.0.12

5 months ago

1.0.8

5 months ago

1.0.6

7 months ago

1.0.4

8 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago