Miscellaneous › Others › How to put ir sensor on pic16f877a on proteus? › Ir Sensor
March 25, 2015 at 11:51 am
#12728
LEO
Participant
Hey Alber,
You cant put ir on proteus as its a sensor and it deals with real world action.
See, the ir pair is going to generate a high pulse which will be counted by the controller. So you can build a logic to count the pulses on any I/O pin of the microcontroller and connect the IR pair on that pin.
You can test the code on proteus by putting a button on the pin and pressing it again and agian.
It will work in the same way with the IR pair.