Maker Education Manipulator A guest education robot
Lesson 6 Start of graphical programming
CONTENTS I. About graphical programming II. About Blockly III. First experience on Blockly IV. Skills competition V. Classroom summary
I. About graphical programming
Interaction What is programming?
1 1 Programming software What is the programming software? Communication 1
2 Graphical programming software Wipe out the complicated programming statements The building block type overlapping function module
II. About Blockly
1 1 Get familiar with Blockly main interface Program control area File editing area Manipulator point location information area Function module area Program editing area Operation log area Program code area
Blockly function module 2 功能模块化
III. First experience on Blockly
1 1 Example of Blockly program Task: Move the building block from area A to area B. Area A Area B Dobot manipulator
2 Program flow chart The gripper opens Move to the initial position of the building blocks The gripper closes to pick up the blocks Move to the target position of the building blocks The manipulator lifts, and the program ends 2
1 3 Example of Blockly program 1. Set the end clamp as the gripper 2. Set the gripper status 1 3 3. Gate-type movement 4. The manipulator lifts
IV. Skills competition
It is time to operate by yourself!
I control my manipulator Area A Area B Operation purpose: get familiar with Blockly graphical programming software. Operation task: move the building blocks from area A to area B. Dobot manipulator
Program example
V. Classroom summary
Summary What have we learned in this lesson? - Graphical programming interface - Basic function of each functional module of Blockly - General programming flow - Operation of the corresponding functional modules for handling the blocks - Start of graphical programming design
THANK YOU