im using an optocoupler or an led and photodiode(not decided yet) to count the
number of balls passed.i had calculated that when the light is interrupted during the passage of
ball an output of 3v is produced(this can be changed).i can design the logical counting circuit
but i dont know how to use 3v to trigger the flip flop which triggers at 5v or if i use adder
then how i can produce binary code.plz help