-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[RFC] Support for IR remote control #17906
Comments
I think it'd be good to have IR components in -- they are helpful in bridging the gap between non-networked multimedia installations (or, multimedia installations that do have network capabilities but do not interoperate outside their silos) and the web of things. A few unsorted questions that'd probably be asked in a PR on this -- just as to ensure that we find a common set of expectations on the work required to support this in RIOT:
I'd be happy to review this as a PR (just can't make any promises about timeliness), I think I can even dig up some hardware to test it eventually |
Hey, thanks for the answer, I'll try to answer your questions below
This should be generic over decoders, and from what I could tell the inverted signal is the most common. I could be wrong here, but I don't have other receivers to test.
Indeed, this would work better as
Not implemented as of now, but it could be added easily as an additional
I have the receiver I'm using (the sunfounder one), which has a single output pin which outputs demodulated data. As far as I can tell, receivers always seem to demodulate the data so the modulation frequency doesn't need to be handled in the driver, just the demodulated protocol timings. In any case, some more documentatin on this would definitely make sense.
Unfortunately, no. I don't have any hardware that can transmit so I would have no way to test it.
Probably not, realistically even a 1 or 2 command pipe would be enough. |
Merged in #17935 |
Description
As part of a university project I integrated this IR remote and it may be worthwhile to merge this into RIOT. The protocol it uses is NEC, but the IR receiver chip ( HS0038B ) inverts the signal
Would there be any interest in a PR to merge this functionality? I'm attaching the (currently working) code below to give an idea of what I've done so far
ir_remote.h
ir_remote.c
main.c
The text was updated successfully, but these errors were encountered: