Week 11: Segment 2: USe of Comparator Interrupts for detecting sound events with a microphone
This segment focuses on comparator interrupts. Comparator interrupts are similar to external pin interrupts in that they cause the execution of an Iterrupt Service Routine (ISR) when an event occurs on an Arduino input pin. The difference to standard external interrupts is that the comparator interrupt can be triggered by an 'analog' voltage change, i.e. a change that can be smaller than a digital change from 0 to 5V or vice versa. Responding to sound events recorded with a microphone is a prime example for using a comparator interrupt.
Materials for this segment:
Main Arduino sketch used in the tutorial: