Turn your phone into an universal remote control
Pubblicato da jumpjack su 10 Giugno 2008
This short tutorial shows how to turn almost any cellphone into an universal IR remote control.
CHECK GoogleCode page for downloads and updates
Old post (with detailed instructions about how to build hardware)
Why it should work also on non-stereo cellphones (but it does not?!?) (see also excel file)
Useful links (explanations of remote control protocols)
Other uses for old phones
Available patents (not mine):
Infrared generator from audio signal source
IR receiver using IR transmitting diode
Requirements:
- a cellphone with stereo audio output (audio left , audio right , ground) or symmetrical audio output (audio+, audio-)
- 2 IR leds
- a wired headset compatible with the phone
- a PC with audio card
- an audio recording software on PC
- an audio editing software for PC or an audio sinthesyzer software for PC
This project does not depend on O.S. used: you just need ANY computer capable of recording audio and create audio files from scratch. Linux, Windows, MacOSX or whatelse makes NO difference.
Please look at this post to know how to:
- build an IR receiver for the PC
- sample a remote control
- (create a WAV file using Audacity program) (not strictly needed: this article describe an alternate method).
Once you sampled all needed buttons of your remote, it’s just a matter of building a proper WAV file for each one of them. If you don’t want to use Audacity to do it manually, you can use SOX program: it creates pieces of “raw” audio file, which joined together build up the final WAV file.
Here you find example scripts (for DOS/Windows environment) which build a WAV file based on binary description of the remote signal. You have to setup the unizeri.bat file to have it matching the sampled signal. Then call create.bat specifying as parameter the “creator file” (unizeri-raw, or unizeri-tv,… ), the final WAV file (testbutton) and the number of additional times you want the command is repeated (at least ONE occurrence will be alway created):
create unizeri-raw testbutton 4
(no extensions required for filenames) (NOTE: script must be run inside SOX folder).
This will result in a tesbutton.wav file which, played on a phone (or on PC, or on any audio capable device), equipped with audio-to-IR converter, to control your device.
The audio-to-IR converter:
It is just a couple of LEDs connected in oppopsite ways to “audio output left” and “audio output right” (for normal phones) or to “audio+” and “ground” (for phones with symetrical audio output like nokia 6680). In symetricl ouptu, Left- and Right- must be connected together (see below).
Audio-to-IR converter:
Connections for nokia 6680:
(10 Ohm resistor not strictly needed)
—————————————————-
Study about physics/optical phoenomena involved in this project:
Excel file – how to play a 38000 Hz “sound” through a 20000Hz-capable audio device
Big image summarizing Excel data
————————-
Forums about Ledrem:
Italian:
English:
Oper detto
Ciao,
ho notato che il nome del file all’interno del .zip e’ unizeri-raw.bat e non unizeri.bat, quindi ti conviene o modificare la guida o il .zip altrimenti ci si smarrisce per un po’.
Inoltre se io scrivo:
create unizeri-raw tasto5 3
mi crea il file tasto5.wav ma con 3+1 pressioni del tasto e non 3 (praticamente ne mette 1 in piu’).
I’m sorry for my bad english.
Oper.
jumpjack detto
Grazie per l’appunto sul nome del file.
Quanto al numero di ripetizioni errato… lo so, e’ che non so come sottrarre “1″ a un numero in un file batch… per cui vanno considerate come le ripetizioni IN PIU’: almeno UNA volta il comando è necessario, le ripetizioni servono per i dispositivi un po’ “duri d’orecchi”.
Cmq ora sistemo i file batch, erano un po’ rozzi…
World’s cheapest remote control replicator: just 1$ ! « Jumping Jack Flash weblog detto
[...] Pubblicato da jumpjack su 20 Maggio 2008 ===>> New updated post [...]
Gerhard detto
its not working like this on my Nokia n80 because if i connect it like this my nokia not reconise the head setif i connect it with a normal stereo 3.5mm jack i get to hear the signal in the earphone but if i connect the led i get no signal there do you know which phone i can use to play the wav file and connect normal stereo 3.5mm jack ??? please help
jumpjack detto
Gerhard, you could try using a spare headset, by replacing speakers with leds. That’s what I actually did, rather than directly connecting to pins; I did so because I wasn’t else able to connect to such small pins… but maybe this way I “overrided” the issue of phone not seeing any headset connected?!?
Gerhard detto
i tried also this trick but then only one led light up
jumpjack detto
Maybe your phone is not compatible at all with this method…
I found a list of possible nokia candidates for this project: they all support pop-port (the one on my 6680, which works fine) and they support WAV format, and as per TastePhone database they should also support j2me and even jsr-120 (send/receive messages):
*Nokia N72
*Nokia 3250 XpressMusic
*Nokia 5500 Sport
*Nokia E50
*Nokia E61
Nokia E61i (no data on TastePhone DB)
*Nokia E70
*Nokia N73
Nokia N80 (no data on TastePhone DB)
Nokia N91 (no data on TastePhone DB)
Nokia N92 (no data on TastePhone DB)
Nokia N93 (no data on TastePhone DB)
Nokia N93i (no data on TastePhone DB)
Nokia 6110 Navigator (no data on TastePhone DB)
Nokia 6290 (no data on TastePhone DB)
Nokia E90 (no data on TastePhone DB)
Nokia N76 (no data on TastePhone DB)
Nokia N95 (no data on TastePhone DB)
Nokia 7710 (no data on TastePhone DB)
Older:
*Nokia 3230
*Nokia 7610
*Nokia 6630
*Nokia 6680 (DIRECTLY TESTED)
*Nokia N70
*Nokia N90
I don’t know at which price they could be found!
Gerhard detto
not working with N80 and N82
Nitesh Raol detto
Recording remote signals were perfect and the waves were reproduced according to the method given.
But the tv responds only when i replay the audio from an ipod. N95 was not working.
I used an amplifier before connecting to the ir leds. The amplifier works with the ipod. I tried to receive the signal on the computer using an N95 to send it and it shows a lot of noise due to which the receiver is not recognizing the codes. But with an ipod the re is no noise. Does anyone know the reason?
Which other phone can i try?