Thursday, June 6, 2013

Developing useful Android apps with infrared (IR) modules and open source libraries

Almost everyone uses infrared remote controls at home: to control your TV, your air conditioner, etc.

We naturally come to the idea of using one Android smarphone or tablet to replace these multiple remote controls.

However, developing and using infrared on most of the Android devices requires the use of external hardware. How to do it? Perhaps the easiest way is to follow what Irdroid tells us.

Irdroid is a universal infrared remote control for smartphones, tablets and other devices, working with the Google Android operating system. To control your favorite TV, STB or DVD, you need to download the Irdroid APP for Android and to purchase a Irdroid module.. The Irdroid application is available for download from the Android Market and from Appslib (for android tablets).

The biggest benefit of Irdroid is that it is compatible with the LIRC project in which database, there are a lot of supported equipment vendor’s some of the famous are Samsung, Sony, Motorola, LG, Panasonic, Philips and many, many more (see here: benefit for the public is that the Irdroid application is free, open source and the source code can be downloaded from:
Irdroid - IR remote for Android


    Free and open source application and open hardware module
    Available from Android Market, AppsLib
    Low cost Irdroid infrared module
    Plug and play design
    Extended remote control range – 10+ meters
    Small Dimensions 17×43,2 mm
    Design based on the principle KISS (Keep it simple stupid!)

Let’s start with the Hardware:
The module’s main task is to amplify the signal, generated from the app and to provide an IR interface to the relevant Android device. The active amplification is necessary, because the output signal from an Android device is not powerful enough to light up IR LEDs, as well as to provide a decent remote control range.

The module practically amplifies the generated waveform from the app and emits IR Light via the IR LEDs at 940nm wavelength. The input of the module is provided by the Android Device 3.5mm Audio jack.

The Left and The Right audio channels are used, (GND) is not connected. The amplification is done using an inexpensive LM386-M1 mono audio amplifier which is configured for a gain of 200 times.

This configuration assures enough power @ 6V in order to achieve a remote control distance of about 10 meters.

Тhe Irdroid app is responsible for generating a 19kHz audio tone. The infared data is modulated on the 19kHz sine wave. The signal is amplified via the LM386 audio amplifier and rectified via the two IR leds, doubling the frequency to 38kHz. The first IR led rectifies the positive halfwave of the audio signal and the second IR led the negative halfwave of the signal.

The LM386 mono audio amplifier is configured to amplify the signal 200 times so that the radiated IR light power is enough to achieve a remote control distance of about 10 meters.

Most of the components are SMD (surface mount) only the Jumper, the two IR Leds, the Battery Holder and the audio jack are coventional parts. The download section at contains a zip archive of the schematics and the production files of the module:

You could use the schematics and the production files to produce boards using your favourite printed circuit board manufacturer. In most of the companies offering pcb manufacturing service you will find out that they could also solder the SMD components for you, as well as to build complete modules.

All the documentation, schematics, user's manual and a handbook for building your own Irdroid IR module is attached to this instructable:

For more information and support:


  1. Pretty nice post. I just stumbled upon your blog and wished to say that I've really enjoyed surfing around your blog posts. After all I’ll be subscribing to your feed and I hope you write again very soon!

    Mobile Application Development Company

  2. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post.

    accounting and bookkeeping services

  3. Copy paste from irdroid hand book..!

  4. The Irdroid application is available for download from the Android Market and from Appslib (for android tablets). cell phone booster

  5. I really like the idea which deliver this post. Creating a best Android applications through infrared modules and open source libraries is a best method for this particular purpose. Thanks to share this great idea. application development agency

  6. If wa wondering how to make the application not only for android then I advise you to this site Very convenient and easy. You can easily understand all the basics and do your own thing with the nearest time.

  7. Thanks sharing. Definitely a great piece of work Thanks for your work. Austin strippers

  8. I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject? Colorado Strippers

  9. If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content. Denver Strippers

  10. This comment has been removed by a blog administrator.

  11. Subsequently, after spending many hours on the internet at last We have uncovered an individual that definitely does know what they are discussing many thanks a great deal wonderful post. learn more

  12. iZombie Season 3 will portray Liv gulping down the brain of a dominatrix. Therefore, we can expect the upcoming installment to be more engaging than the previous ones. iZombie Season 3 Trailer

  13. Hi. If you need any help in programming, we will help you

  14. Also, many people have come to expect a certain level of privacy by owning a mobile phone instead of a landline, and by putting your name and number into one of these online directories gives up much of that expected privacy.
    dig this

  15. Very interesting blog, every post is great, thanks to the author for sharing such useful information

  16. Thankyou for this wondrous post, I am glad I observed this website on yahoo. ibm blockchain jobs

  17. Thanks for sharing nice information with us. I like your post and all you share with us is up to date and quite informative,

    Cpa offers

  18. Thanks for sharing electronics reaklated information becouse i am very intresting in electronics, but am now doing web app development.

  19. This comment has been removed by the author.

  20. Therefore, applications made on this stage are excessively accessible with ease for the business experts.


Disqus for DIY Phone Gadgets