0
\$\begingroup\$

I am testing the output of the following basic IR transmitter/receiver circuits and not getting the result I thought I would.

schematic

simulate this circuit – Schematic created using CircuitLab

I have tested the output of the 555 astable circuit and DMM confirms OK (I have a trim pot to control).

When I close SW1, DMM shows momentary drop in voltage at Vout of receiver (approx 3.3V) but if I hold it closed, DMM returns to reading Vout = 4.5V.

I thought I would see Vout = 0V for the duration that SW1 is closed. What is the expected response and what do I have to change to achieve that?

\$\endgroup\$
4
  • \$\begingroup\$ What frequency are you using? \$\endgroup\$
    – user319836
    Commented Apr 11, 2023 at 19:47
  • \$\begingroup\$ 38 kHz - is that not clear from the schematic? I'm pretty new to this forum so if I've expressed myself wrong please advise, thank you. \$\endgroup\$
    – RickyBoy
    Commented Apr 11, 2023 at 19:53
  • \$\begingroup\$ To be precise, DMM reads 37.95 kHz \$\endgroup\$
    – RickyBoy
    Commented Apr 11, 2023 at 19:56
  • \$\begingroup\$ Remember to add a link to the datasheet vishay.com/docs/82459/tsop48.pdf \$\endgroup\$ Commented Apr 11, 2023 at 20:09

2 Answers 2

1
\$\begingroup\$

What is the expected response and what do I have to change to achieve that?

The expected response is one short output pulse from TSOP4838 starting from 4.5V to GND...when the LED is pulsing continuously at 38 kHz.
The problem is that TSOP4838 adapts to a continuous 38 kHz, in a similar way that your eye adapts to dim moonlight at night, and bright sunlight during day. Its adaptation is quite short, so that it quickly gets used to constant 38kHz and returns to its idle state of 4.5V after just one pulse.

What is needed is short bursts of 38kHz, separated by no light output: input LED, output pulses timing

\$\endgroup\$
2
  • \$\begingroup\$ Am guessing your application runs afoul of IR remote sensors whose block diagram shows a block called AGC (automatic gain control). You might want TSSP4038 proximity sensor - it works at 38 kHz too, but seems to me that the data sheet suggests continuous 38 kHz gives a continuous low digital output. Its block diagram shows no AGC block. Having no AGC might stop adaptation. It may be that sensing range is somewhat shorter than those employing the AGC block. \$\endgroup\$
    – glen_geek
    Commented Apr 11, 2023 at 20:36
  • \$\begingroup\$ As I put in comment to @Justme, I believe I could feed a PNP + bistable to achieve continuous high output. Alternatively I will check datasheet for 4038. Thanks for the answer. \$\endgroup\$
    – RickyBoy
    Commented Apr 12, 2023 at 9:55
1
\$\begingroup\$

The TSOP4838 just does not work like you expect. It is not designed to receive continuous long burst of 38 kHz but to filter it out.

The TSOP4838 will filter out continuous signals at any frequecy. It reads in the data sheet.

So for long enough burst of 38 kHz, it will start ignoring it.

The module has an AGC (automatic gain control) to adjust itself to adapt tp varying lighting conditions. That is why the 38 kHz burst must be short enough to be detected, and that's why there must be a long enough gap between bursts to allow the detection to stay at ambient level. So the part will adapt to long burst being present.

The point is to send bursts of 38 kHz and then a pause to allow the TSOP4838 to stay sensitive enough for the next burst. The suggested minimum and maximum burst lengths and minimum gap between bursts are in the data sheet.

These parts (TSOP4838, TSOP1738, etc) are for remote control receiving, not for detecting a break of continuous 38 kHz beam.

\$\endgroup\$
3
  • \$\begingroup\$ Thank you, I will check that - is that different to 1738? In which case I bought the wrong component. Will report back... \$\endgroup\$
    – RickyBoy
    Commented Apr 11, 2023 at 20:01
  • \$\begingroup\$ TSOP1738 will also reject continuous 38 kHz. \$\endgroup\$
    – Justme
    Commented Apr 11, 2023 at 20:20
  • \$\begingroup\$ You are right. I took an application from the net and the wording was such that I misunderstood what the application was designed to achieve. Now I read it again with this in mind I see it can be interpreted as you describe. And this ties with the datasheet. It's not a big deal as for my application I could feed a bistable for example. But thank you very much for the answer. \$\endgroup\$
    – RickyBoy
    Commented Apr 12, 2023 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.