IR decoding with your… guitar


[Benjamin] sent in the craziest thing I’ve seen lately. He’s using the magnetic pickup in his electric guitar to sense IR signals. The guitar is hooked to a preamp that’s feeding into his computer. By capturing the pulses with something like audacity, you can grab samples of the codes without building any specialized hardware.

If you’ve got something for Hack-A-Day, use the tips line!

Comments

  1. TJ says:

    Now that is a damn hack. We need more simple hacks like this, which are more to the true spirit of hacking then thousand dollar projects taking a 100 hours to complete.

  2. Oxygenthief says:

    So does this mean Eddie Van Halen is now an Uber hacker???

  3. kakeflekk says:

    If i understood right.. You connect a el guitar to audio-in at your computer (trough amplifier), then you record with audacity (or something), then you just point a TV-remote (or something sending IR-signals) at the guitar strings?

  4. bbk says:

    I agree with that #1.

    It’s really weird that IR can disturb coils… does anyone has any idea of the physics involved???

    I wonder if it’s true IR or some side effect, like, say, some waves directly from the remote control circuit, and not from the IR leds on it. I definitely have to try this thing… and I guess I’ll try replace the led by equivalent normal diode to test my first guess, too.

  5. bbk says:

    Hey, guess what? I’ve just tryed with my old passive bass and Audacity. It actually works (I mean I get different signals when I press keys on the remote) but it works no matter where I direct the IR beam… the idea is to have the remote close to the coils, and even when hiding the IR or directing it in the opposite direction of the coil, the signal is exactly the same.

  6. marxc2001 says:

    This is quite a common occurrence when doing sound for bands – a friend of mine once put his mobile phone next to the ‘line in’ for a 100W amp (turned up to 11) – the interference of him getting a text message, when amplified, caused more than a few people to jump ;-)

    Anyone know any more acoustics hacks? (Has anyone else heard of the mysterious ‘cones’?)

    Sapere Aude

    MC.

  7. dan reetz says:

    It is *not* recording the infrared light from the controller. It is recording the EMF from the electrical pulses that drive the LED.

    You can put any electronic device near a guitar pickup and hear the EMF. Try a simple electric motor and you’ll get the idea.

  8. Wolfmankurd says:

    From a mobile near a speaker is due to EM waves effecting the magnetic field used to drive the oscillating deeley.

    I would guess this is kind of the same, IR is still EM. This might explain why all the pulse are same width, it’s only the change in the field that produces a change so the fact that one is of longer duration makes no change.

  9. Andrew says:

    Yeah,really nice))))I loved it from the first sight,but i really didn’t understand with its connection…

  10. Henry says:

    The reason this is so effective is probably because the LED in a remote control is way overdriven with huge current pulses, sometimes as much as an amp rather than the 20mA that an LED is usually rated for. They can get away with this because the pulses are very short and the overall duty cycle keeps the average current within the rating of the LED. I think you’d be unlikely to detect the current pulses if it were switched at only 20mA or so.

  11. W5JCD says:

    I used to do this as a kid, although I used an AM/FM radio. The AM coil antenna inside the radio case will pick up the same EMF from a remote, the remote is basically a very weak RF transmitter as explained above by Dan and Henry.

  12. ibanezfoo says:

    I used to do stuff like this all the time. Just grab any random electrical thing from around your house and use it right in front of your pickups. I saw Eddie Van Halen use a drill and that got my mind wandering… dunno how/why it works, but you can get some weird sounds out of things. Pickups that aren’t potted correctly can become microphonic, so you can sing into them and get some weird sounds for your vocals!

  13. “So does this mean Eddie Van Halen is now an Uber hacker???”

    No, it probably means that Les Paul was an “over” (German for “over” is “uber”, so it seems) hacker before his time. You could call him a “großhavker” which would imply he was a “mega hacker”, or a “Superhacker”, which translates to English as “super hacker”. It’s up to you, but for the love of the German language, please stop abusing “over”!!!

    -he who stacks pork

  14. Marco says:

    Well time to do research- is it the current going through the LED? In that case desoldering it should cause the interference to stop.
    To me it looks more like emf from some integrated circuit triggering the modulation since we see spikes instead of either the 40kHz carrier or a signal for the whole duration of each bit.

  15. Lyran says:

    It would be interesting to see what range of signal the pickups actually pick up. Obviously sound within the human range is caught, and Garry Goodman has an 11-string bass whose pickups can detect the 17hz of its lowest string. I may not be fluent in the exact physics, but I have a moderate understanding of the forces involved. Could lightwaves, microwaves, etc. be picked up as well, with the proper delivery?
    From a musical perspective (I play the electric bass), this is facinating to me. I’d be keen on investigating this further.

    Info on Garry Goodman: http://www.gopromusic.com/detail.php?siteid=264

  16. An observant reader informed me that this phenomenon is called capacitive coupling ( http://en.wikipedia.org/wiki/Capacitive_coupling ). He seems to be correct and it surely explains the shapes of the waves.

  17. russ says:

    YESSS. I discovered the remote+guitar the exact way this guy did(tom morello attempts) I just never thought it would be that useful!

  18. TheBlunderbuss says:

    Yes it works!

    EMF you say? Thanks Dan Reetz!

  19. Astrochess says:

    I don’t think this is capacitive coupling, but it’s a nice try. Capacitive coupling involves a build-up of charge on one plate; this can’t occur here because there isn’t a pickup ‘plate’ – if the coil were to act as a pickup plate, both leads would have the same charge, yielding no change in voltage (that requires a difference in charges).
    I think it is more likely that the change in magnetic flux is generating the waveforms here. This is because there is a high current in the remote, yielding a relatively strong magnetic field. The voltage generated in the pickup is given by the equation CHANGE IN MAGNETIC FLUX / CHANGE IN TIME = VOLTAGE. When the remote’s circuit turns on the LED, the magnetic field increases, causing a positive change in flux on the pickup. When the remote’s circuit turns the LED off, the magnetic field decreases, causing a negative change in flux.
    By the equation above, voltage is directly proportional to the change in flux, so this explains the spiked waveforms above and below the 0 line (when the current is held at the same level, there is no change in flux, so there is no voltage).

  20. Aaron says:

    Yeah, I’ve been messing with my guitar, whenever I point my remote at it, it makes this strange noise, and depending on the buttons I press, the pitch changes.

  21. keenan says:

    #18

    It could indeed be capacitative (though I suspect the inductive coupling as you do). The capacitor would be formed between the pickup and the remote circuitry, with the air between as the dielectric. A charge appears on the remote side, and is coupled to the pickup coil. I believe this is the same effect behind radio transmitters and antennas.

  22. Jason says:

    Hmm, so this is like Van Eck phreaking, but for remote controls? :-)

  23. astrochess says:

    re: 18

    i admit i don’t know much about radio transmission, so you could be right. luckily, there is a simple way to test which effect is making the waveform. someone could move an electrically charged balloon over the pickups. if a change in voltage is detected, the effect we’re seeing is not due to magnetic fields but to capacitive inductance.

  24. coldironhands says:

    I record vocals for my band by putting a cell phone next to the pick ups, then calling the phone and singing into the phone I called it from. You get some pretty interestign sounding vocals.

  25. I actually noticed this a while back. I kinda made my own hack by hitting record into my Sound Forge program, and then I noticed that I could hear a slightly airy high frequency. It was my palm pilot cell phone battery. It was emitting an almost scary frequency so I wanted to record it. You can hear once in a while the “clicks” are the actual electromagnetic pulses, and the frequency is the EMF and RF radiation waves… Kinda makes ya think about sticking it close to your ear again huh? :P I’m putting some links on it cuz well, anyone can use these files. If ya like it, have fun with it.
    The song can be previewed on reverbnation at
    http://www.reverbnation.com/justinwilliamsstreetteamexclusive and listening to the feedback trick track on there. The mp3 of the file can be found here at Rapidshare: http://rapidshare.com/files/236842705/cellphonetoguitarfeedback.mp3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 96,467 other followers