|
For a Science Fair project... I'm looking for a 12V mechanical ticker that will count up while attached to a power source. The unit I bought only ticks up once when power is first introduced. The experiment is to test what brand of battery runs the longest, and in differing environments. Ideally, start it up, check it periodically, and when the battery is spent, the counter will tell you how long the power lasted. |
by ROgden
November 06, 2025 |
|
One of the easiest solution is with an Arduino: it supplies you with an ADC (Analog to Digital Conversion) allowing you to start a timer when you insert the power source, and an event can be triggered when the voltage drops to a predefined voltage. The timer will give you the time it took. Just one caveat, you have to reduce the voltage seen by the ADC pin of the Arduino (or Raspberry, an ESP32, or another MCU; the Raspberry is more a micro computer than an MCU; programming is required, but it allows you to "modify" the functionalities without modifying the hardware.) |
by vanderghast
November 06, 2025 |
No answers yet. Contribute your answer below!
You must log in or create an account (free!) to answer a question.
Anyone can ask a question.
Did you already search (see above) to see if a similar question has already been answered? If you can't find the answer, you may ask a question.
CircuitLab's Q&A site is a FREE questions and answers forum for electronics and electrical engineering students, hobbyists, and professionals.
We encourage you to use our built-in schematic & simulation software to add more detail to your questions and answers.
Acceptable Questions:
Unacceptable Questions:
Please respect that there are both seasoned experts and total newbies here: please be nice, be constructive, and be specific!
CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.