The purpose of this study is to examine the effects of EEG signals on different cognitive tasks of the pedestrians. The author developed new software for simulation, called Pedestrian 3D virtual simulator which considered in detail the decision-making cognitive tasks of pedestrians, with simultaneous measurement of the EEG signals. Two walking sessions were designed: one receiving the SMS while walking, the other involved replying SMS while walking. Fifty subjects participated in the study. Based on the Singular Value Decomposition algorithm the EEG was considered to analyze of features. The results of this study show that It was determined that the right frontal lobes were active in distractions when pedestrians while walking. EEG changes during the tasks were seen in alpha 1 and alpha 2 bands substantial changes were observed in F1, FZ, F2 channels. The use of mobile phones (especially replying SMS) while walking negatively affected the perception of pedestrians, putting them at a risk for accidents, suggesting the need for interventions to decrease the use of mobile phones while walking. One of the most important results of the study is that an ongoing response is recorded in the middle of the prefrontal cortex in those who are careless walking.