How-to: Using a 555 timer as an external clock for the Arduino

Arduino
How-to: Using a 555 timer as an external clock for the Arduino
555circuitpic.jpg

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:
Makershedsmall
Arduino Family
Make: Arduino

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK