Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Best IC for my timer/stopwatch/countdown timer project.

Status
Not open for further replies.

eebhoi01

Advanced Member level 4
Joined
Feb 22, 2012
Messages
116
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,347
Hello,

Good day, I'm about to start a simple project. A device like that of a basketball timer, only that I am using it as timer for our native sport here in our locality.

I will be using an Atmega MCU as my main controller, I understand that MCU is not best to be used as timers, my question is could anyone please suggest an IC that I could look into that can do such purpose and can be interfaced with the MCU via SPI, i2C or UART. My second question is, am I right that RTC can be used for such purpose? I don't have any experience with RTC so please forgive my little knowledge. Thank you so much!
 

RTC is the usual choice for keeping time and date information. A pure stop watch and timer project won't necessarily need it. Consider that standard RTC chips (e.g. DS1337) don't provide higher time resolution than 1 second.

I presume everything can be well implemented in software with your ATmega processor.
 
Hi,

I see no need for an RTC. Any microcontroller with an XTAL clock will do the job.
Use an uC internal timer/counter to generate a precise and useful timebase. 10ms....500ms.
Even witnout RTC it will be as precise as the XTAL clock. Some 10 ppm.

I understand that MCU is not best to be used as timers
What do you mean?

Klaus
 
Hi,

I see no need for an RTC. Any microcontroller with an XTAL clock will do the job.
Use an uC internal timer/counter to generate a precise and useful timebase. 10ms....500ms.
Even witnout RTC it will be as precise as the XTAL clock. Some 10 ppm.


What do you mean?

Klaus

Before, there were high school students who ask for help on their project. Their project has a pendulum, they need to count the time interval for each swing of the pendulum and the total swings before it comes to a full stop. It was for their physics subject.

The only thing is we used arduino wayback then. We successfully implemented the code only that, when we compare the time interval recorded by the arduino against a real stopwatch it has a huge difference. That makes me assume that the MCU is not suitable for timers application.
 

Hi,

when we compare the time interval recorded by the arduino against a real stopwatch it has a huge difference.

This surely is not a problem of the microcontroller, it is a problem of the used code.

Klaus
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top