team 15. code modules web server interface and operating parameters chemical level detection...
TRANSCRIPT
Software Design Considerations
Team 15
Code ModulesWeb ServerInterface and Operating ParametersChemical Level DetectionCalibration RoutineAdjusting Agent CalculationChemical Introduction Routine
Web ServerUse web server embedded in micro to view
data and change parametersWill be able to view database of Ph, Cl, and
temp levelsAlso can view if any tanks are emptyCan change Pool Volume, desired Ph and Cl
levels, and desired temperature.
Interface and operating parametersPerforms functions much like Web Server,
however changes can be made from the unit.Unit will display latest Ph, Cl, and temp levels
on an LCDSame parameter changes can be made from
the Unit as can be made on Web Server.
Chemical Level DetectionUsing the ATD channel get a voltage reading
that corresponds to a Ph, Cl, or temp levelWater will be pumped into a chamber where
the measurements take place
Calibration RoutineUsing two buffer solutions, create a linear
function for the Ph Sensor.
Adjusting agent calculationWe will use a formula found online that will
calculate how much Ph and Cl adjuster will be needed to introduce.
Chemical Introduction RoutineChemicals will be pumped into pool and
measured as they are introduced.
Main
Hierarchical Block Diagram
Calibration Routine
Chemical Introduction Routine
Adjusting Agent
Calculation
Ethernet
RTI SPI ATD
Web Server
Push Buttons
LCDChemical
Level Detection
Start
Main State Machine
Variable Parameters:Desired CLDesired PhDesired TemperaturePool Volume
Saved Data:Archive of Ph and Cl valuesVoltage reading for Ph meter
Web Server(view data
and set parameters)
Push Buttons
Scroll through menus andAdjust values
LCD Output
Time for calibrati
on?
Yes
No
Introduce buffer
solution 1
Introduce buffer
solution 2
Save recorded voltage
Save recorded voltage
Time to measure chemical levels?
No
Yes
Meaure Cl and Ph
Calculate amounts to introduce
Introduce chemicals
Variable Parameters
Variable Parameters
Questions?