-
Notifications
You must be signed in to change notification settings - Fork 201
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
irremote not working properly using Arduino Uno #412
Comments
Hi @LeonardsonCC which IR receiver component are you using with the Uno? Can you provide the part number and/or link to the datasheet? Thanks. |
Hi, I believe it is this one: http://eeshop.unl.edu/pdf/VS1838-Infrared-Receiver-datasheet.pdf |
Thanks. If I'm reading that datasheet correctly, it's an 'active low' device so the driver config should be compatible. I have a R3 Uno somewhere so will try it soon once I have done some maintenance on my tinygo setup. I'm assuming you were using tinygo |
Ah, having got the dev env setup, now I see. It seems I'd suggest opening an issue on the tinygo core similar to this one to ask for arduino/avr support for GPIO interrupts. You're possibly more likely to get a better response over there on why it's not available and/or possible. |
Oh, got it. Thanks for the really helpful explanation. |
Hey,
I'm new to embedded stuff, so maybe I have made some mistake.
Trying to make the IR Remote driver to work using an Arduino Uno, it just not received any signal.
Debugging the driver code, I notice that if I use the Pin Mode as Input, and change the
SetInterrupt
to just callpinChange
each 10 milliseconds, it receives the controller inputs.There's any reason for the
SetInterrupt
and the Pin Mode as InputPullup to not work on Arduino Uno?Checking Arduino docs, the pins 2 and 3 should be working, right?
The text was updated successfully, but these errors were encountered: