Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > eb6f01499a5d4428f90019094419e1c5 > files > 853

liblirc-devel-0.10.1-7.mga7.armv7hl.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>

  <HEAD>
    <TITLE>LIRC - Serial Port Transmitters</TITLE>
    <LINK REL=stylesheet TYPE="text/css" HREF="lirc.css">
    <LINK REL="shortcut icon" HREF="favicon.ico">
  </HEAD>

  <BODY BACKGROUND="images/marb18.jpg"
    BGCOLOR="#FFFFFF" TEXT="#000000" ALINK="#9090FF">
    <TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
      <TR>
        <TD CLASS="menu" WIDTH="100%" HEIGHT="150">
          <IMG SRC="images/diode.gif" ALT="diode" WIDTH="300"
            HEIGHT="150" BORDER="0" HSPACE="20" VSPACE="0" ALIGN="LEFT">
          <IMG SRC="images/lirc.gif" ALT="lirc-logo" WIDTH="300"
            HEIGHT="150" BORDER="0" HSPACE="20" VSPACE="0" ALIGN="RIGHT">
        </TD>
      </TR>
      <TR>
        <TD WIDTH="100%">&#160;<BR>

          <!-- Text -->
          <HR WIDTH="70%">
          <H1 ALIGN="CENTER">Serial Port Transmitters</H1>
          <HR WIDTH="50%"><BR>

          <TABLE WIDTH="100%">
            <TR>
              <TD WIDTH="15%" VALIGN="top">
                &#160;
                <script type="text/javascript"><!--
                 google_ad_client = "pub-3628312733106047";
                 google_ad_width = 120;
                 google_ad_height = 240;
                 google_ad_format = "120x240_as";
                 google_ad_type = "text";
                 google_ad_channel ="";
                 google_color_border = "6060C0";
                 google_color_bg = "FFFFFF";
                 google_color_link = "7070E0";
                 google_color_url = "666666";
                 google_color_text = "333333";
                 //--></script>
                <!-- AD --><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
              </TD>
              <TD WIDTH="70%">
                <P>
                  The following text was taken from the
                  <A
                    HREF="http://www.metzlerbros.de/lirc/index.html">
                    lirc-0.3.6</A> package with kind permission of its
                    author, Ralph Metzler. I have just substituted the
                    ASCII arts by nicer GIFs (thanks to David Norris),
                    recommend another IR LED (the LED recommended
                    originally was transmitting at 880 nm which is not
                    suitable for remote control applications which use
                    950 nm) and added a small signal diode to protect
                    the IR LED from the voltage of the serial
                    port. Most IR LEDs have reverse voltage ratings of
                    only 5V. I received reports that the range of the
                    first circuit will be much smaller if you use it
                    together with an receiver. Sometimes it will even
                    stop working at all.
                </P>
                <P>
                  If you are looking for a circuit with better range
                  and don't want to use an external power supply you
                  should have a look at <A
                    HREF="improved_transmitter.html">Enrique Vidal's
                    circuit </A> that he <A
                    HREF="http://www.geocrawler.com/archives/3/3680/2001/1/0/5037984">
                    posted on the mailing list</A>. I haven't tried it
                  myself but it looks very promising.
                </P>
                <!-- AD --><P>
                  <!-- AD -->If you are looking for a ready-made
                  <!-- AD -->transmitter solution you should have a
                  <!-- AD -->look at the transceivers offered by
                  <!-- AD --><A HREF="http://www.irtrans.de/">www.irtrans.de</A>.
                  <!-- AD -->The transmitter part is quite powerful
                  <!-- AD -->and the driver software provides a LIRC
                  <!-- AD -->compatible socket interface.
                <!-- AD --></P>
                <CENTER><HR WIDTH="50%"></CENTER><BR>
                <P>
Simple transmitter circuit on serial port:
                </P>
                <CENTER><IMG SRC="images/simple_transmitter.gif"
                    ALT="Simple transmitter"></CENTER>
                <P>
R should be greater than 1K so that the current is less than 10mA (my serial
port has about +/- 10V). I guess it is also save to leave out the resistor
since the serial port should also have a max. short circuit current.
Since the maximum current is so small almost any infra-red LED should be
usable
                </P>
                <P>
The range of this device is up to 1m depending on the
receiving device (e.g. with my Sony VCR) and if you aim right at the IR
detector. Not good enough to be practical but enough to e.g. invent your own
code to control your computer and program a programmable remote with it.
                </P>
                <P>
Usage of the this circuit is not recommended if you value your serial port.
If it is on the motherboard I would not use it!
I use a serial port on a cheap serial card for testing.
Actually I only say this, so that it's not my fault if your house burns
down ...
Does anybody know what can happen if you short circuit the serial port?
                </P>
                <P>
If you don't want strain your serial port, use a bigger resistor or a simple
amplifier circuit like this:
                </P>
                <CENTER><IMG SRC="images/better_transmitter.gif"
                    ALT="Better transmitter"></CENTER>
                <P>
R in the amplifier circuit can be chosen as small as 5 Ohm (for 5V !).
Since the signal is pulsed and with a 40kHz carrier frequency, an
LED like the LD&nbsp;271 (or others with max. 100 mA) can tolerate 1A for
a short period of time.
Some data sheets might mention how high the current can go for certain
pulse lenghts.
                </P>
                <P>
But take care that after the signal is sent the signal line is low or
your LED might become a little "brownish" like one of mine did :-)
(It even still works, but the range decreased to a few centimeters ...)
It should be safe if you use >50 (>90) Ohm for 5 (9) V, but the range
will be much smaller.
                </P>
                <CENTER><HR WIDTH="50%"></CENTER><BR>
                <P>
                  Petteri Aimonen sent in the following suggestion to
                  better protect the curcuit from overloading without
                  significant loss of range. The trick is to add a
                  100nF - 220nF capacitor in parallel to the current
                  limiting resistor which he suggests can be then as
                  high as 50 Ohm:
                </P>
                <PRE>
       +5V
       |
      _|_    -->
      \ /    --> IR LED
      ---    -->
 BD237 |
   |---'
 --|
   |->-o------------,
       |            |
      | |50Ohm    ----- 100nF-220nF
      |_|         -----
       |            |
       o------------'
       |
     ----- Earth
      ---
       -
                </PRE>
                <P>
                  Another suggestion for a <a href="http://iguanaworks.net/ir/">
                    high-power LIRC transmitter/receiver</a> comes from
                  Brian Shucker. This design integrates both receiver
                  and transmitter in one circuit using one power supply
                  just ready to use.
                </P>
              </TD>
              <TD WIDTH="15%">
                &#160;
              </TD>
            </TR>
          </TABLE>

          <!-- Text -->
          <BR>&#160;<BR>
          <CENTER>[<A HREF="index.html">LIRC Homepage</A>]</CENTER>
          <BR>&#160;<BR>
        </TD>
      </TR>
      <TR>
        <TD CLASS="menu" WIDTH="100%">
          &#160;<BR>
        </TD>
      </TR>
    </TABLE>
  </BODY>
</HTML>