Lesson 6 Programming Mindstorms EV3 PDF

Document Details

EngagingMoldavite5327

Uploaded by EngagingMoldavite5327

Parañaque National High School - Main

Tags

EV3 programming robotics programming blocks education

Summary

This document describes different types of blocks used in EV3 programming, including their functions and categorizations. It explains how these blocks are used to create programs for robots. The lesson is focused on programming concepts appropriate for secondary school students.

Full Transcript

algorithms Algorithm is a detailed step-by-step instruction set or formula for solving a problem or a completing a task. flowcharts Flowcharts represents algorithms in a graphical manner based on shapes as oval, parallelogram, square and diamond. pseudocode Pseudocode is an informal way...

algorithms Algorithm is a detailed step-by-step instruction set or formula for solving a problem or a completing a task. flowcharts Flowcharts represents algorithms in a graphical manner based on shapes as oval, parallelogram, square and diamond. pseudocode Pseudocode is an informal way to represent algorithm in a narrative manner. programming Programming is the process of creating a set of instructions (called code) that a computer can follow to perform specific tasks or solve problems. It involves writing, testing, debugging, and maintaining code using programming languages. Ev3 classroom It is a programming platform designed to work with the LEGO Education Mindstorms EV3 robotics kit. It provides a block-based coding environment based on Scratch, making it accessible and user-friendly for students, especially beginners. EV3 Classroom is widely used in classrooms to teach STEM concepts, robotics, and coding. blocks Blocks are puzzle-shaped pieces that are used to create Mindstorms EV3 programs. The blocks are connected to each other vertically like jigsaw puzzle, so the program runs from the top to the bottom a series of connected blocks is called stack. Types of blocks Hat Blocks Stack Blocks HAT BLOCK STACK BLOCK Boolean Blocks Reporter Blocks C Block BOOLEAN BLOCK REPORTER BLOCK Cap Block CAP BLOCK C BLOCK HAT BLOCKS A block that starts a program when a specific event occurs. All the hat blocks are from the Event blocks categories. stack BLOCKS A block that is shaped to fit above and below other blocks. Stack blocks make up the majority of the blocks available in the EV3 classroom block palette, being available in almost all categories. reporter BLOCKS A block that reports a sensor, motor, variable readings/values the to the programs. Values could be anything from strings and numbers to sensor readings. boolean BLOCKS A block that reports Boolean values. When block is used, it acts as a reporter block, reporting “true” or “false” values or “1” and “0”. C BLOCKS A block that is shaped like a letter “C”, so other blocks can fit inside it. All C blocks belongs to the control category. Cap BLOCK A block that is designed to stop the stack or the whole program which it is plugged into. There is only one cap block in the EV3 classroom software which you can find the control category. Blocks categories 10 categories/group of blocks. Blocks are categorized based on their functionality. Blocks with the same category share the same color BLOCK categories Motor Block – are the blue colored blocks at the top of the block palette, these blocks are responsible for controlling the EV3 motors (one EV3 motor at a time) and getting motors readings. There are a total of 11 blocks; 9 stack blocks and 2 reporter blocks. Movement Block– are the second category in the blocks palette that have a pink color code, these blocks are responsible for controlling two EV3 motors at a time, usually the base motors in robot vehicles. There are a total of 11 stack blocks. BLOCK categories Display Block– are responsible for controlling the EV3 Status light, and display screen. In the display block category, there are a total of 6 stack blocks. Sound Block– are responsible for controlling the sound effects generated by the EV3 brick. In the sound block category, there are a total of 6 stack blocks. BLOCK categories Event Blocks – are responsible for starting a stack or a program when a specific event occurs and broadcasting messages. In the event blocks category, there are a total of 6 blocks Control Blocks – are responsible for controlling the flow of the program, as it includes structures, loops and conditions. There are a total of 9 blocks; 3 stack blocks and 5 C blocks, and 2 cap blocks. BLOCK categories Sensor Blocks – are responsible for reading and comparing the sensors values in the sensor blocks category. There are a total of 24 blocks; 7 Boolean blocks, 8 reporter blocks, and 9 stack block. Operator Block– are responsible for performing mathematical calculations, strings, operations, and comparing numeric values. There are a total of 16 blocks; 10 reporter blocks, and 6 Boolean blocks BLOCK categories Variable Blocks – when starting a new project there won’t be any blocks in this category, but you can use the tools their to create variables (store values) and arrays (store list). My Blocks– is a way to build your own blocks within he EV3 classroom app. It consist of one or more programming blocks and combines them into a single customized block which is then added to the red colored My Blocks category.

Use Quizgecko on...
Browser
Browser