Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-AG ESP32 I/O pin define
#1
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
Reply
#2
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.
Reply
#3
you can download KCS v2 firmware to test, learn IR and send IR. if KCS firmware no problem, check your arduino code.
Reply
#4
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 Smile
Reply
#5
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.
Reply
#6
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.
Reply
#7
what power supply you are using? suggest use 5V 1A power supply, i suggest you change another power supply to test.
Reply
#8
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.
Reply
#9
can you change with a high quality usb cable? or test with another computer?
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)