6.3.1.7 Lab - Draw A Flowchart For Your Project
6.3.1.7 Lab - Draw A Flowchart For Your Project
6.3.1.7 Lab - Draw A Flowchart For Your Project
Objectives
List the project steps
Draw the flowchart
Background / Scenario
Flowcharts are diagrams used to represent processes or workflows. Taking advantage of different shapes,
boxes and connecting arrows, a flowchart represents the solution flow to a given problem. Flowcharts are
commonly used to represent programs, algorithms, or any ordered process in various disciplines. Flowcharts
are typically created prior to starting a process or writing an application in order to catch potential logic
problems before they are implemented.
Flowcharts can be hand drawn or created using a number of packages including Microsoft Office applications,
LibreOffice, GoogleDocs, and various web applications such as draw.io.
Some of the most common flowchart symbols are shown in the diagram along with the intended purpose for
the symbol. Lines with arrows show the flow of the process.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 9
Lab – Draw a Flowchart for Your Project
The basic steps to create the IoT project need to be determined in order to create a flowchart of the process.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 9
Lab – Draw a Flowchart for Your Project
Step 2: Select the appropriate symbols and label them on the first page.
a. From the flowchart menu, choose a Terminator symbol and set the text to Start.
b.
c. Choose a Process symbol centering it below the Start symbol and set the text to Set up IFTTT Recipes,
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 9
Lab – Draw a Flowchart for Your Project
d. Choose a Decision symbol centering it below the previous Process. Change the text to “Does Account
Exist?”
e. Choose a Process symbol centering it below the Decision symbol. Change the text to “Log into IFTTT
Account”.
f. Choose another Process symbol and center it to the left of Decision symbol. Change the text to “Create
IFTTT Account”
g. Choose a Process symbol and center it below the Process to log into the IFTTT Account. Change the
text to “Create SunRise/SunSet Recipes”.
h. Connect the symbols with arrows to look similar to the flowchart shown and add the text for the yes/no
decisions.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 9
Lab – Draw a Flowchart for Your Project
i. Choose two more Process symbols changing the text to “Design & Build Circuit” and “Create & Run
Application”.
j. In order to keep things readable choose an Off Page Connector and center it below the last Process
symbol added and connect arrows as in the graphic.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 9
Lab – Draw a Flowchart for Your Project
b. Choose a Data symbol centering it below the previous Connector. Change the text to “Read Light
Level”.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 9
Lab – Draw a Flowchart for Your Project
c. Choose a Decision symbol centering it below the previous Data symbol. Change the text to “Is level >
Threshold?”
d. Choose two more Decision symbols centering one directly below previous Decision and the other one
centered to the right. Change the text to what is shown in the diagram.
e. Choose a Predefined Process symbol and center it to the right of the Previous light detected decision
symbol. Change the text as shown.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 9
Lab – Draw a Flowchart for Your Project
Note: The Predefined Process was selected since the recipes are already configured within IFTTT.
f. Choose a Predefined Process symbol and center it below the Same as previous reading decision
symbol. Change the text as shown.
g. Choose a Process symbol and place it to the right of the Same as previous reading decision symbol.
Change the text “Wait 1 second”.
h. Choose a Connector centering it below the previous Process symbol.
i. Connect all of the symbols with arrow lines as shown in the diagram and label the decisions as indicated.
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 9
Lab – Draw a Flowchart for Your Project
Note: The Connectors are a common junction point when more than one process or decision creates the
same flow. In the case of the connector above the Read Light Level data symbol it provides a
starting/return point for the continuous loop. Typically processes have both a start and an end however
this process will only terminate when the application is terminated or the equipment is turned off.
Reflection
What is the purpose of diagraming IoT interactions?
_______________________________________________________________________________________
_______________________________________________________________________________________
_______________________________________________________________________________________
© 2017 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 9