A battery-operated biomedical wearable device gradually assists in clinical tasks to monitor patients’ health states regarding early diagnosis and detection. This paper presents the development of a self-powered portable electronic module by integrating an onboard energy-harvesting facility for electrocardiogram (ECG) signal processing and personalized health monitoring. The developed electronic module provides a customizable approach to power the device using a lithium-ion battery, a series of silicon photodiode arrays, and a solar panel. The new architecture and techniques offered by the developed method include an analog front-end unit, a signal processing unit, and a battery management unit for the acquiring and processing of real-time ECG signals. The dynamic multi-level wavelet packet decomposition framework has been used and applied to an ECG signal to extract the desired features by removing overlapped and repeated samples from an ECG signal. Further, a random forest with deep decision tree (RFDDT) architecture has been designed for offline ECG signal classification, and experimental results provide the highest accuracy of 99.72%. One assesses the custom-developed sensor by comparing its data with those of conventional biosensors. The onboard energy-harvesting and battery management circuits are designed with a BQ25505 microprocessor with the support of silicon photodiodes and solar cells which detect the ambient light variations and provide a maximum of 4.2 V supply to enable the continuous operation of an entire module. The measurements conducted on each unit of the proposed method demonstrate that the proposed signal-processing method significantly reduces the overlapping samples from the raw ECG data and the timing requirement criteria for personalized and wearable health monitoring. Also, it improves temporal requirements for ECG data processing while achieving excellent classification performance at a low computing cost.