Your hardware might work. Try running irrecord
in raw mode, or run mode2 -m to obtain readable data.
Look for repeatable data. irrecord raw format is just
a series of pulse and space lengths.
> I want to use my IR port a receiver only (transmitter is useless for=20
> me). So I put a 3 pin receiver diode on it and model is : TSOP4838=20
> from VISHAY .
It is not just a diode, it demodulates, amplifies and tunes to a
frequency, like an AM radio.
> perhaps I use bad receiver... can you give me a good receiver that=20
> will works with this kind of IR controller (if you can of course . IR=20
> controler is W83877TF ( I send mail to winbond but no answer )
I think your receiver is fine. This is a different type of receiver
found on IRDA hardware, so that is why it acts different.
> If I understand what you explain to me, I have to receive many=20
> interruption while PULSE and no interruption while SPACE. I=20
> thought that I receive ONE interruption at beginning of PULSE and=20
> ONE interruption at end of PULSE (ie beginning of SPACE) .
You want lots of interrupts during pulse period only if you
want accurate measure of pulse length. This just happens to be
what a typical laptop with IRDA gives you with a IRDA receiver,
not a IR remote control receiver like you hooked up.
Your circuit is also useful, because you get the longer range
provided by the IR remote receiver, but you lose the pulse length
information. Which you may not care about if all you want to do
is recognize button presses.
> After others tests, I receive only "single interruption" (at beginning of=
> PULSE) , that's why I have PULSE =3D 39. I want to know if it is=20
> because I use receiver TSOP4838 or because IR port W83877RF=20
> can't generate interruptions while PULSE ? I don't find nor any=20
> answer on winbond web site neither in W83877TF PDF=20
IRDA signal is composed of a RS232 data stream, where a pulse of IR
energy is used to represent each RS232 bit that is on.
IR energy coming from remote control is modulated(38khz). At the output
of your receiver it is demodulated, so that is why you don't get
lots of interrupts. W83877RF is not designed for this, so it may
work, it may not.
If you have a serial port or printer port free, you might want to try the