DIY Infrared transmitter for iPhone, iPod

DIY Infrared transmitter for iPhone, iPod
Create a Infrared transmitter for any portable mp3 device, ie phones, music players etc.
This tutorial is for creating the Infrared transmitter only.

Can be used with iPhone App DSLR.BOT. http://dslrbot.com 
Used for controlling Canon EOS, Nikon, Penta and Sony Cameras.

The way this transmitter works is it sends infrared on and off signals from the audio playback coming from your headphone jack. Having saved an audio file with the correct on and off timings, you can play back this audio track through your portable music player and trigger infrared devices.

This transmitter works better with a WAV audio playback, however this has been successfully tested as an MP3 audio track.  The WAV track generally produces  a clearer signal as they can playback a 38 KHz modulation (Infrared frequency rate), by dividing the frequency between the two stereo channels. 19 KHz for the left channel and an inverse 19KHz signal for the right.

To better illustrate this the left channel will play an on and off signal ..
0101010101
The right channel will produce the in-between signals for the off time ..
1010101010
Therefor each channel will take turns producing a infrared signal creating a higher frequency rate, equal to that of an infrared remote control.

The Items needed for this DIY project are ..
1) Infrared LEDs 940 nm 2x
2) 3.5 mm stereo headphone minijack

 
Remove these adsRemove these ads by Signing Up
 

Step 1Prepare the headphone jack

Prepare the headphone jack
The first thing to do is strip the wire ends then twist the ground wires together. The ground wire is usually the wire unprotected by a coloured casing.

« Previous StepDownload PDFView All StepsNext Step »
29 comments
Feb 14, 2012. 11:23 PMdcyane says:
I love this app! But why not surport DVs? I need it to control the record status of SONY DV, please add DV functions to it, Thanks! dcyane2002@163.com
Jan 22, 2012. 6:59 PMsantakrooz says:
Hi just built this, but the IR LEDs are emitting white light (and it's not working with my Nikon) - I ordered 940nm but I'm now suspecting that they sent 850nm instead. Can someone confirm that the 940nm IRs should not be emitting any light? thanks
Jan 21, 2012. 10:21 PMandrew121007 says:
Is it possible to maybe add a battery to amplify the led power? I've got a pretty big amplifier on my computer that if put on maximum will show the led light up (through camera) but on phone it doesn't light up. I can't test my computer because I don't have any ir devices near it. But when I try with my phone it does not function. I've constructed it how it should.
Jan 21, 2012. 11:05 PMandrew121007 says:
Ok so if I put it close enough to the TV and move it around, it functions, so that means it definitely needs amplification.
Nov 8, 2011. 11:51 AMnodoubtman says:
what is the use of this?

thanks!
Dec 9, 2011. 6:10 PMdeandaman says:
its used to remotely trigger function from your DSLR camera which is quite handy.
Nov 21, 2011. 5:14 PMdmclaughlin1 says:
I was wondering as well about the possibility of using mp3 files as a source as well. I've got a working IR receiver input into the sound card on my computer. I get good signal on an oscilloscope, and can see that same waveform in an audio processing app (I use soundforge). I'm trying to build the transmitter now.

Can I just play back the mp3 and get the desired result? If so,
What should the audio file sample rate and bit depth settings be?
Do there need to be any resistors, capacitors, external power added to the LEDs?

I've testing the transmitting LEDs and I can see the signal on a camera but when aimed right at the tv, nothing happens. Any thoughts? Many thanks.
Nov 15, 2011. 2:01 AMfbooms says:
Hello,
i have done all the Things you shown but it dont work. I have a Canon 600D. What is wrong??? You say that sometimes problems in Europe. Why??? What ca i do?
Oct 25, 2011. 11:34 AMnodoubtman says:
what is this used for ?

thanks!
Oct 6, 2011. 10:18 PMabana says:
Ok, so i've made the transmitter but it has a really poor range, like maybe 2ft max.

Is the length of the cord a matter?

Also, what is it that you guys said about a resistor? how many ohms?
May 16, 2011. 12:32 PMmsouza says:
BTW, thanks a LOT to Share this. I will test it today ! :)
May 16, 2011. 12:32 PMmsouza says:
What about the LEARN scheme ? Do you have it ? And do you have any clue to make an workflow to Record and reproduce the "commands". Just link buttons to Mp3 files and play them ? :)
May 3, 2011. 7:33 AMsquarefrog says:
Pretty good - but perhaps a more flexible option would be to simply solder a couple of IR LEDs to a 3.5mm jack, and then use a standard 3.5mm stereo extension cable for length.
Mar 29, 2011. 12:56 PMzmohiuddin says:
Would a 950nm diode work? Those are the only ones they had at Radiocrap.
Apr 5, 2011. 7:58 PMMdob says:
That should work just fine.
Mar 9, 2011. 10:52 AMcrtn2 says:
i dont think this will work. you should twist L and R wires together and connect ledt between them and ground wires
Mar 25, 2011. 3:29 PMcgapeart says:
I would have to see what the signals look like to know for sure, but I think the point here is that you can create a larger voltage difference by driving one of the sides positive, and the other negative with respect to ground. Having two LED's going opposite to each other means you can generate voltage in both directions of that.
Mar 30, 2011. 12:19 AMcrtn2 says:
you're right, but the right channel should be inverse of left channel or this wont work.
Sep 19, 2010. 4:46 PMtkkg says:
Hi alberto_canvas, how's that other tutorial (capturing and sampling IR code) coming along?

Also, I've seen the same setup elsewhere on the web with a minor difference, there's a 10ohm resistor added. Is that necessary? Here's the source http://img212.imageshack.us/img212/8740/icouch2mg1.png
Mar 25, 2011. 1:15 PMcgapeart says:
On the plus side, it's going to limit the amount of current drawn by the diodes, which is probably safer for your audio player. On the minus side, the IR output won't be as bright.

Take the resister out of that diagram, and you have exactly what this instructable is detailing.

A typical infrared diode has a drop of 1.3 volts across it. Based on what I can find, the iPhone should be able to run up to 3.5volts peak to peak -- depending on the audio signal, that means it could do up to 7 volts -- and the internal resistance of the wires and diode will have to take up the slack from the 1.3 volt drop. i.e. 7-1.3 = 5.7 volts to drop.

I don't know if 10 ohms is the right value, and I don't know what kind of current limiting capabilities are built into the iPhone audio output, but I would think that some kind of resistor would be a good idea to protect the audio output of the phone. Any thoughts?

Feb 2, 2011. 9:37 AMpiesforyou says:
Hi alberto_canvas, I thought this was a great guide and it gave me an idea for using it as a DSLR intervalometer. You can find details of how I used it here:

http://www.pentaxforums.com/forums/pentax-dslr-discussion/131633-absurdly-simple-diy-k-x-remote-timer-using-mp3-player.html#post1368821
Jan 22, 2011. 10:50 AMbpfh says:
Bump for reciever!
Dec 17, 2010. 10:53 AMJibLPC says:
Hi, can you tell me what kind of LED is it?
Can you help me choosing on this page :

http://www.gotronic.fr/catalog/opto/infrarouge.htm

Thanks
Oct 4, 2010. 1:50 PMtaterkiller says:
will this work as an app on the zen xfi-2(its open source app development)
Jul 21, 2010. 3:33 PMnrdesign says:
It turns sound into infrared light, but there's no mention of a method turning it back to sound. I know how to do it but I bet lots of people don't. They then have a transmitter and don't know what to do with it.
Sep 27, 2010. 10:34 AMmatstermind says:
any time soon?
Sep 16, 2010. 12:33 PMbuggerr says:
Would using a receiver like in this guide: http://www.networkedmediatank.com/showthread.php?tid=29013 would allow me to record the IR signals and then play them back using this transmitter successfully?

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
1
Author:alberto_canvas(DSLR.Bot)