This paper describes the design and implementation of the National Laboratory of Smart Grids in the University Campus (LAB+i) with the real-time integration of electricity, water and/or gas systems through six layers of Smart Grids that allow to make measurement of a process, local or remote communication in order to be integrated to the supervision and management system. Likewise in the following layers of the LAB+i, information management processes, decision making, modeling of systems and processes that enable the development of optimum efficiency and productivity applications are made. LAB+i is designed as a testing platform of technologies associated with Smart Grids, developing prototypes of measurement systems and communication drivers related to Smart Grids for Smart Cities. Finally, the research capacities, technology and innovation development are presented, which the LAB+i laboratory would allow to include the incorporation of local business pilot projects to be optimized, adaptive technology testing, evaluation of local environmental conditions and their requirements.