This C# Visual Studio 2013 project triggers a signal when a heart beat is detected with a camera. It was used to trigger an x-ray machine or a confocal microscope to capture images of hearts at the same time point of the heart beat cycle. It requires an Arduino board and a Pointgrey firefly camera.