Programming LEGO® EV3 My Blocks (eBook)
XIX, 136 Seiten
Apress (Verlag)
978-1-4842-3438-9 (ISBN)
Program Lego® My Blocks to accurately perform navigation functions on competition mats, such as moving forward and backward quickly and precisely, turning, following walls, and following lines. This book features extensive illustrations help to bring each step and concept to life so that you can easily follow along.
You'll start by moving your creations forward and backward accurate distances while maintaining directional accuracy. You'll then build My Blocks to turn left and right at precise angles. After that you're creations will be ready to find, follow, and otherwise use lines on the mat to improve navigation accuracy. Finally, you'll delve into using game board border walls to navigate and advanced topics, such as handoffs at speed and accelerating/decelerating to enable higher speed while maintaining navigation accuracy.
This book addresses EV3 programming in the specific context of FLL® competition. With Programming Lego® EV3 My Blocks, you will be game-ready to manage the season, prepare for competition, and compete!
What You'll Learn
- Construct and use My Blocks to improve robot performance in the FLL® Robot Game
- Develop basic programming skills, including feedback, troubleshooting techniques, and unit conversion
- Comment programs appropriately to note errors and consistency
Program Lego(R) My Blocks to accurately perform navigation functions on competition mats, such as moving forward and backward quickly and precisely, turning, following walls, and following lines. This book features extensive illustrations help to bring each step and concept to life so that you can easily follow along. You'll start by moving your creations forward and backward accurate distances while maintaining directional accuracy. You'll then build My Blocks to turn left and right at precise angles. After that you're creations will be ready to find, follow, and otherwise use lines on the mat to improve navigation accuracy. Finally, you'll delve into using game board border walls to navigate and advanced topics, such as handoffs at speed and accelerating/decelerating to enable higher speed while maintaining navigation accuracy.This book addresses EV3 programming in the specific context of FLL(R) competition. With Programming Lego(R) EV3 My Blocks, youwill be game-ready to manage the season, prepare for competition, and compete!What You'll Learn Construct and use My Blocks to improve robot performance in the FLL(R) Robot Game Develop basic programming skills, including feedback, troubleshooting techniques, and unit conversion Comment programs appropriately to note errors and consistencyWho This Book Is For The book is targeted at the many FLL(R) coaches, mentors, and students who need help with programming the EV3, as well as the students they coach. A secondary audience is teachers who want to use the EV3 to teach programming concepts.
Gene L. Harding is an associate professor of Electrical and Computer Engineering Technology at Purdue University, where he has taught since 2003. He has three years of industrial experience with Agilent Technologies, 28 years of combined active and reserve service in the United States Air Force, holds an MSEE from Rose-Hulman Institute of Technology, and is a licensed professional engineer. He has coached FLL teams for 5 years in a highly competitive region, and has gone to the state tournament four of those years. Recently, his team placed second in the state out of 52 teams and qualified for the international tournament at Legoland, where his team placed third in the Robot Game out of 72 teams from all over the world.
Table of Contents 5
About the Author 8
About the Technical Reviewer 9
Preface 10
Acknowledgments 15
Chapter 1: Concepts and Common Tasks 16
My Blocks, or Subroutines 16
Feedback 17
Troubleshooting 17
Unit Conversion 18
Motor and Color Sensor Matching 19
Levels of Complexity 20
Commenting and Program Development 20
Errors and Consistency 21
Resetting the EV3 Brick 22
Updating the Firmware 22
Conclusion 23
Chapter 2: Getting Started with the EV3 24
Education vs. Home Editions 24
The Programming Interface 25
Simple Program to Play Sounds and Flash Lights Run Selected, Download and Run from PC
Simple Program to Move Forward and Backward Download from PC, Run from Brick
Making a My Block 38
Working in the Project Properties Window 42
Conclusion 42
Chapter 3: Moving Forward and Backward 43
Simple My Block to Move Forward a Specified Distance 43
Eliminating the “Wiggle” Using a Gyro Sensor 49
Conclusion 56
Chapter 4: Turning in Place 57
Turning Left and Right 59
Spinning Left and Right 62
Conclusion 64
Chapter 5: Using Lines 66
Calibrating the Color Sensor 68
Finding a Black Line 72
Following a Black Line 75
Finding Black Line Intersections (Ts and Ls) 80
Squaring Up on Lines 83
Conclusion 85
Chapter 6: Using Walls 86
Squaring Up on a Wall 86
Following a Wall Without Touching It 88
Following a Wall by Leaning Against It 91
Conclusion 92
Chapter 7: Advanced Topics 93
Handoffs: Continuing at Speed When the My Block Ends 93
Accelerating and Decelerating Using Forward3 My Blocks 99
Accelerating and Decelerating with a Single My Block 102
Adding Handoffs to LineFind 122
Combo Program 126
Conclusion 129
Chapter 8: Final Thoughts 130
Robot Game 130
The Judging Rooms 132
General Notes 137
Glossary 140
Index 144
Erscheint lt. Verlag | 24.3.2018 |
---|---|
Zusatzinfo | XIX, 136 p. 90 illus., 81 illus. in color. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Kinder- / Jugendbuch ► Sachbücher ► Naturwissenschaft / Technik |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Informatik ► Weitere Themen ► Hardware | |
Technik ► Maschinenbau | |
Schlagworte | Design • EV3 • LEGO • Motor • My block • Navigation • programming • robot • Robotic engineering • Sensor • Teaching |
ISBN-10 | 1-4842-3438-3 / 1484234383 |
ISBN-13 | 978-1-4842-3438-9 / 9781484234389 |
Haben Sie eine Frage zum Produkt? |
![PDF](/img/icon_pdf_big.jpg)
Größe: 8,2 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich