i want to use IR sensors with emitter part ( IR led ) - calibrated with an IC timer to give 38KHZ IR signal - mounted side by side - not face to face like the counter module - to the receiver part ( TSOP4838 ) which will turn on once something reflect the IR signal back to the receiver. [ the default is that IR signals will go straight forever without being seen by the receiver ].
I've followed the steps of a circuit using IR sensor in an object counter module it included transistors to be triggered instantly as described
the problem is that it gives an instant pulse to trigger the 7-segment display. but in here i don't need it to be instant. how could i implement it to make the LED bright as long as i block the path [ not instantly ]. and to be off whenever there's no object in front of the robot