working heart beat sensor