Skip to content
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

RCMM protocol - how to do it #119

Open
WhatDoYouKnow opened this issue Aug 19, 2022 · 2 comments
Open

RCMM protocol - how to do it #119

WhatDoYouKnow opened this issue Aug 19, 2022 · 2 comments

Comments

@WhatDoYouKnow
Copy link

Hi
I am trying to implement a remote control based on the RCMM protocol. Unfortunately, there's no information on the web on this.
I have found a resource on the web about what the protocol sends and the detection program agrees with it. All successful so far.

The problem comes with the send instruction. I'm not sure how to implement a send command and everything I've tried so far has resulted in no success with the target to be controlled or another Arduino set up as a receiver. The Arduino receiver calls it "unknown" so something is not right.

The original remote sends 32 characters (256 bits) where the first 232 bits are identical. How do I tell the program to send the code I'm interested in? Just supply the last 12 bits (the only ones which change) and the library does the rest? Is it that simple? I ask because the receiver Arduino still says "unknown" and I'm unsure how to proceed? It's not obvious to me from the documentation what should be done.
I'd appreciate any help.
Thanks in advance.

@WhatDoYouKnow
Copy link
Author

Sorry - forgot to say what Arduino I'm using - Adafruit M4 Express (SAMD51) with an Adafruit LED and sensor.

@WhatDoYouKnow
Copy link
Author

WhatDoYouKnow commented Aug 19, 2022

Now worked out how to drive the protocol: There are lots of 00 bytes in the RCMM code. These are ignored when creating the payload so it's a 32-bit code consisting of the last 4 non-zero bytes.
The code is being sent and being read correctly about 30% of the time - however, this is a constant send separated by 100ms.
It appears that the sending is a bit off or my circuit is not very good.
Using a very old NPN (ZTX108) but should be OK. 470R between the pin and transistor base. Diode linked to 3V3 and the collector of the transistor as per the diagram.
Is there anything more I can do to improve the performance?
Any help appreciated.
Thanks.
Max

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

No branches or pull requests

1 participant