Skip to content

Marantz-RC5 extension support #1314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 24, 2025
Merged

Conversation

arjung467
Copy link
Contributor

Added support for Marantz extension of RC5 protocol (sending only). Marantz uses standard RC5x (13 bit) as well as an own version that adds a pause (4x 889 us) after the address and add adds another word (the "extension") to the signal so the extended message is 19 bit long.

This topic had been in discussion for many years in several threads - so far I haven't found it properly covered in a standard IR library.

What is not included in my patch is an implementation of the decoding feature of IrRemote to also account for the Marantz-specific RC5x implementation. For me this was not of relevance as the Marantz documentation provides the codes for all major devices with Marantz-RC5 control. Unfortunately, older emote controls from Marantz are not available anymore so that I feel it crucial to be able to keep these great HiFi devices from Marantz remote-controllable once the last of my remotes has died ....

ArminJo and others added 2 commits August 14, 2025 03:06
Added support for Marantz extension of RC5 protocol. Marantz uses standard RC5x  (13 bit) as well as an own version that adds a pause (4x 889 us) after the address and add adds another word (the "extension") to the signal so the the extended message is 19 bit long.
@ArminJo
Copy link
Collaborator

ArminJo commented Aug 18, 2025

Hi,
first, thank you so much for contributing 👍 .
Your code is a good first approach ❤️.
I would prefer to have a separate function IRsend::sendRC5Maranz(... handling the break, and the extension and removing this handling from sendBiphaseData()
and an example for sendRC5Maranz
as well as a few lines of documentation in the source and in the readme.

Please pull the latest version from repo, as I just changed Readme and IRSend.hpp

Added support for Marantz variant of RC5 protocol (sending only). Marantz uses standard RC5x (13 bit) as well as an own version that adds a pause (4x 889 us) after the address and add adds another word (the "command extension") to the signal so the extended message is 19 bit long.
@arjung467
Copy link
Contributor Author

arjung467 commented Aug 23, 2025

I updated the source code accordingly.
Could not get around adapting sendBiphaseData() to allow to continue sending after a pause without an additional start bit.
Let me know if you would like to have additional changes

@ArminJo ArminJo merged commit c2a9430 into Arduino-IRremote:master Aug 24, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants