Heart rate (HR) is vital for medical and healthcare purposes. This study presents an Android-based heart rate measurement system utilizing a single-lead electrocardiogram (ECG). Three electrodes placed on the arm in lead I configuration capture the ECG signals. An AD8232 sensor amplifies the signal, which is then digitized by Arduino Nano and transmitted to an Android device via HC-05 Bluetooth. The Android application processes the ECG data using the Pan-Tompkins algorithm with an optimized threshold coefficient to extract HR information. The system displays the ECG waveform and the calculated HR on the user interface. Our evaluation demonstrates high accuracy with an error rate of only 0.042%, sensitivity of 99.84%, and positive predictive value of 97.06%. This research suggests the potential of this system for convenient and reliable HR monitoring using readily available smartphones.