Aye Arr: Infrared TX/RX library for RP2040/2350 MicroPython
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aye_arr-1.0.0.tar.gz.
File metadata
- Download URL: aye_arr-1.0.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
258d7aa8fae41e97aa349bb7d2f32acedefd11e2a1ce7657a97fad732cb46035
|
|
| MD5 |
03991c2620addcebfbd14ae7017e541e
|
|
| BLAKE2b-256 |
f55144839f9da61769d7c92c251f447afd00e02d5997398c5b8bcf4bc51325e3
|
File details
Details for the file aye_arr-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: aye_arr-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a184c9ecbdd8eb26c3d9a9d5591ff287549fb593b967496167eae52a53009bd
|
|
| MD5 |
efde32482c6dca7ed94f4bd9c602d9db
|
|
| BLAKE2b-256 |
ad6e497b9acb36102b67eaaefb4b4a8abadb60eae86436e37525b350094b6cd1
|