Determination of 'g' via Optical Photogate Timing
Measure time period $T$ of a simple pendulum with microsecond accuracy using hardware interrupt Pin 2 (INT0).
Governing Equations
When the pendulum bob passes through the optical gate twice, the hardware interrupt timer registers period $\Delta t$ in microseconds and calculates local gravitational acceleration $g$.