Receiver and "blaster" for IR remote controls
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Receiver and "blaster" for IR remote controls
I have updated the micropython_ir library for compatibility with the Pi Pico.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: Receiver and "blaster" for IR remote controls
Great news. I've ordered some Vishay TSOP4838's from RS and will give it a go when they arrive tomorrow. I'll let you know how I get on. Thanks.
Re: Receiver and "blaster" for IR remote controls
Hi Peter, I have my TSOP4838 and am trying to test with your library. I'm using Thonny from my main development PC (Windows). I'm trying to run test.py in the ir_rx folder but keep getting an error:-
I assume this is because the library files are not available on the Pico? Do I need to copy the .py files in the ir_rx folder to the Pico first? Can I use Thonny to do that? Sorry, I feel it's such a simple step I'm missing somewhere.
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 13, in <module>
ImportError: no module named 'ir_rx'
Re: Receiver and "blaster" for IR remote controls
Ok, I've worked it out, it was the "Files View" in Thonny that I was missing. Once that is visible you can right click on a local folder (on your PC) and select "Upload to /"" to copy all the library files in a folder to the Pico.
I got it working nicely now.
I documented the codes produced by a couple of the remotes I found at home. Hopefully useful to someone. PDF downloadable from here :-
https://1drv.ms/b/s!AuxPYKnqp1fVjZl7_Ih ... g?e=3tO2FF
Feel free to use this .pdf
I got it working nicely now.
I documented the codes produced by a couple of the remotes I found at home. Hopefully useful to someone. PDF downloadable from here :-
https://1drv.ms/b/s!AuxPYKnqp1fVjZl7_Ih ... g?e=3tO2FF
Feel free to use this .pdf