How to use IR emitter on GPIO of K868AG ?? - 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: How to use IR emitter on GPIO of K868AG ?? (/showthread.php?tid=1883) |
How to use IR emitter on GPIO of K868AG ?? - vincen - 05-01-2022 Hi I'm using a K868-AG without problems to control a TV using the internal IR emitter LEDs. I want to use the GPIO avalaible on the board to wire additional IR emitters to control few other devices. I have been careful of IR LED polarity. I have wired it between GPIO (positive side) and GND (negative side). I have also tried to add 200ohm resistor but same, it doesn't control device ! I'm sure of my ESP code as it works fine if I change code to use GPIO wired at internal LEDs ! I have tried GPIO14 with resistor and GPIO21 without but same result, not working Any ideas what's wrong ? Thanks, Vincèn RE: How to use IR emitter on GPIO of K868AG ?? - admin - 05-02-2022 there are some GPIOs on the KC868-AG PCB board. you will see text on the pcb, some are "IOxx", some are "Ixx" . "IOxx" means the pin you can use for "input" and "ouptut", if "Ixx" only use for "input" , not for "output". so make sure you have using the "IOxx" for IR extend, because IR signal is "output" type. RE: How to use IR emitter on GPIO of K868AG ?? - admin - 05-02-2022 RE: How to use IR emitter on GPIO of K868AG ?? - vincen - 05-02-2022 (05-02-2022, 12:45 AM)admin Wrote: there are some GPIOs on the KC868-AG PCB board. you will see text on the pcb, some are "IOxx", some are "Ixx" . "IOxx" means the pin you can use for "input" and "ouptut", if "Ixx" only use for "input" , not for "output". Thanks it's what I did ! I tried the GPIO 14 and the 21 but no success ! How would you wire the IR emitter on the GPIO ? I have respected the polarity of LED and tried between 3.3V and GPIO, and also between GND and GPIO but LED never lights RE: How to use IR emitter on GPIO of K868AG ?? - admin - 05-02-2022 you can wire as this schematic: https://www.kincony.com/download/KC868-AG-schematic.pdf RE: How to use IR emitter on GPIO of K868AG ?? - vincen - 05-02-2022 (05-02-2022, 06:20 AM)admin Wrote: you can wire as this schematic: https://www.kincony.com/download/KC868-AG-schematic.pdf Thanks for the schematic Looks like it's more complicated than I expected as I would need a transistor and few resistors to wire my IR emitters properly on the board RE: How to use IR emitter on GPIO of K868AG ?? - admin - 05-02-2022 yes, must need transistor. |