Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to capture/receive IR signals in an Android application?

Is there any ways to receive IR signals in android?

While searching, I found ways to transmit data from Android devices.

Found this one very useful: https://github.com/rngtng/IrDude

So, is it also possible to receive IR signals generated by other IR transmitting devices like Remotes? If yes, i want to print those signals (hex values) in my app UI. Can anybody give some light on the issue, please... :)

I'm using Galaxy S4 for development.

like image 283
Midhu Avatar asked Jul 08 '13 11:07

Midhu


People also ask

How do you capture an IR signal?

Even the devices which come with IR don't have receiver but transmitter only. So if you want to receive IR signals you can attach IR devices to usb port of device. Another thing you can do is to take a micro-controller, a bluetooth and IR receiver.

Can phones receive IR?

Does the IR Blaster on an Android phone receive? I had a look but I couldn't find anything about the Android version learning, only the PC version. As a standard feature NO you can't receive a signal from the IR .

How do I send an infrared signal to my phone?

Many Android phones come with an embedded infrared “blaster” that uses the same technology as old-school remotes. All you need to do is download a universal remote app like AnyMote Smart IR Remote, IR Universal Remote or Galaxy Universal Remote to use your phone to control any device that receives an IR signal.

How the signal is received in IR remote control?

An IR remote control sends out infrared light signals. You can't see infrared lights with your eyes, however, it may be visible with the use of a digital camera, some smartphone cameras, or a camcorder.


2 Answers

My idea is>> Cameras detect IR LED flashing. Capture the the signal through android camera. if you know the encoding signal of IR transmitter you can decode it. its very interesting question you raised. I wish to work on it if i got time.:)

like image 104
Danish Kayani Avatar answered Sep 28 '22 08:09

Danish Kayani


Is there any ways to receive IR signals in android?

Few Android devices have any IR support, let alone some sort of IR receiver. If you build your own device, you are welcome to do what you want.

like image 43
CommonsWare Avatar answered Sep 28 '22 10:09

CommonsWare