![]() |
KC868-AG ESP32 I/O pin define - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-AG / AG Pro / AG8 (https://www.kincony.com/forum/forumdisplay.php?fid=30) +--- Thread: KC868-AG ESP32 I/O pin define (/showthread.php?tid=1667) Pages:
1
2
|
KC868-AG ESP32 I/O pin define - admin - 01-26-2022 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 RE: KC868-AG ESP32 I/O pin define - powerup - 03-15-2025 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. RE: KC868-AG ESP32 I/O pin define - admin - 03-15-2025 you can download KCS v2 firmware to test, learn IR and send IR. if KCS firmware no problem, check your arduino code. RE: KC868-AG ESP32 I/O pin define - powerup - 03-15-2025 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 ![]() RE: KC868-AG ESP32 I/O pin define - powerup - 03-16-2025 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. RE: KC868-AG ESP32 I/O pin define - powerup - 03-16-2025 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. RE: KC868-AG ESP32 I/O pin define - admin - 03-16-2025 what power supply you are using? suggest use 5V 1A power supply, i suggest you change another power supply to test. RE: KC868-AG ESP32 I/O pin define - powerup - 03-16-2025 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. RE: KC868-AG ESP32 I/O pin define - admin - 03-17-2025 can you change with a high quality usb cable? or test with another computer? RE: KC868-AG ESP32 I/O pin define - powerup - 03-17-2025 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. |