Csub NECSend for the PicoMite
| Author | Message | ||||
| morgs67 Regular Member Joined: 10/07/2019 Location: AustraliaPosts: 78 |
This link provides an overview of the NEC IR protocol in the first few pages- https://www.ad-notam.com/attachment/742/download/td_dfu_ir-protocol_v4-0_nec-format_20140618.pdf The most important part is the four bytes of data are sent with the bits in each byte sent with the least significant bit first. As an example I have been matching the output of phil99's PicoMite decoder to the MicroMite NECSend Csub. For example to control the Bush internet radio by MicroMite use NECSend IRTx,18,6 to have Device 18 go to KeyCode 6 (preset 6). The Pico repeater/decoder output is: DevCode 18615 100100010110111 KeyCode 96 01100000 Received code DevCode 18615 100100010110111 KeyCode 96 01100000 Data to send Data to convert 01001000 10110111 01100000 10011111 DevCode invDevCode Command invCommand Now Reorder bits 00010010 00000110 Equals Device code 18 Command 6 The same as the MicroMite NEC code For a device using the Extended protocol- An Onkyo Amp volume down is NECSend IRTx,28114,3 The Pico repeater/decoder output is: DevCode 19382 100101110110110 KeyCode 192 11000000 Received code DevCode 19382 100101110110110 KeyCode 192 11000000 Data to send Data to convert 01001011 10110110 11000000 00111111 Address low Add high command invCommand Now Reorder bits 0110 1101 1101 0010 00000011 (address high and low are reordered as one) 6 D D 2 HEX 3 Equals Device code 6DD2 =28114 Command 3 The same as the MicroMite NEC code Edited 2024-02-21 17:17 by morgs67 |
||||