Agriculture and allied activities play a vital role in a country's economic prosperity. The conventional methods in agricultural practices have become grossly inadequate to cater to the increasing needs. Thus it has become imperative to adopt novel technologies to raise agricultural standards. This paper proposes a smart farming system in a limited, enclosed area wherein different sensors are strategically positioned to measure parameters such as moisture content, temperature, pressure, light intensity and pH of the soil. This is devised in such a way that it could be setup by any individual at minimum cost. Thus the productivity is enhanced as the favorable environmental conditions required for the plants are provided.