Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson28- How to use KC868-A4 (ESP32) DAC output DC 0-10V by ESPHome
#1

esphome:
  name: kc868-a4
  platform: ESP32
  board: esp32dev
 
output:
  - platform: esp32_dac
    pin: GPIO25
    id: dac_output2
  - platform: esp32_dac
    pin: GPIO26
    id: dac_output1

light:
  - platform: monochromatic
    output: dac_output1
    name: "KC868-A4-DAC1"
    gamma_correct: 2
    id: dac_light1
  - platform: monochromatic
    output: dac_output2
    name: "KC868-A4-DAC2"
    id: dac_light2

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "3b853165e19b67ba8193c59fe59f21a7"

wifi:
  ssid: "KinCony"
  password: "a12345678"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Kc868-A4 Fallback Hotspot"
    password: "RgIGz8qo4bVC"

captive_portal:
Reply


Messages In This Thread
Lesson28- How to use KC868-A4 (ESP32) DAC output DC 0-10V by ESPHome - by admin - 11-10-2021, 02:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)