MCP47A1 Output

The mcp47a1 output component allows to use 6bit external DACExternal link in order to have analog output(s) on any board by using I²C. Devices default address is 0x2E and configurable alternative is 0x3E.

# Example configuration entry

# Set a global I²C connection
i2c:
  sda: 21
  scl: 22
  scan: true

# Set the output with default (address: 0x2E / global I²C)
output:
  - platform: mcp47a1
    id: dac_output

on_...:
  then:
    - output.set_level:
        id: dac_output
        level: 100%

Configuration variables: Copy link to header

  • id (Required, ID): The id to use for this output component.
  • address (Optional, int): Manually specify the I²C address of the DAC. Defaults to 0x2E.
  • All other options from Output.

See Also Copy link to header

CURRENT