Sensors read- out. An optical heart rate sensor can be achieved using infrared light by placing one’s finger between the IR led and the light transistor of an led module connected to a microcontroller (Arduino board in this case) sensor. The heartbeat dilates the blood vessels in the finger, and the generated pulsating signal waves after IR filtering can be used to estimate changes in the finger’s blood vessel volume.