-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Can J5 handle reading IR raw data from remote control devices? #1580
Comments
Following up... Using the code below in the hopes of following the IR sensor on a tighter schedule. Example results (Cleaned up)
Code used to capture the data...
|
I recommend checking out this issue: #434 A "receiver" class that support IR is definitely on our wish list. |
This issue has been added to the wishlist. |
Trying to capture codes from IR signals from remote control units for a VCR, TV, etc.
New to this. Trying to learn what's possible.
Currently testing with the following:
- ESP8266
- IR sensor powered by 3.3VDC from ESP, output connected to ESP's analog input (also testing digital)
- Code:
The approach I'm using seems to be incapable of accurately capturing the signals. The
thisSensor.on("change"
etc. does register that the remotes are transmitting, but not the raw data. Is it that J5, being JS operates at max speed of 1 ms? while the IR signals are coded at µs? Or the setup / coding approach, etc?A few of the J5 git pages here, here, and here begin to address the issue, but I haven't nailed it yet.
Thanks for any advice & insight
The text was updated successfully, but these errors were encountered: