Author Topic: Interfacing the Output of TSOP1738  (Read 5197 times)

0 Members and 1 Guest are viewing this topic.

Offline shyam4uallTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 0
Interfacing the Output of TSOP1738
« on: October 01, 2008, 01:11:40 PM »
I have built an IR module and the output of TSOP is not a constant one.It blinks as the incoming IR blinks ( IR LED is driven with bursts of 38 Khz frequency).TSOP gives ON and OFF o/p at a very high rate.

So how do I interface it

1)with parallel port directly
2)with RF module and then parallel port.

want to have both the ideas but finally..i would implement the RF module.

I want the output of the TSOP on my computer so that i can create a warning pop-up box whenever any obstacle is detected.

So please help me..

Online Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Interfacing the Output of TSOP1738
« Reply #1 on: October 08, 2008, 06:02:00 AM »

Offline shyam4uallTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 0
Re: Interfacing the Output of TSOP1738
« Reply #2 on: October 10, 2008, 07:19:56 AM »
Well i think none of my post is repeated.....I have posted different problems which i am facing and i have checked it twice before posting whether its repeated or not.

The problem which I am facing now is that i have no idea how to interface the TSOP with the RF module ,as the output is not a constant low or high for a period of time.It is fluctuating as the IR which it detects have bursts (I think i am able to forward my problem ).

« Last Edit: October 10, 2008, 07:21:49 AM by shyam4uall »

Offline izua

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
    • izua electronics
Re: Interfacing the Output of TSOP1738
« Reply #3 on: October 10, 2008, 07:38:49 AM »
You can't interface the RF module with a TSOP sensor.
This is, assuming generic devices, not specialised ones (a mcu which has a RF module is an example of a specialised one).

They are both sensors, so to say, and sensors (genneraly speaking) can't be connected to other sensors.
To interface the TSOP to the parallel port, feed the TSOP 5v, make the filtering diagram in his datasheet, and connect its output to a parallel port input. Check the internet for a parallel port monitoring tool.
Check out my homepage for in depth tutorials on microcontrollers and electronics.

Offline shyam4uallTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 0
Re: Interfacing the Output of TSOP1738
« Reply #4 on: October 10, 2008, 12:06:31 PM »
Well ...i need to have the information whether any obstacle is infront of my bot or not and that too wirelessly.For this I am using RF module.So connecting the output of TSOP directly to the parallel port will not help me.

If the output of TSOP can't be connected directly to the RF module then is there any interfacing device through which it can be connected ??

Offline izua

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
    • izua electronics
Re: Interfacing the Output of TSOP1738
« Reply #5 on: October 10, 2008, 01:17:52 PM »
Yes, you need a microcontroller (MCU - microcontroller unit).
The MCU will read data from the sensor, process it, apply it into a format, and then send it to the radio module.

Think of it the way a dumb printer and a camera works - you can't hook them up together, you need a computer to print photos. The smart ones actually have a small computer onboard (MCU or FPGA)

As a side note, it's a bad design approach to hook them up at the same time, you should first understand how the sensor operates, then play a little with sending random wireless data using the RF link - only after you can do both pretty good (or have already written functions for them) you should combine them.

A decent tutorial on interfacing TSOP sensors can be found on my site http://www.izua.ro/contents/4-Infrared_and_RC5
You'd only need the first pages of IR and TSOP, the last ones detail interfacing with a TV remote control, which isn't suited to your application.
Check out my homepage for in depth tutorials on microcontrollers and electronics.

 


data_list