This paper presents the automation of a real activated sludge wastewater treatment plant, which is located at San Antonio Ajijic in Jalisco, Mexico. The main objective is to create an on-line automatic supervision system, and to regulate the dissolved oxygen concentration in order to improve the performances of the process treating municipal wastewater. An approximate mathematical model is determined in order to evaluate via simulations different control strategies: proportional integral (PI), fuzzy PI and PI Logarithm/Antilogarithm (PI L/A). The controlled variable is dissolved oxygen and the control input is the injected oxygen. Based on this evaluation, the PI L/A controller is selected to be implemented in the real process. After that, the implementation, testing and fully operation of the plant automation are described. With this system, the considered wastewater treatment plant save energy and improves the effluent quality; also, the process monitoring is done online and it is easily operated by the plant users.