Android Box Remote

Everything related to protocols and IR codes
Post Reply
tramanah
Posts: 7
Joined: Wed Jun 05, 2019 3:47 am

Android Box Remote

Post by tramanah » Tue Jun 18, 2019 7:13 am

Hi, I did testing with Andriod Remote control. The data capture and attached. The Checksum Results matches XOR after @End 1bytes ignored.
Thanks for this wonderful application. I am pretty sure on my receiving data now.

Please do assist me on how to send this data.

File -> Batch Export -> IRremote

Code: Select all

/*
Automatically Generated by AnalysIR - Batch Export Utility
Registered to: ramatito@marattech.com
Session History: Session History
Type : Key : Value : Bits : Carrier Frequency (kHz)
0 : NEC : Menu : 10EF05FA : 32 : 0
1 : NEC : Home : 10EF46B9 : 32 : 0
2 : NEC : VOL- : 10EF13EC : 32 : 0
3 : NEC : VOL+ : 10EF17E8 : 32 : 0
4 : NEC : 9 : 10EF0DF2 : 32 : 0
5 : NEC : 8 : 10EF4EB1 : 32 : 0
6 : NEC : 7 : 10EF0FF0 : 32 : 0
7 : NEC : 6 : 10EF11EE : 32 : 0
8 : NEC : 5 : 10EF4AB5 : 32 : 0
9 : NEC : 4 : 10EF4CB3 : 32 : 0
10 : NEC : 3 : 10EF10EF : 32 : 0
11 : NEC : 2 : 10EF52AD : 32 : 0
12 : NEC : 1 : 10EF50AF : 32 : 0
13 : NEC : on/off : 10EF5DA2 : 32 : 0
14 : NEC : Menu : 10EF05FA : 32 : 0
15 : NEC : Home : 10EF46B9 : 32 : 0
16 : NEC : VOL- : 10EF13EC : 32 : 0
17 : NEC : VOL+ : 10EF17E8 : 32 : 0
18 : NEC : Down : 10EF55AA : 32 : 0
19 : NEC : Up : 10EF45BA : 32 : 0
20 : NEC : -> : 10EF01FE : 32 : 0
21 : NEC : <- : 10EF07F8 : 32 : 0
22 : NEC : 9 : 10EF0DF2 : 32 : 0
23 : NEC : 8 : 10EF4EB1 : 32 : 0
24 : NEC : 7 : 10EF0FF0 : 32 : 0
25 : NEC : 6 : 10EF11EE : 32 : 0
26 : NEC : 5 : 10EF4AB5 : 32 : 0
27 : NEC : 4 : 10EF4CB3 : 32 : 0
28 : NEC : 3 : 10EF10EF : 32 : 0
29 : NEC : 2 : 10EF52AD : 32 : 0
30 : NEC : 1 : 10EF50AF : 32 : 0
31 : NEC : on/off : 10EF5DA2 : 32 : 0
32 : NEC : on/off : 10EF5DA2 : 32 : 0
33 : NEC : on/off : 10EF5DA2 : 32 : 0
34 : NEC : on/off : 10EF5DA2 : 32 : 0
35 : NEC : on/off : 10EF5DA2 : 32 : 0
Note: Be sure to use the correct Carrier frequency, for each individual signal, as(or if) indicated above
*/

// NB: Not all protocols are supported by IRremote or IRLib. You may need to edit the code below manually
// Automatically Generated by AnalysIR for ramatito@marattech.com, visit https://www.AnalysIR.com/ or email info@....... for further details
int khz=38; //NB Change this default value as neccessary to the correct carrier frequency
irsend.sendNEC(0x10EF05FA, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  Menu
irsend.sendNEC(0x10EF46B9, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  Home
irsend.sendNEC(0x10EF13EC, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  VOL-
irsend.sendNEC(0x10EF17E8, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  VOL+
irsend.sendNEC(0x10EF0DF2, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  9
irsend.sendNEC(0x10EF4EB1, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  8
irsend.sendNEC(0x10EF0FF0, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  7
irsend.sendNEC(0x10EF11EE, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  6
irsend.sendNEC(0x10EF4AB5, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  5
irsend.sendNEC(0x10EF4CB3, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  4
irsend.sendNEC(0x10EF10EF, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  3
irsend.sendNEC(0x10EF52AD, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  2
irsend.sendNEC(0x10EF50AF, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  1
irsend.sendNEC(0x10EF5DA2, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  on/off
irsend.sendNEC(0x10EF13EC, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  VOL-
irsend.sendNEC(0x10EF17E8, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  VOL+
irsend.sendNEC(0x10EF55AA, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  Down
irsend.sendNEC(0x10EF45BA, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  Up
irsend.sendNEC(0x10EF01FE, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  ->
irsend.sendNEC(0x10EF07F8, 32); //AnalysIR Batch Export (IRremote) // AnalysIR IR Protocol: NEC, Key:  <-

You do not have the required permissions to view the files attached to this post.

User avatar
AnalysIR
Site Admin
Posts: 553
Joined: Sat Aug 31, 2013 3:51 pm
Location: Dublin, Ireland
Contact:

Re: Android Box Remote

Post by AnalysIR » Tue Jun 18, 2019 12:17 pm

OK looks like good progress.

However, there is no need to run the checksum calculator for NEC.

e.g.
for NEC 0x10EF05FA the rule is
10 is the inverse of EF in HEX
05 is the inverse of FA

(Note: in extended NEC the rule is ignored for the first 2 bytes & and any manufacturer can ignore the rule entirely, as long as the receiving device is designed the same way)

This is part of the NEC spec. Checkout the following site for more info on standard TV IR protocols: https://www.sbprojects.net/knowledge/ir/nec.php
The site also covers many other protocols mainly for TVs and media devices.

The reverse engineering tool and checksum calculator in AnalysIR is primarily designed/useful for AC signals.


Sending the IR signal:
just go to IRremote on Github and install the library into your Arduino IDE. https://github.com/z3t0/Arduino-IRremote
Then go to the examples and play with them. There should be lots of tutorials online about using IRremote. Use the IRsendDemo and insert the irsend.sendNEC commands into the demo.

Post Reply