On 06/23/14 09:18, Mark DM wrote:
> I came across these on ebay.
> I was wondering if anyone has tried to put an IR sensor like a Vishay
> TSOP 38238 sensor directly on a serial to TTL adapter like this. It
> would seem that the Vishay TSOP38238 might work directly without
> additional components as it will take 5 Volts I am looking for a
> solution I can use ion quantity without making homebrew adapters. I
> think the homebrew design became popular because TTL adapters like
> were not so available at a low price.
The "classic" RS232, still used very much in e,g, measuring devices and
more expensive comsumer electronics (AV-receivers, projectors,
dvd/Bluray players), typically uses levels of -12 volts to +12 Volts.
This guarantees a fair insensitivity to disturbance, but is lethal for
modern electronics, based on TTL levels or even lower (3.3 Volts). SO,
to use with modern, TTL-level based electronics some "adapter" is
needed. This is exactly what the said converter does.
For interfacing a TSOP-* with a modern micro-computer or -processor,
such a converter is nether needed nor useful. TSOPs work perfectly well
with TTL levels, or even (some exceptions) with 3.3Volts.
If you want to interface an TSOP to a modern micro-computer or
-processor, you are probably best of with a board with GPIOs, like the
Raspberry Pi or the Arduino, or something similar. For example, see my
little excercise for the Raspie:
A "PC" does not come with GPIOs, but the next best thing is (given a
serial port, unfortunately now considered "legacy") are the control pins
of the serial ports, DTR, DCD, RTS, CTS. (The data pins are too
restricted to cerain baud rates.) Intended for controlling serial
hardware, these can be "misused" as sort-of-GPIOs, which is exactly what
the LIRC serial driver does.
Hope this helps.
From: Jan Ceuleers <jan.ceuleers@gm...> - 2014-06-23 19:21:06
On 06/23/2014 08:23 PM, Bengt Martensson wrote:
> If you want to interface an TSOP to a modern micro-computer or
> -processor, you are probably best of with a board with GPIOs, like the
Warning: TSOP is a type of IC package, it does not determine the voltage
at which the component it houses operates.