Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson23- How to connect RGB LED strip using ESP32 by KC868-A4 A8
#11
yes, driver is right. But you can use KC868-A32, need to use KC868-AP or KC868-D16 dimmer controller work with driver.
Reply
#12
I was trying to do the same as the video with A32, but I'm not sure if I can use the analog inputs. I get this error when configuring the yaml:

GPIO34 (34-39) does not support output pin mode.

Can this be done with this board? Which pin should I use?
Reply
#13
which board model you are using?
Reply
#14
(10-01-2024, 05:39 AM)admin Wrote: which board model you are using?

KC-868-A32 rev 1.4
Reply
#15
KC868-A32 use these GPIOs for analog input:
#define ANALOG_A1 GPIO39
#define ANALOG_A2 GPIO34
#define ANALOG_A3 GPIO36
#define ANALOG_A4 GPIO35
maybe you have not select correct ESP32 model.
Reply
#16
(10-01-2024, 06:55 AM)admin Wrote: KC868-A32 use these GPIOs for analog input:
#define ANALOG_A1  GPIO39
#define ANALOG_A2  GPIO34
#define ANALOG_A3  GPIO36
#define ANALOG_A4  GPIO35
maybe you have not select correct ESP32 model.

Here's my yaml config:

Code:
esphome:
  name: "kc868-a32"
  platform: ESP32
  board: esp32dev

light:
  - platform: fastled_clockless
    chipset: WS2811
    pin: 39
    num_leds: 30
    rgb_order: GRB
    name: "light_strip"

The error is at "pin: 39" => GPIO39 (34-39) does not support output pin mode.

But I guess the error makes sense, if these pins are for analog input, can they be used to send data?
Reply
#17
these pins only use for INPUT, can't use for LED strip or any OUTPUT function.
Reply
#18
(10-01-2024, 08:30 AM)admin Wrote: these pins only use for INPUT, can't use for LED strip or any OUTPUT function.

Then I guess I can't control led strips this way with A32, no?
Reply
#19
KC868-A32 have a serial port extend on PCB beside ESP32 module. if you don't need to use it. you can use these two pins for LED strip.
Reply


Forum Jump:


Users browsing this thread: