IRLib 2 Adds Preliminary Support for Arduino Zero and other SAMD 21 Platforms

We are pleased to announce that IRLib 2 has just been updated to provide very preliminary support for Arduino Zero and other SAMD 21 base platforms such as the Adafruit Feather M0 and the Arduino.org M0 Pro.

IRLib 2 is a library for sending, receiving, and decoding infrared signals using Arduino microcontrollers. Until now support has been mostly limited to 8-bit AVR processors such as those used in Arduino Uno, Arduino Leonardo, and Arduino Mega.

The implementation has been tested on all three of those platforms. It provides PWM output at all of our standard frequencies for sending IR signals. It also supports all of our receiving classes including IRfrequency, IRrecv, IRrecvPCI, and IRrecvLoop.

Support is currently limited to using only one specific set of timers and clocks. Output must be on pin D9. As soon as we are able we will make it possible to support other output pins and make use of other timers and clocks so that the system can be as flexible as possible and avoid conflicts with other libraries.

The main users manual has not been updated to reflect these changes. Preliminary details can be found in IRLib2/SAMD21.txt

The code is available now on GitHub at https://github.com/cyborg5/IRLib2

Further updates for SAMD 21 implementation will be coming soon.

2 thoughts on “IRLib 2 Adds Preliminary Support for Arduino Zero and other SAMD 21 Platforms

  1. Hi,
    I’m RJ Cooper, developer of AT tech since 1983. Working on a project to make BT 3″ round buttons, at a reasonable price. I want to use the Adafruit nRF52 module as it’s $5 less than the one you used in your project posted at Adafruit to have that module ‘be’ a keystroke to iOS. Can I use, or adapt your code to the nRF52?
    Thanks!
    RJ 🙂
    rjcooper.com

    • I’m a little bit confused by your question. Your comment is attached to a post about my infrared library called IRLib2. It does not support the NRF52. But you also mentioned assistive technology and I think maybe you’re referring to my iOS Switch Control tutorial on the adafruit learning system. It can be found here. https://learn.adafruit.com/ios-switch-control-using-ble/ I have not tried the NRF 52 but I would think if it does BLE Bluetooth and keyboard emulation it should work.

Leave a Reply

Your email address will not be published. Required fields are marked *