How does the computer acquire data from the greenhouse?
Sensors in the greenhouse send an electrical signal (either voltage or current) that varies as the quality measured varies. To use this data, the computer converts it to a number that its program can process. An environmental control computer uses a device called an analog-to-digital converter for this purpose.