From the course: Learning Lego Mindstorms
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Program your robot to move - Mindstorms Tutorial
From the course: Learning Lego Mindstorms
Program your robot to move
- [Voiceover] To demonstrate programming a motor to move my robot, I've created a new empty project called 05_02_Motors_Start. To move one large motor, I'll use the large motor block from the Actions pallet, and place it next to the start block. I'll configure this block to work with motor C. By default, this large motor block is set to turn the motor a specific number of rotations. But there are four other motors that it can use. In the On for Rotations Mode, I'll need to set the Power, Rotations, and Break at End inputs. The values shown here are the defaults for the inputs, and be used unless I specify a different value. The power input is a value between 100 and negative 100 that indicates the power level at which to rotate the motor. To figure out which way a positive or negative value will make the motor turn, I'll look at the Help documentation. (mouse clicks) While hovering over the large motor block, the information in the context Help updates to show me a brief description…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.