Interfacing IR Receiver to SigmaDSP GPIO
Hello,
With nothing concrete coming from AD on adding the IR library, I am opening this topic for discussion to all:
How best can we interface the IR receiver (with or without a de-modulator) using the existing library resources?
In the simplest case, let us take only three commands: Vol+, Vol- and MUTE. To make it further simple, let us assume that we previously know the incoming codes for these three commands.
Can we then interface an IR receiver with de-modulator (that will filter out the carrier) to a GPIO line configured as digital input and connect this to three state-machines where the incoming signal will be compares against a stored (pre-programmed) value to do a Vol+, Vol- or MUTE?
Any other thoughts?
Thanks in advance!!
You could probably find a way to do this but it would be a real big hack, and probably consume way more resources than it should. But hey, if you have the capacity, why not.
Off the top of my head, I'd synthesize a clock signal that corresponded to the (demodulated) IR frequency, then use logic operations to extract bit information, then compare it with expected commands (and system code, etc.) Perhaps you can just time the high/low signals to extract bits and match to your template.
Either way, expect a hugely complicated program! I can't think of a clever or efficient way to do this.
If it were me, I'd just add a $0.50 microcontroller. Spend a little more and you can use it to program the sigma as well, instead of an EEPROM, since you need that anyway.
This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.
Thank you,
EZ Admin
Please log in to reply.