Programming 1 ContentObjective Learn initial programming basics LanguageObjective
Programming 1 Content-Objective: Learn initial programming basics. Language-Objective: Create a program specification table and flow charts using Microsoft Office.
Programming 1 Utah State Electronics Core 470107 Utah State Robotics Core 210117 Common Core High School Algebra Reasoning Common Core High School Interpreting Functions
Starter Task Draw Your own (1) Program Specification Chart (2) Standard Flow Chart Symbols
Program Specification Chart A chart used to specify the hardware and software input, output, calculation and storage tasks done within a program
Program Specification Table Processor Main Input Main Output Switches Hardware Input Routines Output Routines Calculatio ns Variables Example Blank Table Other
Flow-Chart A set of symbols used to show information within a computer program is obtained and manipulated.
Standard Flow Chart Symbols Start-Stop (terminator)
Standard Flow Chart Symbols Decision
Standard Flow Chart Symbols Process Block
Standard Flow Chart Symbols Manual Data Input
Standard Flow Chart Symbols Data Processing
Main Class Task 1 Create a Program Specification Chart in Microsoft Word for a Robot control program. The robot will have to monitor control input signals (direction) and control the left and right motors to move and navigate.
Program Specification Table Hardware Input Routines Processor Main Input Main Output Switches Other input Arduino Vex Joystick buttons Sensors Read Joystick Output Routines Calculation Motor Control Left-Right Motor control Direction Variables Example Filled Table
Main Class Task 2 Create a flow chart for Robot control program. Think of everything the program must do to perform the task specified.
Example Flow Chart (Control Input)
Lab Instructions (1) Using Microsoft Word Create a Program Specification Table (see example) use command “insert (tab)”, “table” (5 rows, 6 columns) in Word then fill in details. (2) Add a basic flow chart for controlling the robot to the word document. Flow chart symbols are located under “insert (tab)”, “shapes” (3) Flow chart must show joystick input monitoring, left motor control, and right motor control at a minimum. (4) Save file using your name as the file name. (5) Submit using Canvas. See Module “Programming” and assignment submission link “Lab 1: Program specification table and flow chart”
Creating a Table in Word
Flow Chart Symbols in Word
Submit assignment using Canvas
- Slides: 19