Demo Projects

Loading...

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: http://lirc.sourceforge.net/remotes/).Another benefit for the public is that the Irdroid application is free, open source and the source code can be downloaded from:
http://www.irdroid.com/purchase/?ap_id=1004
Irdroid - IR remote for Android

Features:

    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 http://www.irdroid.com contains a zip archive of the schematics and the production files of the module:

http://www.irdroid.com/purchase/?ap_id=1004

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.

http://www.instructables.com/files/orig/FS0/UCZ4/GUXKZ9DP/FS0UCZ4GUXKZ9DP.pdf



All the documentation, schematics, user's manual and a handbook for building your own Irdroid IR module is attached to this instructable: http://www.instructables.com/answers/DIY-IR-Droid-Module-35mm-to-Infrared-Breadboa/

For more information and support:


11 comments:

  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

    ReplyDelete
  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

    ReplyDelete
  3. Copy paste from irdroid hand book..!

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

    ReplyDelete
  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

    ReplyDelete
  6. If wa wondering how to make the application not only for android then I advise you to this site http://www.nixsolutions.com/services/custom-software-development/mobile-development-services/. Very convenient and easy. You can easily understand all the basics and do your own thing with the nearest time.

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

    ReplyDelete
  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

    ReplyDelete
  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

    ReplyDelete
  10. Developing management skills, courses help you to learn how to converse with your juniors so that you may get assigned a task from them quickly and easily with their cooperation.
    showboxdownloadsapp.com

    ReplyDelete

Disqus for DIY Phone Gadgets