hi pescody
Attached a sketch for the 'front end' of the TV Remote detector.
[Follow what audioguru states about the IRX module/transistor]
The 4093 i/c is wired as a re-triggerable monostable.
The principle is, while you are pressing any TV remote button a train of
pulses is being detected and amplified. The first part of the 4093 is a high going
pulse train which charges up the capacitor 'Ctant'. When the charging voltage on
the Capacitor reaches the switching threshold of the second stage of the 4093,
this will drive the output low. The final stage of the 4093 is just used as
an invertor in order to give a positive going clock edge, which the 4013 clk
requires.
When you take your finger off the TV remote, the Ctant will discharge via
the variable resistor P1. As the voltage on the Ctant decays it will reach a
point where the second stage of the 4093 will switch off, its output going high.
The final stage of the 4093 will invert this and apply a low going edge to the
4013 clock, which will not toggle the 4013.
As a starting point for Ctant and P1, choose say a 1MegOhm for P1 and 2.2uF
for Ctant. [Ctant is a low leakage tantalum capacitor]
Adjust P1 while you press the TV remote key and release the key.
[Do this slowly at first]
You should get a point on P1 where you can toggle the LED ON and OFF with
alternate keypresses. I cannot give you more guidance on P1 and C as I don't
have info on your TV remote.
I have drawn this front end from the leftside, which is the conventional way.
Regards
EricG