In this paper, the charging stations (CSs) of electric vehicles (EVs) and their coordination at the substation level are presented. It is considered that the EVs of a particular area arrive at the CS in their idle time to charge their batteries. Fuzzy logic controllers (FLCs) have been designed at the substation and the CS level. The FLC at the substation level decides the amount of power to be compensated by the entire CSs, and the FLC at the CS level determines the power to be exchanged by individual CS. The aggregator at the substation level will distribute the power among the CSs connected to different subfeeders. Also, every subfeeder has an aggregator which distributes the power among different CSs connected to the same subfeeder. Batteries of EVs have been modeled which can handle the capacity loss at different charging/discharging rates $(C_{\rm rate})$ . The $C_{\rm rate} $ of the battery is controlled to achieve the desired rate of power flow between the grid and the EV battery. The main focus of this paper is to coordinate the EVs, present at the CSs, and support the grid by peak shaving and valley filling.