Same as pcDuino v2, we can use an external infrared receiver that is connected to GPIO of pcDuino3 to receive the infrared signal. Moreover, pcDuino3 has built-in infrared receiver. There two infrared receivers need different drivers to operate.
Test the built-in infrared receiver:
After load the proper driver, type “$ sudo cat /proc/kmsg | grep “ir_code” ” at the terminal ,we can get the value of the key on the remote control being pressed:
Test external infrared receiver:
We connect the external infrared receiver to D8 pin of pcDuino3, then we load the proper driver.
When we press the key on the remote control, pcDuino3 will print the corresponding key value at the terminal.