Chapter 1: Introduction to Python Programming
Chapter 2: Organizing Python Programs
Chapter 3: Efficient Python Programming with Variables, Lists, and Functions
Chapter 4: Controlling Motors and Sensors with Python
Chapter 5: Gears and Mechanisms
Chapter 6: Moving with the Gyro Sensor
Chapter 7: Avoiding Obstacles and Following Lines
Chapter 8: Playing Games
Chapter 9: Useful Inventions
Chapter 10: Ultimate Challenges
Mastering LEGO® MINDSTORMS
You’ve learned the basics of LEGO® robotics, and now you’re ready for more. Mastering LEGO® MINDSTORMS teaches you everything you need to know to level up your robotics engineering skills, using examples compatible with the LEGO® MINDSTORMS Robot Inventor and SPIKE Prime sets. In no time, you’ll be programming autonomous robot vehicles, interactive games, LEGO® musical instruments, and more.
Rather than feature step-by-step instructions for building a handful of models, you’ll find essential information and expert tips and tricks for designing, building, and programming your own robotic creations. The book teaches the fundamentals of writing text-based code for your robots using the popular Python programming language; shows how to harness gears, linkages, and other mechanisms to create all kinds of motion; and explores sophisticated programming techniques for popular applications such as line following and obstacle avoidance, using both Python and Scratch-based Word Blocks. As you learn, loads of challenges and open-ended projects will inspire you to try out ideas.
"Mastering LEGO® MINDSTORMS is a great resource for robot builders or FLL teams to advance their skills!"
—Joe Meno, BrickJournal
"The informative text is as supportive as it is educational. . . . explain[s] robotics in a way that respects the reader while challenging them."
—Rosemary Kiladitis, Mom Read It
"Give[s] you great ideas to start coding [and] offers a lot of essential information for robot building and programming."
—Mariana Ruiz, GeekDad
"Very inspirational stuff in there . . . This does get me very excited about using MINDSTORMS!"
"I would recommend it for anyone who wants to take the LEGO MINDSTORMS creations or even the LEGO motorized machs to the next level."