object countermayor072014-10-12T14:26:17+00:00 Home › Forums › Microcontrollers › object counter Tagged: Counter, LED, PIC This topic contains 1 reply, has 2 voices, and was last updated by Ligo George 3 years, 2 months ago. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 12, 2014 at 2:26 pm #9554 mayor07Participant hello 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 PIC November 11, 2014 at 11:22 am #9807 Ligo GeorgeKeymaster Hello, 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 Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.