The five pieces of code (why five?) fit nicely in the 9,000 character limit.
Why don't you start with writing a smallest possible example that shows the problem? In your case a sketch that just reads the heart beat sensor. That's anyway what you already should have done to even have a chance of tracking down the problem (and in the process verifying it's not the sensor that's at fault).