Dynamic interactions of a driven pendulum with photoelastic granular media