Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,786,341 Members 48,901 Now Online
XDA Developers Android and Mobile Development Forum

IR transmitter !

Tip us?
 
Angelo_13
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 23
Join Date: Oct 2013
Default IR transmitter !

I have seen that you can create infrared transmitters with a 3.5mm jack + 2 infrared LED and connect it to your smartphone .. In this way you can use it as a remote control for the TV? <br />
What other types of devices can be created with a jack?
What other kind of things can you do with a jack?Click image for larger version

Name:	uploadfromtaptalk1399106753418.jpg
Views:	286
Size:	27.1 KB
ID:	2722947
 
Renate NST
Old
#2  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 796
Posts: 1,973
Join Date: Feb 2012
Location: Boston
While I am sure that this is kind of theoretically possible, there are a few problems.
The first is getting enough voltage, you'll need ~ 1.5V to get things lit tolerably.
Real IR remotes use up to 100 mA peak current.
IR remotes work on a carrier of 38.4 to 40 kHz.
That means that your 44.1 or 48 kS/sec is not going to work, you'll need 96 kS/sec.
Even at that sample rate who says the output stage will work at these frequencies?

A serial port is a more useful way into this.
You'd still need a LED driver if you want any sort of range.

 
Angelo_13
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 23
Join Date: Oct 2013
So is it possible to have an IR transmittor on a nexus 5?
 
Renate NST
Old
#4  
Renate NST's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 796
Posts: 1,973
Join Date: Feb 2012
Location: Boston
Connecting two LEDs back to back across the two channels of the headphone will get you basically a frequency doubler.
You should be able to get this working with a 19 kHz carrier if the left & right channel are 180 degree out of phase.
The LEDs will light alternatively on the positive and negative peaks.
Clever.

By googling I see alot of stuff on this.
There are problems with getting enough oomph out of the headphone jack.
Somebody makes something with a battery and an amp in it, but that's getting bulky.

If you get this working, you are going to have to point it directly at the device.
The range may be incredibly small.

If I wanted something like this I would take a Raspberry Pi, stick it on the home network and have it drive an LED taped to the front panel of the A/V device.
Have your app just connect on WiFi.
At least you wouldn't have to point your Android in a specific direction nor plug in a little thingie that you always lose.
There are also pre-built solutions like this.

 
E:V:A
Old
(Last edited by E:V:A; 5th May 2014 at 11:25 PM.)
#5  
E:V:A's Avatar
Recognized Developer
Thanks Meter 1,767
Posts: 1,334
Join Date: Dec 2011
Location: -∇ϕ
HERE are all the details of how you do it. Including wave files.
However, the second picture says its also a receiver, but that
is not true since the picture depics two LEDs. What is particularly
cool with that, is that it allows you to send the secret codes to
get to your TV's engineering menu (phhuh...) where you can do
things like update some TVs to versions with more features etc.

OR you can just get a phone with built-in IR LED, like the I9195, for
which when you do the magic *#0# take you to a factory test app
that include a Samsung compatible Remote control.

What would be more interesting, would be if someone could hack
the Samsung WatchON App so that we can use it for arbitrary
IR links and not just TVs.
MSM8960 Info, Architecture and Bootloader(s)
El Grande Partition Table Reference
How to talk to the Modem with AT commands

[REF][ServiceMode] How to make your Samsung perform dog tricks
[REF|R&D|RF] RF/Radio properties of Samsung ServiceMode

Want to know when your phone is getting tracked or tapped?

Help us develop the IMSI Catcher / Spy Detector!
(To be part of the EFF & The Guardian Project toolsets.)
_______________________________
If you like what I do, just click THANKS!
Everything I do is free, altruism is the way!
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
I do not answer support related PM's.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes