Measurements are taken in Italy. Voltage and frequency sensing are obtained using an AC-AC transformer and a divider circuit which reduces the peak voltage to that of Particle Photon's pin range.
Shows the counted heart rate with Arduino and sent with ESP8266.