Jumping Jack Flash weblog

Archivio per Maggio, 2008

Remote control - 1: the receiver

Pubblicato da jumpjack su 22 Maggio 2008

== 1 == BUILD THE RECEIVER

a - cut the ending part of the headphone cable (i.e. , remove headphones)

b - connect the IR leds in place of the headphones (one led per channel)

That’s all, now you have an IR receiver. (Note: images refer to first attempt with a single LED connected once to a channel and then to the other till the correct one was found).

^^ INDEX

>> NEXT: Sample the remote control

Pubblicato su Uncategorized | 1 Commento »

Remote control 4: the emitter

Pubblicato da jumpjack su 22 Maggio 2008

== 4 == BUILD THE EMITTER

a - Pick the headphone cable

b - connect one led between left and right channel (don’t care GROUND)

c - connect the other led between left and right channel, but the opposite direction

Your emitter should look like this:

Please note the opposite orientation of the two leds!

You should connect them to your headphone cable this way:

Ok, your emitter is ready

^^ INDEX

<< PREV: Edit waveform

>> NEXT-  REPLAY THE WAVEFORM: (in this same page)

a - Plug the emitter into HEADPHONE output of your audio card

b - Position the two leds just in front of your device

c - Press PLAY in Audacity: your device should react to the command you previously sampled.

Pubblicato su Uncategorized | Non ci sono Commenti »

Remote control - 3: Editing waveform

Pubblicato da jumpjack su 22 Maggio 2008

== 3 == EDIT WAVEFORMS

Now you need to rebuild the original signal of the remote. As explained above, it’s just a matter of carrier present/absent. So:

a - Add 2 new mono tracks into Audacity project

b - Copy the “squared” signal into one track

c - On the other track, create a “tone” (the carrier): 38000 Hz 19000 Hz frequency, 0.9 amplitude

d - Select and delete unneeded parts of the tones; to do this, you have to zoom in: select a part of the signal, and click on the “zoom to fit” button:

You’ll obtain something like this:

e - Now click on an edge of the signal and drag the mouse down to the second track, until the selection reachs the edge of the next pulse in the signal:

f - Once thw WHOLE low-part of the signal is selected (see picture below), click on the “silence” button:

g - You should obtain “silence” on the lower track too:

h - Repeat steps e-f-g for all silence parts of the signal, until you obtain something like this:

Ok, now you have replicated the original signal.

Unfortunately, you can’t just “replay” it: soundcards can usually reproduce only signals up to about 20 KHz, but a remote control use 38 KHz modulation.

But some guys had a great idea some years ago (look here for their patent, now free available on internet; free registration required): simply connect two IR led to left and right channel, one the opposite way of the other, discarding GND, and play a stereo signal made of same signal with opposite phases: this will result in each LED producing a 19 KHz signal; their opposite phases allow signal “sum”, and the result is a 38 KHz signal.

How to accomplish all of this?!?

i - After deleting original signal track (you don’t need it anymore), create a new mono track in Audacity (menu can vary amond different versions):

j - Copy into it the just obtained (reconstructed) signal:

k - Select the whole track

l - Select “invert” from “effects” menu: this will inverti waveform phase:

m - select the first track and choose its own menu item to join it to the track below into a single stereo track:

You should now see a single stereo track:

Ok, now you eventually have the needed signal, which you can use to control your device.

^^ INDEX

<< PREV: Sample your remote

>> NEXT: Build the emitter

Pubblicato su Uncategorized | Non ci sono Commenti »

Remote control - 2: Sample your remote

Pubblicato da jumpjack su 22 Maggio 2008

== 2 == SAMPLE YOUR REMOTE

a - Start “Audacity”

b - Plug your receiver into MICROPHONE input of your sound card

c - Place your remote in front of the LEDs

d - Start recording: stereo track, 76000 Hz, 16 or 32 bit.

e - Press a button on remote

f - Stop recording

Ok, now you have a sample of one button of the remote. You should see two different tracks: you’ll have to consider just the one which looks like a “square wave”.

Indeed, on my audio card (VIA AC’97) sampling on one channel results in a sequence “triangles”, while on the other channel I get a sequence of “rectangles”. You’ll have to ZOOM a lot into the waveform, both vertically and horizontally, as the signal is very short (few milliseconds), and probably quite low.

The meaning of squares is “digital”: if the signal is high, it means a 38 KHz carrier is present; if the signal is low, no carrier is transmitted. Remote controls use different protocols to tramsmt signals. Look at this page for details (but you don’t need to know details to complete your remote transceiver).

^^ INDEX

<< PREV:Build your receiver

>>NEXT:  Edit waveforms

Pubblicato su Uncategorized | 2 Commenti »

World’s cheapest remote control replicator: just 1$ !

Pubblicato da jumpjack su 20 Maggio 2008

===>> New updated post

DOWNLOAD Windows software

You won’t need anymore complex circuits & complex software to sample commands from your remote control and to replicate them; all you need is just two standard IR led, which you can afford for about 0.50 $ each, or maybe you can extract from a couple of old remotes.

This method was tested with a VIA AC’97 audio card; please report if you have any success with different cards.

What you need:

- 1 spare headphone cable (0$ if you already have it, 10$ if you need a new one)

- 2 IR led (0$ if you have a couple of old remote controls, 1$ if you need to buy them)

- audio recorder software, e.g. Audacity, opensource and multiplatform (Windows/Linux)

What to do:

1) Build the receiver

2) Sample the remote control

3) Edit the resulting waveforms

4) Build the emitter

5) “Replay” the waveforms:

a - Plug the emitter into HEADPHONE output of your audio card

b - Position the two leds just in front of your device

c - Press PLAY in Audacity: your device should react to the command you previously sampled.

NOTES:

1 - For unknown reason, playing the resulting signal in Audacity works fine to control my device; but if I save the signal into a WAV file and reload it in Audacity, playing it results in… nothing! Any explanation for this?!? FIXED: it was due to wrong carrier frequency of rebuilt signal, which must be HALF of the needed carrier frequency! (19 KHz for 38 KHz, 18 KHz for 36 KHz…)

2 - You can’t save the signal in OGG or MP3 format, because this format distort the original signal

Please report results of your experiments! Good or bad, please just report and share! ;-)

References and credits at bottom of this page:
http://www.planetmobile.it/jumpjack/LedRem/
Available patents (not mine):
Infrared generator from audio signal source
IR receiver using IR transmitting diode

Pubblicato su Infrarossi, hardware | Contrassegnato da tag: , , , , , , , , , , , , | 6 Commenti »

Appunti su fattibilità telecomando tramite cellulare

Pubblicato da jumpjack su 10 Maggio 2008

Varie possibilità:

già pronte:

Novii Remote (solo alcuni nokia, a pagamento), utilizza porta IrDA, non puo’ campionare ma solo usare codici da scaricare da internet; c’e' da capire come creare nuovi codici

Psiloc IR Remote (moltissimi nokia s60, anche 3rd, stesso principio di Novii: non puo’  campionare).

La porta IrDa non puo’ essere usata per campionare i telecomandi, per motivi hardware, ma puo’ ”riprodurli”.

Pagina Psiloc da dove scaricare codici pronti:

http://irremote.psiloc.com/Show.aspx?d=TV

Pagina Psiloc per inviare codici da convertire:

http://irremote.psiloc.com/Wizard.aspx

Siti che forniscono codici per telecomandi (devono essere convertiti nei formati di Novii e Psiloc):

http://www.remotecentral.com

http://lirc.sourceforge.net/remotes/

Forum vari su configurazione Psiloc IR Remote:
http://www.nokioteca.net/home/forum/index.php?showtopic=79009&st=180
http://www.spaziocellulare.com/forum/showthread.php?t=11487&page=2
http://forum.telefonino.net/showthread.php?t=347683&page=3

Scaricamento codici pronti:

http://www.fileden.com/files/2008/2/23/1777406/APPS/IrRemote%20Codes%20Adapter%201.0.rar
http://www.novii.tv/up/forum/download.php?id=293&sid=5be11bcf85de88dc0f30504b4c4ea88d
http://www.novii.tv/up/forum/download.php?id=292&sid=5be11bcf85de88dc0f30504b4c4ea88d
http://lirc.sourceforge.net/remotes.tar.bz2
Download Psiloc IR Remote:
http://download12.getjar.com/downloads/web/pub/1758/Psiloc_Total_irRemote.sis
http://web.archive.org/web/20060321063024/http://www.psiloc.com/files/consumer/series60/Psiloc_TotalirRemote_S60.sis   (2.0 ???)

Download Novii Remote:
http://www.novii.tv/soft/NRN_21_Novii.zip
Programmi analoghi, per Windows Mobile (pocketPc)

Vantaggio: i PocketPC POSSONO campionare i telecomandi!

http://www.wincesoft.de/html/remotecontrol_ii.html

http://vitotechnology.com/en/products/remote.html

http://www.griffintechnology.com/griffinmobile/totalremote/  (fornisce anche hardware da collegare a presa cuffia, cosi’ qualunque dispositivo con uscita cuffia puo’ diventare telecomando! (ma prima bisogna registrare i codici!))  SITO MORTO

Progetti hardware di campionatori/replicatori telecomandi:

http://pc-ir-remote-vb.sourceforge.net/     PC IR Remote

http://www.geocities.com/odednoam/   IR Remote  - progetto semplicissimo: campionatore costituito da normale fotoresistenza collegata a scheda audio! (funziona solo al buio, registra codici telecomandi, per poi riprodurli sempre con scheda audio, stavolta collegata a diodo emettitore)

http://features.engadget.com/2004/07/27/how-to-turn-your-ipod-in-to-a-universal-infrared-remote-control/   Usare l’IPOD e il ”recorder di raggi infrarossi” della Griffin per telecomandare dispositivi.
Spiega anche come registrare IR senza PocketPC, con semplice diodo ricevente IR collegato a scheda audio.

http://people.inf.ethz.ch/mringwal/lirc/   Campionatore per LIRC e WinLIRC  (linux e windows)

http://it.rs-online.com/web/search/searchBrowseAction.html?method=getProduct&R=2861419    Diodo IR ricevente su RS-compnents

Pubblicato su Infrarossi, Symbian | Contrassegnato da tag: , , , , , , , , | Non ci sono Commenti »