Showing posts with label Infrared. Show all posts
Showing posts with label Infrared. Show all posts

Audio Card Infrared Receiver

 Posted by:   Posted on:    1 comment

Looking back at an old post where I described how to view, record and decode infrared remote protocol with no more than an integrated receiver, a few parts and your computer with the right software, I decided to make a PCB for such a circuit. Back then I used the breadboard to quickly connect the required parts. I also made some other tests. There is an inconvenient of a soundcard IR receiver. It requires power to operate, but there's no usable power output through the audio input of the computer. At first, I believed I could use the bias voltage for electret microphones that is present only on microphone input. But the IR receiver requires a minimum of 2.5 V. And my card only supplied 2 V. This voltage output cannot provide enough current to drive a DC-DC converter, therefore I had to find an alternative.

One option is to provide voltage from USB port. I didn't like this. If I'm using the USB port, I could as well use a microcontroller and send IR data over the same USB port without using an additional cable. Obviously, the second option is to use a battery. I used for this circuit a CR2032 cell, but this may not be the best option. The rechargeable type LIR2032 may as well be used.

Audio Card Infrared Receiver

Infrared receiver built on PCB

Infrared protocol analysis with PC soundcard

 Posted by:   Posted on:    No comments
Infrared communication is widespread among electronic devices that use remote controls. Because of this, there are more protocols in use and the data (bytes) sent to the device depend on manufacturer. This post will show you how to view the waveform of an infrared signal emitted by a remote control, how to analyze and decode it. Then it will be possible to reproduce it. In this way you can program your universal remote control or your mobile device (smartphone with IR transmitter) with the right code for the best results.

Instead of using an oscilloscope for signal analysis, due to the low frequency of the IR bit stream, an ordinary sound card will be used to view the signal. The signal is amplified, filtered and demodulated by the IR receiver, so only the bit stream is sent to the sound card input. This is sampled at the usual audio rate and displayed in various software tools.