A low cost monitoring system of PV modules in nanogrid