- This topic has 1 reply, 2 voices, and was last updated 8 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Miscellaneous › Others › How to put ir sensor on pic16f877a on proteus?
help me about this.and give some coding to detect such as 1 obstacle pass trough ir, it will be count 1 ammount..plsss guys
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.