Tutorial: Arduino Timer Interrupts

Normally an Arduino sketch merrily goes along doing what you want it to do, however sometimes you want things to happen at very specific time intervals. For example, counting the number of pulses over a set period of time to make a speedometer or frequency counter. In situations like these, the use of timer interrupts are very useful as you can stop the sketch at precise times and then call a specific action to occur. 

Although it initially sounds complex, Amanda Ghassaei has written a detailed and easy to follow tutorial which explains the concepts of timer interrupts, followed by some great examples. So to get started, head over to the tutorial and get started. And we’re on twitter and Google+, so follow us for news and product updates as well. 


If you are new to Arduino, join in with our range of Arduino-compatible hardwareprototyping shields and module range. A good start is the Freetronics Eleven, the Arduino Uno-compatible board with onboard prototyping space:


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: