Presentation is loading. Please wait.

Presentation is loading. Please wait.

Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensors and Flowcharts.

Similar presentations


Presentation on theme: "Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensors and Flowcharts."— Presentation transcript:

1 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensors and Flowcharts

2 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Flowchart symbols Process Start / Stop Input / Output Decision Process Subroutine

3 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Security light Identify what instructions would need to go in the flowchart boxes to operate the security light.

4 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensor asks: Is movement detected? Sensor asks: Is movement detected? Start Turn on light Turn on light Turn off light Turn off light YES NO Construct a flowchart to operate the security light. Security light

5 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts YES NO Sensor asks: Is movement detected? Sensor asks: Is movement detected? Turn on light Turn on light Start Turn off light Turn off light Can you add a delay? Where would you put it? Security light

6 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts YES NO Sensor asks: Is movement detected? Sensor asks: Is movement detected? Turn on light Turn on light Start Turn off light Turn off light Delay 10 seconds Security light with delay

7 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensor asks: Is anyone there? Open door Delay 10 Close door Start Yes No Automatic door

8 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Automatic door – solution 1 No Yes Close door Sensor asks: Is anyone there? Open door Delay 10 Start What is the problem with this solution? How could you change it?

9 Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Automatic door – solution 2 (safe version) No Yes Sensor asks: Is anyone there? Open door Start Delay 10 Close door


Download ppt "Unit 9.1_Lesson 4_CD Resource 4a_Sensors and flowcharts Sensors and Flowcharts."

Similar presentations


Ads by Google