Flow Diagrams Start End

Slides:



Advertisements
Similar presentations
Working With Algorithm and Flowcharts
Advertisements

COMPUTER PROGRAMMING I Understand Problem Solving Tools to Design Programming Solutions.
Sensors.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Flow Charts In this flow chart we see that the robot will move until it bumps into an object There are two possible choices, similar to true and false.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
CSC103: Introduction to Computer and Programming
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
BEGINNER PROGRAMMING Lesson
Program ultrasonic range sensor in autonomous mode
Estimating Square Roots The square root of a number is the value that, when multiplied by itself, gives the original number. 2 x 2 = 4 Square RootSquare.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
1 Introduction to Flowcharting. 2 Writing a program Defining the problem –Write down what the program will do Planning –Write down the steps, draw a flowchart.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Art 321 Lecture 7 Dr. J. Parker. Programming In order to ‘make things happen’ on a computer, you really have to program it. Programming is not hard and.
Sentry System Multiple Sensors
LO: We’re learning to demonstrate the need for breaking down problems into smaller ones.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Title Slide Progress Report Name. Goal Goal Statement – ex. design/create/fabricate … - should be clear and short Needs/Problems – clear and short Space.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
The Marble Run Norwood Elementary Science Title- The Marble Run Purpose- What is a Prototype? Build an improvement.
Algorithms. Teacher Lead Activity What is an algorithm? Homework Recap!
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Algorithms and Flowcharts
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Creating Flowcharts Principles of Engineering
Creating a Flowchart Computer Integrated Manufacturing
Understand Problem Solving Tools to Design Programming Solutions
An Introduction to VEX IQ Programming with Modkit
Creating Flowcharts Name of PowerPoint CIM Name of Lesson
FLOWCHARTS Part 1.
Unit 1 Will people have robots
An Introduction to VEX IQ Programming with Modkit
7/14/16 CTC-RI IBH Pilot Quarterly Meeting
By Sanjay and Arvind Seshan
Using tools and the ‘Wait’ Block
Understand Problem Solving Tools to Design Programming Solutions
Touch Sensor.
Instructing the computer with algorithms and flowcharts
Creating Flowcharts Principles of Engineering
Lines G2-1 Students will:
Creating Flowcharts AIM:
Introduction to Flowcharts
Design and Technology Academic Year 2017/2018 Grade 7 First Semester.
Algorithms Today we will look at: what the word algorithm means
Creating Flowcharts Principles of Engineering
Creating Flowcharts Name of PowerPoint CIM Name of Lesson
An Introduction to VEX IQ Programming with Modkit
Beginner Programming Lesson
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 5.
Recap the basics Lesson 1.
An Introduction to VEX IQ Programming with Modkit
Using the sensor Lesson 5.
Do Now Heading: Practicing D = v*t
SENSORS.
My Take on the Largest Number Algorithm
Sumo: Stay in Ring Algorithm
Creating Flowcharts Name of PowerPoint CIM Name of Lesson
An Introduction to VEX IQ Programming with Modkit
Developing a Program.
Creating Flowcharts Principles of Engineering
Recap the basics Lesson 1.
Using the sensor Lesson 5.
My first robot programming - Simple “Go”
Flowcharts Activity One
Algorithms TASK Outcomes What is an algorithm?
Creating Flowcharts Principles Of Engineering
Creating Flowcharts Name of PowerPoint CIM Name of Lesson
Topic 4: Connecting and Starting Single Phase Motors
Presentation transcript:

Flow Diagrams Start End These are called termination blocks. They are naturally used at the beginning and end of a program. There is no prizes for guessing that we use the words “start” and “end” in them.

Flow Diagrams Add coffee Is the cup full? No Yes The next block is a rectangle which an action block. The action block is a doing block like a verb. So it could have “make a cup of tea”; “go forward”; “turn right” The next block is a decision diamond. A question is asked in the block. “Is the cup full?”; “Is the distance less than 1m?”; “Is there a high pitched sound?” Yes

Flow Diagrams Start Add coffee Is the cup full? No Yes Stop So now we can put it together to fill a cup. So here we start the process and fill the cup. We check “is the cup full?”. If yes we stop, no nasty spills. If no we loop back and continue to fill. Yes Stop

Flow Diagrams So here we start the process and fill the cup. We check “is the cup full?”. If yes we stop, no nasty spills. If no we loop back and continue to fill.

Flow Diagrams Drive Forward Is colour black? No Yes Start Reverse Turn left This is the flow diagram for keeping a robot in the Sumo ring. It starts by driving forward. Then it asks the question “is the colour black?”. If yes it continues driving forward. If no it reverses and turns

Flow Diagrams Start Lower fork lift Drive Forward Wait 3 s Lift fork lift Is the object within 20cm? Yes No This is the flow diagram for lifting the fork lift up if an object is within 20cm. We drive forward first. Then we check “is the object within 20cm”. If no loop round to the drive forward box and continue. If yes lift the fork lift up, drive forward for 3s and then lower the fork lift.

Flow Diagrams Driving Fork Lift Drive Forward Is the object within 20cm? No Yes Start Lift fork lift Wait 3 s Lower fork lift Drive Forward Is colour black? No Yes Start Reverse Turn left Computers are clever these days and can have separate commands which they run together. Write each of your control diagrams on separate sheets e.g. One flow diagram steering , one flow diagram for using the arms.

Challenge Points The more algorithms you describe the more points The decisions must make sense The actions must be the correct ones for yes and no You can draw your flow diagrams on an A3 piece of paper