Okay, that is like the design I first intended to build. But if anybody would provide a more complex and more accurate tester I would be very happy.
And again, which one is the better diode or transistor? I've read that diodes give a clearer rise and fall in voltage? And also, why is IR better than any visible light?