Aye Arr
An infrared TX/RX MicroPython library for Raspberry Pi Pico/RP boards
Introduction
Aye Arr is a MicroPython library for sending and receiving infrared remote signals on Raspberry Pi Pico/RP boards. It uses the RP's PIO to handle the timing of IR pulses.
The library consists of two layers:
NEC- a protocol layer for acting as or listening for consumer remote controls.Pulse- the underlying creation and decoding of infrared pulses with a carrier frequency.
Hardware
For transmission projects using Aye Arr you need an infrared LED (with suitable current limiting resistor) connected up to a GPIO pin of your RP board. For receiving projects using Aye Arr you need an infrared photodiode with a 38KHz receiver module, such as our IR Receiver Stick, connected to a GPIO pin of your RP board.
Installing
mip
If your board is online and has mip you should be able to run:
import mip
mip.install("github:org/pimoroni/aye_arr/package.json")
Otherwise, using Tools -> Manage Packages in Thonny, locate the
aye_arr package and install it as normal.
You can also install this library manually by copying the aye_arr directory in this repo to your board. To do this, click on the down arrow next to <> Code, click on Download ZIP, then unzip the file and copy the aye_arr folder within it over to your RP board via Thonny.
Examples
There are a variety of examples to get you started with Aye Arr, located in the examples folder of this repository:
Documentation
To take Aye Arr further, function references for the Aye Arr library can be found at:
Changelog
1.0.0
- Initial Release
Release files for aye-arr 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aye_arr-1.0.0.tar.gz | 17.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aye_arr-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 44.8 kB
Release files / aye_arr-1.0.0.tar.gz
| Download URL | aye_arr-1.0.0.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
258d7aa8fae41e97aa349bb7d2f32acedefd11e2a1ce7657a97fad732cb46035
|
|
BLAKE2b-256 checksum How to use checksums |
f55144839f9da61769d7c92c251f447afd00e02d5997398c5b8bcf4bc51325e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / aye_arr-1.0.0-py2.py3-none-any.whl
| Download URL | aye_arr-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 27.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6a184c9ecbdd8eb26c3d9a9d5591ff287549fb593b967496167eae52a53009bd
|
|
BLAKE2b-256 checksum How to use checksums |
ad6e497b9acb36102b67eaaefb4b4a8abadb60eae86436e37525b350094b6cd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|