TSOP34836 Ir reciever headache....

Gribble

New Member
Hey guys, having some problems with recieving a signal from the tsop receiver.

The idea is to sense a wall about 100mm away. Its going on a robot tafe project. At the moment the Ir LED is facing directly into the sensor for testing.

So far my diagnosis on the problem goes;

1. Check IR led with phone camera, its working,
2. Check maths for 36kHz output, working
3. Check wiring against pdf supplied by vishay, fine.
4. Put Vcc direct to output pin, pin senses the voltage.
5. Check that Vcc is about min for receiver, its fine at 4.5v (min is 2.7v)
6. Tested with and without CnR suppresion, wont work either way.

Here is the program, output pin of tsop goes to pin2.

pwmout 1 , 27, 56
main:
b0 = pin2
sertxd("Pin2 = ",#b0,13,10)
goto main

Any help appreciated, please dont suggest other methods as IR is required for this project to get the pass mark.

Thanks guys!
 
Last edited:

eclectic

Moderator
Gidgee.

I've built what I think is your circuit, using a 28X1.

PWMout1 to IR LED/res.

TSOP38 wired as manual 2 p.80 to input 2.

Modified your program slightly, for 38 kHz.

It works, albeit at short distances only.

You might need to look at say an 08M, continually sending a single value, and
the 28X1 IRIN function, with timeout, to allow greater flexibility.

Code:
#picaxe 28x1
pwmout 1 , 25, 53 ' for TSOP38
'changed from 36K pwmout 1 , 27, 56
main:
b0 = pin2
sertxd("Pin2 = ",#b0,13,10)
goto main

'1 = no signal
'0 = signal rx
e
 

Attachments

BeanieBots

Moderator
4. Put Vcc direct to output pin, pin senses the voltage.
I hope it was not trying to "pull-down" when you did that or you'll need a new TSOP!

How about putting a DMM on the pin.
Make sure the level changes with and without exposure to the modulated IR.
 
Top