ESP32 PINs define of KC868-AG
IR receiver: IO23
IR sender: IO2
433MHz receiver: IO13
433MHz sender: IO22
Buzzer: IO4
LED: IO26,IO27,IO14 (if you want to use , need solder 3 LEDs (0603) on the bottom of PCB by yourself)
free GPIO:
IO19,IO18,IO16,IO33,IO35,IO39
IO13,IO21,IO17,IO32,IO34,IO36
Hi,
I'm having some trouble with the AG unit. I bought 2 of them. When I send IR signal, the unit is getting reset. I suspect lack of power? I'm using the supplied good USB cable.
When I send IR, the PC will ding-dong like someone pull the usb cable. Then it will recognize the usb again a while later. Sometimes the board reboot, sometimes it's not rebooting.
unfortunately, when I tested on second board, it's stop to recognize the board now. I have only 1 working unit.
I am trying with a stronger power supply. Please advise what is the power supply I need for this.
I purchased these on 14th Feb 2025. Order number is 8198010352889552 on Kincony Offical Store on Aliexpress.
I'm using Arduino IDE to code.
#define IR_RECEIVER_PIN 13 // GPIO 27 where RF receiver is connected
#define IR_LED_PIN 2 // GPIO 27 where RF receiver is connected
#include <IRremoteESP8266.h>
#include <IRsend.h>
#include <ir_Daikin.h>
#include <ir_Panasonic.h> // Panasonic IR
#include <ir_Midea.h> // Midea IR
#include <ir_Samsung.h> // Samsung IR
// Initialize AC objects
IRDaikinESP daikin(IR_LED_PIN);
IRPanasonicAc panasonic(IR_LED_PIN);
IRMideaAC midea(IR_LED_PIN);
IRSamsungAc samsung(IR_LED_PIN);
I can see the IR LED using mobile phone camera. once they are light up, the unit will drop USB connection, sometime reboot.
you can download KCS v2 firmware to test, learn IR and send IR. if KCS firmware no problem, check your arduino code.
i have the v2 firmware. i will test and check. if still getting disconnect, then it's likely the issue with power supply. i hope so

I tested with V2 firmware. can learn IR signal. when i transmit, same thing happens. the com port dropps out, then it comes back. I'm using USB2.0 com port on laptop.
Hi, i tested with v2 firmware. I can learn new IR signal, when I transmitthe signal, the com port is dropping out. same issue as my own firmware.
what power supply you are using? suggest use 5V 1A power supply, i suggest you change another power supply to test.
Hi, I have got a strong power supply. the unit seems to be stable now. Thank you so much.
please advise how to check the second unit which is not getting com port. When I plug to computer USB port, it's getting USB DEVICE NOT RECOGNIZED. it was working for 1-2hrs before suddenly like this.