How to connect and example code for OLIMEXINO-32U4 to MOD-IRDA+

Started by erkobg, January 15, 2016, 09:50:58 AM

Previous topic - Next topic

erkobg

Hello,
I would like to use MOD-IRDA+
https://www.olimex.com/Products/Modules/Interface/MOD-IRDA+/

from OLIMEXINO-32U4   
https://www.olimex.com/Products/Duino/AVR/OLIMEXINO-32U4/open-source-hardware

There is very handy connector  UEXT but the problem is that I am not able to detect or do anything- even with the examples listed in the products page.

Can you share what is the best approach and examples if you have any.

LubOlimex

Hey,

The only special thing about OLIMEXINO-32U4 is that in your code you need to allow/enable the powering on the UEXT connector - else there will be no 3.3V on pin #1 of the UEXT connector. How to enable the 3.3V on the UEXT? Use the following code:

// UEXT power enable --> PORTB4 --> D8
pinMode(8, OUTPUT);
digitalWrite(8, LOW);


Then you establish an I2C connection to MOD-IRDA+. There should be even official Arduino I2C code examples.

Note that the firmware of MOD-IRDA+ supports only two protocols at the moment: Philips RC5 protocol and SONY SIRC protocol.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

erkobg

Hello and thanks a lot LubOlimex :)
I will check also Arduino examples.
I was able easily to test IRDA+ with A20 :)


About the firmware - do you know about any plans to support more protocols?


Regards!

LubOlimex

Yes, we have plans to improve it. It had been in our TODO list for a while, but something more urgent always pops up.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

erkobg