diff --git a/components/output/mcp47a1.rst b/components/output/mcp47a1.rst new file mode 100644 index 000000000..95ad96964 --- /dev/null +++ b/components/output/mcp47a1.rst @@ -0,0 +1,48 @@ +MCP47A1 Output +============== + +.. seo:: + :description: Instructions for setting up MCP47A1 outputs on the ESP. + :image: mcp47a1.svg + +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``. + +.. code-block:: yaml + + # 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**, :ref:`config-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 :ref:`Output `. + +See Also +-------- + +- :doc:`/components/output/mcp4725` +- :doc:`/components/output/esp32_dac` +- :doc:`/components/output/esp8266_pwm` +- :ghedit:`Edit` diff --git a/images/mcp47a1.svg b/images/mcp47a1.svg new file mode 100644 index 000000000..2cc84e856 --- /dev/null +++ b/images/mcp47a1.svg @@ -0,0 +1,47 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/index.rst b/index.rst index f68cf6e00..3a658d0bb 100644 --- a/index.rst +++ b/index.rst @@ -271,7 +271,7 @@ Environmental BME680 via BSEC, components/sensor/bme680_bsec, bme680.jpg, Temperature & Humidity & Pressure & Gas BMP085, components/sensor/bmp085, bmp180.jpg, Temperature & Pressure BMP280, components/sensor/bmp280, bmp280.jpg, Temperature & Pressure - BMP388 and BMP390, components/sensor/bmp3xx, bmp388.jpg, Temperature & Pressure + BMP388 and BMP390, components/sensor/bmp3xx, bmp388.jpg, Temperature & Pressure b-parasite, components/sensor/b_parasite, b_parasite.jpg, Moisture & Temperature & Humidity & Light Dallas DS18B20, components/sensor/dallas, dallas.jpg, Temperature DHT, components/sensor/dht, dht.jpg, Temperature & Humidity @@ -409,6 +409,7 @@ Output Components SM16716, components/output/sm16716, sm16716.svg SM2135, components/output/sm2135, sm2135.svg MCP4725, components/output/mcp4725, mcp4725.jpg + MCP47A1, components/output/mcp47a1, mcp47a1.svg BLE Binary Output, components/output/ble_client, bluetooth.svg Modbus Output, components/output/modbus_controller, modbus.png Custom Output, components/output/custom, language-cpp.svg