July 30, 2012

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 comment

Comments have to be approved before showing up.