I need to develop a circuit to measure charging time of capacitor I am kind of less in practical knowledge (this is my first project) So far I have thought of giving a reference input and capacitor voltage to comparator then there is counter that will count the number of time it will go high then the time divided by the no. of times it will go high will give me the charging time that will be displayed on LCD Is this method Okay? Will it work? Can any one please draw me a detailed circuit daigram for the same PLEASE!!!