Difference between revisions of "IR remote control"

From Banana Pi Wiki
Jump to: navigation, search
(Created page with "=BPI IR remote control= we have test this IR remote control on banana pi .so you can use it control your BPI. ![](IMG_2411.JPG) == key code define== {| class="wikitable" |-...")
(No difference)

Revision as of 20:03, 16 May 2018

BPI IR remote control

we have test this IR remote control on banana pi .so you can use it control your BPI.

![](IMG_2411.JPG)

key code define

IR key code define'
key code: function function
key 22 MUTE WAKE
key 10 POWER WAKE
key 65 APPS WAKE
key 67 SETTINGS WAKE
key 25 HOME WAKE
key 16 DPAD_LEFT WAKE_DROPPED
key 17 DPAD_RIGHT WAKE_DROPPED
key 11 DPAD_UP WAKE_DROPPED
key 14 DPAD_DOWN WAKE_DROPPED
key 13 DPAD_CENTER WAKE_DROPPED
key 64 MOUSE WAKE
key 24 BACK WAKE_DROPPED
key 83 VOLUME_DOWN WAKE
key 91 VOLUME_UP WAKE

How to use

BPI-M2+ keycode:

IR Address: 4040

1.how to do check IR address on Android.

echo 0xff > /sys/module/sunxi_ir_rx/parameters/debug_mask
<7>[ 625.998452] IR code = 0xf20d4040
<7>[ 625.998473] IR RAW CODE : 13
<7>[ 625.998542] IR CODE : 13
<7>[ 625.998629] IR KEY VALE 13
<7>[ 625.998653] ir_rx_irq_service: Rx Packet End, code=0xf20d4040, ir_code=0x
<6>[ 625.998717] cpus_wakeup_config_handler: address: 0x4040, powerkey: 0x0a
<6>[ 626.002717] cpus_wakeup_config_handler: ok

demo IR remote control on youtube:

https://www.youtube.com/watch?v=HhW_G85Byio&feature=youtu.be