A greenhouse environment control system for optimizing the greenhouse environment, the system comprising: sensors located in the greenhouse to sense greenhouse environmental parameters and generate corresponding signals; a first wireless transceiver unit connected to the sensors and wirelessly transmitting data corresponding to the signals; a second wireless transceiver unit wirelessly receiving the data; and an FPGA connected to the second transceiver unit, the FPGA monitoring the data and generating control signals based on the data to control the greenhouse environmental parameters, wherein the FPGA generates control signals based on the data to control greenhouse infrastructural components, the quantity of water provided to the crops/plants in the greenhouse, to maintain the pH of the soil in the greenhouse, and to harvest the crops for packaging.