Home › Forums › Microcontrollers › object counterTagged: Counter, LED, PICThis topic contains 1 reply, has 2 voices, and was last updated by Ligo George 4 years, 6 months ago.Log In Register Lost PasswordViewing 2 posts - 1 through 2 (of 2 total)Author PostsOctober 12, 2014 at 2:26 pm #9554 mayor07Participanthello guys, i am making an object counter based on a pic 16F877, i need to count the pulses that occur when an LED goes on and off, how do i connect these wires that are across the LED to a PICNovember 11, 2014 at 11:22 am #9807 Ligo GeorgeKeymasterHello, Sorry for the delay in reply. You may also sense the LED status by using Photo diode. It is the best method. Or You can take the voltage across LED. Use a Transistor as a Switch to boost the voltage to 5v.Author PostsLog In Register Lost PasswordViewing 2 posts - 1 through 2 (of 2 total)You must be logged in to reply to this topic.