I have a quick question. Would it be possible to create an app or add via firmware the ability to create a custom ir signal? For example if you need the ir to send out a strobe of 10 flashes .05 seconds apart at 11hz? I am working on a project that would be greatly improved if I can add the ability to control various functions via. IR.
(AFAIK:)
If you look at the schematic, the output LEDs are hooked directly to the micro, not a mystery dedicated âtransceiverâ chip, aside from the TSOP for input.
So that means, for output (again AFAIK, unless I missed something important this was quick research) the chip âsimplyâ is a. creating a 38Khz carrier wave and then b. pulsing that wave on the order of milliseconds.
How itâs done is in the firmware source somewhere. Iâve done it in AVR-land before, similarly. Sometimes the 38Khz part is done by setting a hardware PWM, and then turning that on and off in the ms pulses for the encoding. Getting a good timer is usually key to timing ms accurately, spin loops can be finicky and unreliable (particularly in a multi-tasking OS such as this). Sorry I donât have more specifics, I havenât tracked down the exact answer to âhow itâs done in the firmwareâ just yet myself.
Beyond that creating your own custom IR protocol isnât horrible work - if you grab a TSOPâŠ381 I think (https://www.vishay.com/docs/81743/tsop381.pdf , theyâre relatively inexpensive) you can test that things are working on a receiving 38Khz end.