Posts: 7,601
Threads: 920
Joined: Oct 2020
Reputation:
190
01-26-2022, 05:00 AM
(This post was last modified: 03-11-2022, 06:30 AM by admin.)
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
Posts: 12
Threads: 1
Joined: Sep 2024
Reputation:
0
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.
Posts: 7,601
Threads: 920
Joined: Oct 2020
Reputation:
190
you can download KCS v2 firmware to test, learn IR and send IR. if KCS firmware no problem, check your arduino code.
Posts: 12
Threads: 1
Joined: Sep 2024
Reputation:
0
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.
Posts: 12
Threads: 1
Joined: Sep 2024
Reputation:
0
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.
Posts: 7,601
Threads: 920
Joined: Oct 2020
Reputation:
190
what power supply you are using? suggest use 5V 1A power supply, i suggest you change another power supply to test.
Posts: 12
Threads: 1
Joined: Sep 2024
Reputation:
0
03-16-2025, 11:41 AM
(This post was last modified: 03-16-2025, 11:44 AM by powerup.)
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.
Posts: 7,601
Threads: 920
Joined: Oct 2020
Reputation:
190
can you change with a high quality usb cable? or test with another computer?
Posts: 12
Threads: 1
Joined: Sep 2024
Reputation:
0
hi, no luck. i have two units.
#1 is not getting com port when connecting.
#2 is OK.
I tried different USB cable, same result.