Here is another how-to from Jeff, this time he describes using a 555 timer as an external clock for the Arduino. It’s a really interesting technique on how to get a fairly accurate external interrupt at lower frequencies.
The key here is an ‘external clock’. Rather than have the Arduino keep track of when to perform the next task, you have an outside signal that says “Now!” and fires an interrupt which the Arduino responds to. If your source fires every 100 milliseconds, then 10 times a second, the Arduino will receive an interrupt which will stop any processing currently happening and immediately execute the interrupt handler. For every tick of the clock, the interrupt handler will execute.
In the Maker Shed:
![]()

Make: Arduino










Why would you choose to add more hardware when you could use one of the built-in timers?
Don’t get me wrong- I’m sure there’s a reason, but it’s not very obvious. (Other than to maybe add an extra timer when the others have already been taken?)
Hi Ryan,
Good question, and the most honest answer is “because I didn’t know about the hardware timers when I wrote it”.
[How many noob points do I get for that?]
But I feel there are some good reasons why this is still a valid technique. For one, I think the longest interval the hardware timers will do is 8.3 seconds, and you might want something longer than that. Also, it’s possible that you could be interfacing with existing hardware that has a 555 running as it’s own clock that you want to sync to.
But mostly this was a learning experiment for me, it had been a long while since I even looked at a 555 much less used it for anything, and I figured “hey, that would make a fun little project I could write up”.
Jeff
// What's Trending
Raspberry Pi Design Contest
Dad Builds Son an Iron Man Arc Reactor
Teardrop Camper Trailer
Seventeen Sneaky Secret Hides
What to do with an 800 Lb Eucalyptus Slab
10 Things to Connect to Your Raspberry Pi
80-Ruxpin Art Installation
3D Printed Kinetic iPhone Cases
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
In the Maker Shed: Minty Boost USB Charger
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
Plastic Bags into Plastic Blocks: Revisited
10 Hot New Boards to Watch
Why the Maker Movement is Here to Stay
MAKE Asks: Roadside Hacks
Ten Tips for Hand Saws and Blades
DIY Hacks & How To’s: Convert From Battery Power to AC
How To Make Your Own Laundry Detergent
What to do with an 800 Lb Eucalyptus Slab