I’ve been using an Arduino Uno to generate the IR remote codes for my Panasonic SC-PMX7DB audio system and create an IR remote translator from Sony to Panasonic.
I used a TSOP38438 IR Receiver but the software in the IRremote library by Rafi Khan (shirriff) doesn’t identify the codes emitted by my Panasonic remote (model N2QAYB000896) so I decided to write a decoder software fed by the raw sequences captured by the IRrecv function in the library.
I’m posting such decoder hoping that some other Arduino user is willing to capture the codes generated by their own Panasonic audio system remotes and then share them here.
My ultimate goal is to understand whether there are discrete IR codes for selecting the audio source which are not generated by the N2QAYB000896 remote. This remote has 3 buttons dedicated to the selection of the audio source (searching online the same applies to other Panasonic remotes controls) but none of those is the audio sources I use most often, like Radio, Auxiliary and Bluetooth.
In my case the 3 buttons/codes are:
[IPod]
Device code: 0xA0
Sub-device code: 0x1C
OBC: 0xB8
[CD]
Device code: 0xA0
Sub-device code: 0x0A
OBC: 0x0A
[SELECTOR]
Device code: 0xA0
Sub-device code: 0x00
OBC: 0x86
My guess is that all Panasonic remotes have 3 buttons for selecting the source and these buttons generate the same codes across all remotes. When the remotes are manufactured for a specific model of audio system, only their silkscreen (the labels of the buttons) is customised with the functions understood by the specific model of main unit.
In order to check this I would like to see the codes of other Panasonic audio systems, for example the SC-HC2020 or the SC-PM250EB
PS: C++ coding is not my thing so please forgive inconsistencies in my coding style. If you spot any way to improve the code I’m welcoming suggestions.
IR_Decode_Panasonic.ino (6.45 KB)