MCP47A1 Output

The mcp47a1 output component allows to use 6bit external DAC 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:

  • 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