Posts: 6,686
Threads: 844
Joined: Oct 2020
Reputation:
162
11-10-2021, 02:17 AM
(This post was last modified: 11-29-2021, 01:37 AM by admin.)
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:
Posts: 3
Threads: 0
Joined: Nov 2022
Reputation:
0
Hi Admins,
I use KC868-A4 with esphome.
I have problem with DAC output, in my case is to low. Max i have 9.45V. But i need 9.8V minimum. What i can do in my problem
Posts: 6,686
Threads: 844
Joined: Oct 2020
Reputation:
162
what's your power supply voltage?
Posts: 3
Threads: 0
Joined: Nov 2022
Reputation:
0
So any idea? Why can't get 10V ?
On your video about DAC is 9,5V. It's max?
Posts: 6,686
Threads: 844
Joined: Oct 2020
Reputation:
162
1. you can check your PCB 3.3v Vcc pin whether is well. whether it's 3.3v value.
now R37,R38,R47,R49 all are 10K resistance.
if use 20K resistance , MAX DAC voltage should be: 3.3v * (1 + 20K/10K) = 9.9V
2. if Vcc is 3.3v work well , you can try to replace 20K resistance to 22K for a test. it should be output MAX 10.05V
Posts: 6,686
Threads: 844
Joined: Oct 2020
Reputation:
162
Which is one the Vcc pin? that is 5V , see text on the PCB.
And where i should put the 20k or 22k resistance? R37,R38,R47,R49
Posts: 1
Threads: 0
Joined: Aug 2023
Reputation:
0
08-12-2023, 06:19 PM
(This post was last modified: 08-12-2023, 06:20 PM by rtoivo.)
I'm using node red in home assistant.
I have tried several various ways to control DAC (percentage value) from node red without success.
Output is working fine in lovelace.
Could you show an example how control should be done in node red?
Posts: 6,686
Threads: 844
Joined: Oct 2020
Reputation:
162
which board you are using? if use KC868-A4 board, i think you can download "KCS" v2 firmware, then integrate to Node-Red by MQTT.