03-15-2025, 11:41 AM
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.
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.