Atrial Fibrillation (AF) is the most familiar example of arrhythmia that will occur health problems such as stroke, heart failure and other complications. Globally, the number of AF patients will more than triple by 2050 worldwide. Current methods involve performing large-area ablation without knowing the exact location of key parts. The reliability of the technology can be used as a target for atrial fibrillation’s catheter ablation. The factors that leading to the onset of atrial fibrillation include the triggering factors that induce arrhythmia and the substrate that maintains the arrhythmia. The project’s aim is to create a method for identifying AF that can be used as screening tool in medical practice. The primary goals for the detection method’s design are to develop a MATLAB software program that can compare the complexity of a normal ECG signal and an AF ECG signal. Currently, this can be achieved by the ECG Signal’s R peaks and RR Interval. For AF detection, there are more R peaks and RR Intervals and it is irregular. In this research, the detection of AF is based on the heart rate (RR Intervals). For the ECG preprocessing, Pan-Tompkins Algorithm and Discrete Wavelet Transform is used to detect the sensitivity on the R peaks and RR Intervals. As a result, Discrete Wavelet Transform algorithm gives 100% sensitivity for the dataset obtained from MIT-BIH Atrial Fibrillation and MIT-BIH Arrhythmia Database.