In this paper, a handle-electrode system is proposed for obtaining the heart rate of a user while riding a bicycle. The system was designed to measure the user's heart rate by only gripping the handle of a bicycle. Three electrodes made from conductive cloth were adhered to the handle. A method detecting heart-rate from the obtained electrocardiogram was also proposed. To assess the applicability of the proposed system, a simple experiment was performed. The experiment was performed in four conditions of road surfaces; lawn, asphalt, a tiled, and an uneven road. Experimental result suggests that the proposed system can be useful for obtaining R waves while riding a bicycle.