Join Olivia Stone for an in-depth discussion in this video Follow a line, part of Learning Lego Mindstorms.
- [Voiceover] I want to create a program,…to make my Robot follow a black line for five seconds.…When I say follow a line,…you're probably imagining a nice, smooth, motion…like a robot in movies.…But that not how Mindstorms works,…it's gonna look more like a waddling duck.…The color sensor only sees a small area at a time.…So it won't be able to give the robot…enough information about the whole path…to make perfectly smooth movements.…Imagine if you needed to follow…a narrow black line on the ground.…
And you can only look directly downwards,…This is the view you would have…My Robot will pivot using one motor…to look for the black line.…Once it finds the black line,…it will pivot using the other motor,…to move away from the black line…until it doesn't see it anymore.…It will repeat this process,…over and over again.…Since the motors are always turning forwards,…the Robot as a whole…will waddle forwards following the line.…For this video,…I've replaced the IR sensor on my tracker Robot,…with the color sensor pointing…
Learn how to unpack the hardware, connect to the programming interface, run prebuilt programs, and control the motors and sensors. Chapter 6, "Adding Flow to a Program," covers advanced programming topics such as transferring data between blocks, using variables to store temporary data, programming conditional logic, and looping actions to run again and again. By the end of the course, you'll have the skills to bring your own robotic creations to life.
- Installing the LEGO Mindstorms software
- Exploring the programming interface
- Connecting to the EV3 brick
- Downloading and running prebuilt programs
- Coordinating motor movement
- Calibrating the sensors
- Transferring data with data wires
- Adding logic with switch blocks
- Looping actions
- Troubleshooting problems with LEGO Mindstorms
- Broadcasting sounds and displaying images
- Updating LEGO Mindstorms
Skill Level Beginner
1. Getting Started
3. Explore a New Project
4. Connect with the EV3 Brick
5. Program Movement and Sensing
6. Adding Flow to a Program
7. Document Your Work
8. Troubleshoot Problems
9. Extra Tools
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.