Presentation is loading. Please wait.

Presentation is loading. Please wait.

Your Brief: You are the lead programmer responsible for designing and implementing the control program that controls all input and output devices in the.

Similar presentations


Presentation on theme: "Your Brief: You are the lead programmer responsible for designing and implementing the control program that controls all input and output devices in the."— Presentation transcript:

1 Your Brief: You are the lead programmer responsible for designing and implementing the control program that controls all input and output devices in the automated tropical greenhouse. The Dewi Sant Automated Tropical Greenhouse Project After extensive research into the conditions necessary for the growth of tropical plants, it has been decided that the following procedures are required: if the temperature falls below 20 turn the heat on if the temperature goes above 30 open the windows if the level of light falls below 40 turn the light on if the soil is dry turn the sprinkler on Flowol provides a greenhouse mimic. It can simulate the following output switches and motors, temperature and light guages, and input switch. light switchoutput 6 turn output 6 on or off heaterouput 5 turn output 5 on or off windowsmotor a (motor a fd = open) (motor a rev = close) water sprinklermotor b motor b fd = on motor b rev = off temperature guageval 1 (is val1 > 20 ) light guageval 2 (is val2 < 40) moisture sensor -val 1 – on if dry off if wet Note: with the motors you need to swith them off after fd or rev. e.g. motor b fd b off. Top tip: when opening the mimic tick click to increase right click to decrease

2 Exercise 1: Controlling the heater Join up the decision box to the two process boxes, and each of the process boxes to the delay box. Test & run Extension: Modify the flowchart to control the lights.

3 Exercise 2: Controlling the water sprinklers Join up the decision box to the two process boxes, and each of the process boxes to the delay box. Test & run Click in here to toggle the moisture sensor Extension: Modify the flowchart to control the window.

4 Exercise 3: Controlling two or more outputs with multiple flowcharts Fill in the missing links. Test & run Extension: Modify the flowchart to control both heating and window in one extra start/stop stream.

5 Exercise 4: Increasing efficiency via the use of sub-routines. Temperature is > 25 Turn off heating Open the window. Temperature is less than or equal to 25 Close the window and check whether heating should be on or off


Download ppt "Your Brief: You are the lead programmer responsible for designing and implementing the control program that controls all input and output devices in the."

Similar presentations


Ads by Google