Exploring LEGO Mindstorms EV3: Tools and Techniques for Building and Programming Robots
Eun Jung Park
Format: PDF / Kindle (mobi) / ePub
The essential guide to building and programming LEGO EV3 interactive robots
Exploring LEGO Mindstorms: Tools and Techniques for Building and Programming Robots is the complete guide to getting the most out of your LEGO Mindstorms EV3. Written for hobbyists, young builders, and master builders alike, the book walks you through fundamentals of robot design, construction, and programming using the Mindstorms apparatus and LEGO TECHNIC parts. Tap into your creativity with brainstorming techniques, or follow the plans and blueprints provided on the companion website to complete projects ranging from beginner to advanced.
The book begins with the basics of the software and EV3 features then lets you get to work quickly by using projects of increasing complexity to illustrate the topics at hand. Plenty of examples are provided throughout every step of the process, and the companion website features a blog where you can gain the insight and advice of other users. Exploring LEGO Mindstorms contains building and programming challenges written by a recognized authority in LEGO robotics curriculum, and is designed to teach you the fundamentals rather than have you follow a "recipe."
- Get started with robot programming with the starter vehicle, Auto-Driver
- Explore the features of the EV3 brick, a programmable brick
- Design robot's actions using Action Blocks
- Incorporate environmental sensors using Infrared, Touch, and Color sensors
- Expand the use of data in your program by using data wires with Sensor Blocks
- Process data from the sensors using Data Operations Blocks
- Using Bluetooth and WiFi with EV3
- Build unique EV3 robots that each presents different functions: the Spy Rabbit, a robot that can react to its surroundings; a Sea Turtle robot, Mr. Turto; the Big Belly Bot, a robot that eats and poops; and a Robotic Puppy Guapo
- Discover ideas and practices that will help you to develop your own method of designing and programming EV3 robots
The book also provides extensive programming guidance, from the very basics of block programming through data wiring. You'll learn robotics skills to help with your own creations, and can likely ignite a lasting passion for innovation. Exploring LEGO Mindstorms is the key to unlocking your EV3 potential.
of the starting gun before she can spring forward and pass the baton to the next runner. The Start block is essentially the starting gun for your program. The next blocks in line from the Start block will be waiting to run through their instructions until the Start block begins the program. No one will run without the sound of the starting gun, and so nothing will happen without the Start block. Again, in a relay race, only the assigned runners on the track get to run, not everyone else who is
(equal), � (not equal), > (greater than), ≥ (greater than or equal to), < (less than), and ≤ (less than or equal to). Figure 6.4 shows how they appear on the block. Figure 6.4 The compare type and the threshold value inputs in the Compare mode You can apply the basics of the Compare mode covered in this section in various programming blocks, especially when you use sensors. So, you need to understand what the threshold is and how the comparison is evaluated. The Change Mode in the Wait Block
pressed?” You can design different cases for each answer. See the example in Figure 6.27. Figure 6.27 The Brick Buttons – Measure mode When the program sees the Switch block, it asks which brick button is pressed. If it runs an examination with the incoming values and button 1 is pressed, it will run the program in case 1. If button 2 is pressed, the program in case 2 will be executed. If button 3 is pressed, the program in case 3 will be run. What if no button is pressed? In that case, the
example in Figure 12.18, the True case will be only when the touch sensor is pressed and the color sensor doesn't see red, or the touch sensor is not pressed and the color sensor sees red. See the summary of the True/False cases in Figure 12.20. Figure 12.20 The True/False results from the Logic Operations block with the Or mode Not Mode Unlike other modes, Not mode has only one input. This mode processes one True/False statement to see whether it delivers the True value or False value. As the
this My block, there should be only three blocks on the canvas: the Start block, Standing block, and Eating block. Isn't it neat? This is the power of the My block. Action 3 – Pooping: Bend Over, Open the Back End, Poop, and Shake the Body The programming that we have written will let Big Belly Bot know when he is full. Now, let's make him release the food from his belly. The pooping action starts with him bending his body forward slightly. It can be done with the Steering block that moves both