[Done] Wireless Remote Controller Library for Arduino (IC2272/2262)
Switch branches/tags
Nothing to show
Clone or download
QuentinCG lib: Add const identifiers
Add const identifiers to all const functions.
Latest commit 0022637 Jul 3, 2016

README.md

Wireless Remote Controller Library for Arduino

What is it?

This library (with examples) is designed to be integrated in projects using IC2272/2262 (315MHz and 433MHz) remote controllers or equivalent system. It receives data from the controller. It is also possible to launch your own function every time data is received (asynchronously with interrupt).

How to install

  1. Download latest release

  2. On your Arduino IDE, click "Sketch" menu and then "Include Library > Add .ZIP Libraries"

  3. You can now use the library for your project or launch an example ("File > Examples")

How to connect your wireless remote receiver to your Arduino

Wireless Remote receiver (IC2272) Arduino
VCC 5V
GND GND
DT D2 (or any other interruptable digital pin)
D0 D3 (or any other digital pin)
D1 D4 (or any other digital pin)
D2 D5 (or any other digital pin)
D3 D6 (or any other digital pin)

Important note: If you want to use asynchronous feature of this lib (interrupt), you need to connect the DT digital input to interrupt compatible pin.

Examples

Two examples are provided with this library:

Check data from wireless remote controller every second (synchronous)

Link to source code

Get data from wireless remote controller with interrupts (asynchronous)

Link to source code

License

This project is under MIT license. This means you can use it as you want (just don't delete the library header).

Contribute

If you want to add more examples or improve the library, just create a pull request with proper commit message and right wrapping.