Accuracy Testing Results and Draft Code
(Week 7)
Accuracy Testing Results
Each sensor and pump needs to be accurate to regulate the environmental conditions within the hydroponic system. Each electronic was tested according to the accuracy tests detailed in Testing Procedures. The results of each test are listed and explained below.
List of Test Results
pH Testing Results
The pH sensor measured the five tested materials within the acceptable pH range of the known values and the pH strip test. The pH sensor is accurate.
NOTE: The colored regions are the acceptable error ranges (+/-0.5) for pH values, dependent on the tested liquid.
CO2 Testing Results
The CO2 sensor measured within the acceptable range of 419 ppm. The CO2 sensor is accurate.
NOTE: The colored region is the acceptable error range (380 ppm to 460 ppm) for CO2 readings.
Room Temperature Testing Results
The room temperature was measured within the acceptable range of 22.6°C. The room temperature sensor is accurate.
NOTE: The colored region is the 5% error range (21.5°C to 23.8°C) for temperature (Celsius) readings.
Relative Humidity Testing Results
The relative humidity sensor measured within the acceptable range of 20%. The relative humidity sensor is accurate.
NOTE: The colored region is the acceptable error range (18% to 22%) for relative humidity readings.
Electrical Conductivity Testing Results
The electrical conductivity sensor measured the two tested liquids within the acceptable EC range of their known values. The electrical conductivity sensor is accurate.
NOTE: The colored region is the acceptable error range (+/- 50 μS/cm) for electrical conductivity readings, dependent on the tested liquid.
Water Temperature Testing Results
The water temperature was measured within the acceptable range of 67.1°F. The water temperature sensor is accurate.
NOTE: The colored region is the 5% error range (63.7°F to 70.5°F) for temperature (Fahrenheit) readings.
Peristaltic Pumps Testing Results
Each peristaltic pump was called to move an amount of water from 2 mL to 5 mL within 0.5 mL intervals. Each pump's actual dispended water is graphed below. All three pumps are the most accurate when dispensing lower amounts of water.
Draft Code
Each sensor and pump needs to be able to operate within one code file. This draft Code runs all four sensors and three pumps in a continuous loop without any input from the user. Below are the output of the code, a video of the code operating, and the draft code itself.